summaryrefslogtreecommitdiffhomepage
path: root/templates/basic_game/basic_game.c
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2017-03-06 09:47:08 +0100
committervictorfisac <[email protected]>2017-03-06 09:47:08 +0100
commitf9277f216372179560c560427beccdd2e5c5d094 (patch)
tree8d3858c978f2b36ea8912f25e3cbe6fa56952aff /templates/basic_game/basic_game.c
parentce56fcb1eda06385b88c1a906f0968d742ff8130 (diff)
parentc05701253e0a4eda211a0d7ced74ae29d6585917 (diff)
downloadraylib-f9277f216372179560c560427beccdd2e5c5d094.tar.gz
raylib-f9277f216372179560c560427beccdd2e5c5d094.zip
Merge remote-tracking branch 'refs/remotes/raysan5/master'
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
+}