diff options
| author | raysan5 <[email protected]> | 2017-03-05 19:17:05 +0100 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2017-03-05 19:17:05 +0100 |
| commit | aaf9c648d3de5454878531d44abd3c8a663af769 (patch) | |
| tree | 8d3858c978f2b36ea8912f25e3cbe6fa56952aff | |
| parent | d1c9afd1d8ae4ae3e075b117fff7a5a77f3c4d60 (diff) | |
| parent | 47e3fbfc12cf39d611c366727127662cd66edc5d (diff) | |
| download | raylib-aaf9c648d3de5454878531d44abd3c8a663af769.tar.gz raylib-aaf9c648d3de5454878531d44abd3c8a663af769.zip | |
Merge branch 'develop' of https://github.com/raysan5/raylib into develop
| -rw-r--r-- | docs/images/raylib_game_loop_full.png | bin | 0 -> 24705 bytes | |||
| -rw-r--r-- | templates/basic_game/basic_game.c | 18 |
2 files changed, 9 insertions, 9 deletions
diff --git a/docs/images/raylib_game_loop_full.png b/docs/images/raylib_game_loop_full.png Binary files differnew file mode 100644 index 00000000..3baab2a6 --- /dev/null +++ b/docs/images/raylib_game_loop_full.png diff --git a/templates/basic_game/basic_game.c b/templates/basic_game/basic_game.c index 990552c8..57e7b222 100644 --- a/templates/basic_game/basic_game.c +++ b/templates/basic_game/basic_game.c @@ -8,7 +8,7 @@ * This game has been created using raylib v1.2 (www.raylib.com) * raylib is licensed under an unmodified zlib/libpng license (View raylib.h for details) * -* Copyright (c) 2014 Ramon Santamaria (Ray San - [email protected]) +* Copyright (c) 2014 Ramon Santamaria (@raysan5) * ********************************************************************************************/ @@ -28,17 +28,17 @@ int main() //-------------------------------------------------------------------------------------- const int screenWidth = 800; const int screenHeight = 450; - const char windowTitle[30] = "<game name goes here>"; - - GameScreen currentScreen = LOGO; + const char windowTitle[30] = "<game name goes here>"; InitWindow(screenWidth, screenHeight, windowTitle); - + + GameScreen currentScreen = LOGO; + // TODO: Initialize all required variables and load all required data here! - int framesCounter = 0; // Used to count frames - - SetTargetFPS(60); + int framesCounter = 0; // Useful to count frames + + SetTargetFPS(60); // Set desired framerate (frames-per-second) //-------------------------------------------------------------------------------------- // Main game loop @@ -149,4 +149,4 @@ int main() //-------------------------------------------------------------------------------------- return 0; -}
\ No newline at end of file +} |
