Added Scene Loading and Program Settings
This commit is contained in:
parent
881e6c70f2
commit
1bad863c5b
13 changed files with 91 additions and 43 deletions
12
program.cpp
12
program.cpp
|
|
@ -3,7 +3,17 @@
|
|||
int main()
|
||||
{
|
||||
|
||||
asloengine::init(new asloengine::SceneDefault());
|
||||
asloengine::Settings settings
|
||||
{
|
||||
640, // Resolution X
|
||||
480, // Resolution Y
|
||||
24, // Bit Depth
|
||||
60, // Max Framerate
|
||||
true, // Vsync Enabled
|
||||
false // Fullscreen Enabled
|
||||
};
|
||||
|
||||
asloengine::init(new asloengine::SceneDefault(), settings);
|
||||
|
||||
asloengine::start_main_game_loop();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue