spacebake / Loungeware

A Warioware-style collaboration game
https://loungeware.games/
22 stars 39 forks source link

Dev Config Refactor #73

Closed net8floz closed 3 years ago

net8floz commented 3 years ago

As a new developer I want to be able to easily get involved with making microgames and not have to deal with setting up a external json file for testing my games. I want to be able to use in-game commands or menus to enter dev mode and to select a particular game to test.

As a git maintainer I want to ensure that devs are able to set up different configurations without bogging down git history or creating conflicts. Common pitfalls include registering in-ide configs and git ignored configs in included files.

Prerequisite is that in the game now there is a concept of a "Shipping" macro config, this is what we use in game to disable dev only menus or features from final shipping builds and should be used here.

Prerequisite it is possible to figure out if the user is IN IDE by parsing the process arguments for -game.

The solution looks like this:

If dev mode is enabled

If dev mode is not enabled

All these ideas allow the new developer to be mostly hands off on configuration, and they just need to interact with menus.

spacebake commented 3 years ago

it's britney bitch!