EmergentOrganization / cell-rpg

:black_square_button: connect to a universe where cellular automata have run rampant
http://emergentorganization.github.io/bridge/
Other
12 stars 1 forks source link

devMode toggle #62

Closed 7yl4r closed 9 years ago

7yl4r commented 9 years ago

we need to "turn off" or else remove dev features in the release. We could have "release branch" in which we can remove dev features, else we need to set up some way of toggling on "devMode" after starting up the game.

devMode features not included in release of v1:

Thoughts?

BrianErikson commented 9 years ago

I'm going to claim a bit of this and write a class to read and write to a config.txt file so we can toggle it there

BrianErikson commented 9 years ago

I ended up using Gdx.App.Preferences for the cross-platform compatibility. Use CellRpg.fetch().isDevModeEnabled() to get the state.

We still need to put this to use and show/hide things depending on the state though, so I'll leave this open for now