Fangames > Programming Questions

How to Change starting room in Seph engine?

(1/1)

Cuddles:
Title asks what I what to know.

BaronBlade:
In all fangame engines I've worked with, there's a script called something like set_globals. You should be able to change the starting room there.

YoSniper:
If nothing else, the game ALWAYS starts in the first room in the Rooms folder. Most engines I've seen lately have the first room in a folder labeled "00 - something" so that when you sort the Rooms folder by name, that folder always stays at the top.

L4Vo5:
I think most engines use a menu selection screen as the first room, so changing that might bring some serious problems

pieceofcheese87:

--- Quote from: L4Vo5 on April 26, 2016, 12:06:48 AM ---I think most engines use a menu selection screen as the first room, so changing that might bring some serious problems

--- End quote ---

Pretty sure it's always either an "init" room or just the title screen.

Anyway, since nobody else has actually answered your question, there are several menu control objects in the controller folder. One of them has the difficulty select which will bring you to the starting room, there's a variable "r" that it sets on creation.

Navigation

[0] Message Index

Go to full version