Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debug tools for faster testing #33

Open
NathanLovato opened this issue Mar 3, 2020 · 0 comments
Open

Add debug tools for faster testing #33

NathanLovato opened this issue Mar 3, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@NathanLovato
Copy link
Contributor

We could use some tools to test the game faster, e.g. a developer's panel with some switches and buttons. Here are the problems I've had:

  1. It takes time to navigate around the map just to encounter pirates or find asteroids to dock on
  2. We have to mine and/or unload to the station to test upgrades
  3. We need to stop and restart the game to regenerate the map
  4. We need to restart the game to tweak the player's stats and balance the game

Suggestions for tools

Have a debug mode setting to unlock the debug tools.

1. Navigation and stats

  • Have a list of sliders or fields to increase and tweak the player's stats
  • Have a button and/or shortcut to enter a debug state for the player, move the ship by clicking around or with the arrow keys. Like we have in Hook!. The state should probably only work from flying/base movement and not when docked or other.

2. Testing upgrades

Have a button to unlock upgrades instantly

3. Testing the map generation

Have a button to regenerate the map?

4. Balancing player base stats

For this one I don't know. Changing values in the Stats resource on the player doesn't seem to reload ingame. It should ideally work with the inspector, but I'm not sure how to make it work. It might be due to the way I implemented the stats.

If there's no way to make hot reload work, at least we can have sliders to play with values in a dev panel.

@NathanLovato NathanLovato added the enhancement New feature or request label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant