Skip to content

Instantly share code, notes, and snippets.

@andraantariksa
Last active February 3, 2020 15:57
Show Gist options
  • Save andraantariksa/3c9c403257957a585b832c8a495151cd to your computer and use it in GitHub Desktop.
Save andraantariksa/3c9c403257957a585b832c8a495151cd to your computer and use it in GitHub Desktop.
[workspace]
name = "MyGame"
[workspace.assetmanager]
installmode = "local"
required = [
"shaderboi.coolshaders",
"shaderboi.coolshadersv2"
]
[[workspace.projects]]
name = "MyGame"
type = "GameProject"
srcfiles = [
"MyGame/*.cpp",
"MyGame/*.hpp"
]
target = [ "android", "pc-win32", "ps4", "xbox1" ]
[[workspace.projects]]
name = "MyGame2"
type = "GameProject"
srcfiles = [
"MyGame2/*.cpp",
"MyGame2/*.hpp"
]
target = [ "pc-win32" ]
[author]
name = "Some corps"
#include <Hx/Hx.hpp>
int main()
{
gameData = Hx::GameDataBuilder::Default()
.With()
.Build();
game = Hx::Game::Create()
.WithFrameLimit(
FrameLimitStrategy::SleepAndYield(2)
)
.Guild(game);
game.run(); // Run the game main loop
return 0;
}

Hexagon Engine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment