Removing the select player screen

Started by xglichtrapx, May 11, 2023, 07:09:33 PM

Previous topic - Next topic
Hi all is there a way to remove the select player screen? For instance in the sample quest it goes straight from the title screen and directly to the start of the game.

May 19, 2023, 06:40:47 PM #1 Last Edit: May 19, 2023, 06:45:17 PM by PhoenixII54
Yes. In fact, the bare minimum required to start a game is : open main.lua, and in the solarus starting function, create a game object, setup starting point/HP/whatever you need at game start, and start the game. hints :; game:start() --> More info in the documentation page here. That's what file selection menus do, but in a more visual -and enhanced- way.