Просмотр исходного кода

Merge branch 'develop' of https://github.com/raysan5/raylib into develop

pull/238/head
raysan5 8 лет назад
Родитель
Сommit
aaf9c648d3
2 измененных файлов: 9 добавлений и 9 удалений
  1. Двоичные данные
      docs/images/raylib_game_loop_full.png
  2. +9
    -9
      templates/basic_game/basic_game.c

Двоичные данные
docs/images/raylib_game_loop_full.png Просмотреть файл

До После
Ширина: 1280  |  Высота: 720  |  Размер: 24 KiB

+ 9
- 9
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 (n">Ray San - raysan@raysanweb.com)
* Copyright (c) 2014 Ramon Santamaria (err">@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;
}
}

Загрузка…
Отмена
Сохранить