Update basic_game.c

This commit is contained in:
Ray 2017-03-05 15:59:59 +01:00 committed by GitHub
parent b347c35ef4
commit 47e3fbfc12

View File

@ -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 - raysan@raysanweb.com)
* Copyright (c) 2014 Ramon Santamaria (@raysan5)
*
********************************************************************************************/
@ -30,15 +30,15 @@ int main()
const int screenHeight = 450;
const char windowTitle[30] = "<game name goes here>";
GameScreen currentScreen = LOGO;
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
int framesCounter = 0; // Useful to count frames
SetTargetFPS(60);
SetTargetFPS(60); // Set desired framerate (frames-per-second)
//--------------------------------------------------------------------------------------
// Main game loop