summaryrefslogtreecommitdiffhomepage
path: root/templates/basic_game/basic_game.c
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2017-03-06 09:40:04 +0100
committervictorfisac <[email protected]>2017-03-06 09:40:04 +0100
commit9261c3b8dc03d093bff5246a18ad9310ae8eaeb3 (patch)
treeaf87165723ac563ee1a7e1c605c7a4df821d74ea /templates/basic_game/basic_game.c
parente8630c78d069a1cba50b1a78108663ebc19e5b9b (diff)
parentb734802743f2089c8d649b27aea48ab71fa653b3 (diff)
downloadraylib-9261c3b8dc03d093bff5246a18ad9310ae8eaeb3.tar.gz
raylib-9261c3b8dc03d093bff5246a18ad9310ae8eaeb3.zip
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'templates/basic_game/basic_game.c')
-rw-r--r--templates/basic_game/basic_game.c18
1 files changed, 9 insertions, 9 deletions
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
+}