jakubg1 / OpenSMCE

Game engine which allows creating a broad range of marble popper games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Console improvements

jakubg1 opened this issue · comments

The console available in Ctrl+` is currently in a bad state. Most of the commands do not work anymore, some even crash the game. A console rework is planned. New features should include:

  • Command history
  • Scrollable console history
  • Cursor positioning (i.e. to add something in the middle)
  • A whole new slew of commands
  • Command autofill and hints
  • Command syntax changed to function call-like (for example, setLives(3))
  • And probably more...

Example commands:

  • collectible <name> - Spawn a collectible
  • setlives <count> - Set the amount of lives on a player
  • setcoins <count> - Same but for coins
  • setscore <count> - ditto
  • setdiff <difficulty> - Set the difficulty
  • warp <level> - Immediately load a level and play it (omit level sequences? to be seen)