1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
using.EGPL; //Declare that you will be using this common sense stuff that's not even real. Haha.
#include genre.("genre goes here") //Declares the genre which will make it easier for you to build your game quicker, examples include fps, platformer, puzzla, rpg
#include keyboard; //Allow input from the user's keyboard
#include mouse; //Allow input from the user's mouse
#include audio_input; //Allow input from the user's microphone
#include speakers; //Allow your game to output sounds
#include graphics; //Allow your game to draw graphics to the screen. Hahah
#include 2d; //Declares that the graphics will render in 2d, also works the same way with 3d "#include 3d;"
int Game
{
//Properties
Title = ; //Declare the title of the window
WindowWidth = ; //Declare window width
WindowHeight = ; //Declare widnow height
WindowResize = "T/F" ; //Use T or F to allow the user to resize game window
WindowMini ="T/F" ; //use T or F to allow the user to minimize the game window
WindowFullscreen = "T/F" ; //Use T or F to allow overide height and width to set to fullscreen, if you want fullscreen just set Width and Height to 0.
//Graphics General
Graphics.Dir = "folder location"; //Declare the location of where you will pull the graphics from
Graphics.Lib = "png, jpg, gif, gmp"; //Declare the type of graphic filetypes you will be using
//Declaring Graphics
Graphic.type.texture = "texture name"; //Declare a new texture, it's like saying "int x = 0;"
//Draw Graphics
Graphics.draw."texture name"(x, y, z); //Declare the x, y, z position of the texture
//Functions
//Game Variables
return 0;
}
|