Sha256: 5a5f217e9ae7b24ca432b54fe326ffcb0924bbca7ed48ee88a47dc81b6f74063
Contents?: true
Size: 503 Bytes
Versions: 1
Compression:
Stored size: 503 Bytes
Contents
game = {} # Replace this with your state name, an example would be :main_menu # if you had a MainMenuState game[:start_state] = :main_menu game[:media] = ["app/media"] # Here you can setup how you would like the window to act. # DISCL_NONEXCLUSIVE means the mouse and keyboard are not bound to your program. game[:window] = { "w32_mouse" => ["DISCL_FOREGROUND", "DISCL_NONEXCLUSIVE"], "w32_keyboard" => ["DISCL_FOREGROUND", "DISCL_NONEXCLUSIVE"] } Shatter::GameLoader.instance.environment=game
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shattered_ruby-0.5.1 | lib/templates/environments/environment.rb |