Created
September 20, 2025 00:57
-
-
Save MidnytRaccoon/bc39255c9871eebda821d44aeb85c083 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Raylib_cs; | |
| using System.Drawing; | |
| using System.Numerics; | |
| public struct windowSize | |
| { | |
| public int width; | |
| public int height; | |
| } | |
| class Program | |
| { | |
| static void Main() | |
| { | |
| windowSize gameSize = new windowSize { width = 1280, height = 720 }; | |
| Raylib.InitWindow(gameSize.width, gameSize.height, "Insaniquarium Clone"); | |
| Raylib.SetTargetFPS(60); | |
| GameHandler game = new GameHandler(gameSize.width, gameSize.height); | |
| while (!Raylib.WindowShouldClose()) | |
| { | |
| Raylib.BeginDrawing(); | |
| Raylib.ClearBackground(Raylib_cs.Color.White); | |
| game.Update(); | |
| Raylib.EndDrawing(); | |
| } | |
| Raylib.CloseWindow(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment