View Issue Details

IDProjectCategoryLast Update
0009953Shattered HavenGameplay IdeaFeb 17, 2013 7:30 pm
ReporterGameMaker24 Assigned ToChris_McElligottPark  
Status assignedResolutionreopened 
Summary0009953: New argument for Level script command - Sub-level
DescriptionI'm using the Level command to warp from the 2nd tutorial (095) back to the first level (001) but I want gameplay to begin on sub-level B. I tried using the SUBLEVEL function for this on 001 MAIN, but it's not a valid PRELOAD command, so the player will appear in MAIN until a step is taken, and then the warp to B can occur.

Can we add an argument to the Level command that specifies which sub-level to start on?
TagsNo tags attached.
Internal WeightFeature Suggestion

Activities

GameMaker24

Nov 25, 2012 7:06 pm

manager   ~0029065

I'm leaning more toward the other approach, which is actually making a SUBLEVEL command that can run during PRELOAD. The reason for this is that, after the tutorial, if the player dies while leaving 001 (which is not the heavily modified 094), game play will revert to MAIN instead of B where the post-tutorial starts.

(I may have to jump the player into 094 after the tutorial, but everything else is set up right now for a modified B & C for them to escape from. This is because their home is not yet overrun as they discuss the kids' absence. Sorry if this gets confusing, I can explain in greater detail if/when needed.)

Chris_McElligottPark

Nov 25, 2012 7:41 pm

administrator   ~0029070

Thanks!

* The "LEVEL" and "SUBLEVEL" commands are now valid as commands during the "PRELOAD" phase as well as during in-game gameplay.

GameMaker24

Jan 20, 2013 8:51 pm

manager   ~0030041

The only problem is that when you use Level to go to that level's Main, you must then use Sublevel to jump to the sublevel you need. This means the player must take a step before Sublevel will launch. (If you make the script PRELOAD, the command is ignored.)

I had originally asked for another argument to the Level command that lets you enter a sublevel. If that isn't possible, then can sublevel act during preload?

GameMaker24

Feb 17, 2013 7:30 pm

manager   ~0030863

I have another case where we need the Level command to let you specify the sub-level. As you exit "new boss level" 096, you are supposed to be sent back to the sub-level you started from. And yes, I know that's what the game normally does. However, in this case the player is appearing at the beginning of the world (007) and I need an additional command to send them explicitly to the sub-level they had been on.

Any way, I'm mostly just bumping this because the tutorial needs it. I will compare functionality with the Warehouse Boss to see why mine isn't returning to the right sub-level in the first place.

Issue History

Date Modified Username Field Change
Nov 25, 2012 1:41 pm GameMaker24 New Issue
Nov 25, 2012 1:41 pm GameMaker24 Status new => assigned
Nov 25, 2012 1:41 pm GameMaker24 Assigned To => Chris_McElligottPark
Nov 25, 2012 7:06 pm GameMaker24 Note Added: 0029065
Nov 25, 2012 7:41 pm Chris_McElligottPark Note Added: 0029070
Nov 25, 2012 7:41 pm Chris_McElligottPark Status assigned => resolved
Nov 25, 2012 7:41 pm Chris_McElligottPark Resolution open => fixed
Jan 20, 2013 8:51 pm GameMaker24 Note Added: 0030041
Jan 20, 2013 8:51 pm GameMaker24 Status resolved => feedback
Jan 20, 2013 8:51 pm GameMaker24 Resolution fixed => reopened
Feb 17, 2013 7:30 pm GameMaker24 Note Added: 0030863
Feb 17, 2013 7:30 pm GameMaker24 Status feedback => assigned
Apr 14, 2014 9:30 am Chris_McElligottPark Category Suggestion - Gameplay => Gameplay Idea