Author Topic: Removing the select player screen  (Read 100 times)

0 Members and 1 Guest are viewing this topic.

xglichtrapx
  • Newbie
  • *
  • Posts: 2
    • View Profile
Removing the select player screen
« on: May 11, 2023, 07:09:33 PM »
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.

PhoenixII54

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
Re: Removing the select player screen
« Reply #1 on: May 19, 2023, 06:40:47 PM »
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 : sol.game.load; game:start() --> More info in the documentation page here. That's what file selection menus do, but in a more visual -and enhanced- way.
« Last Edit: May 19, 2023, 06:45:17 PM by PhoenixII54 »