-
Notifications
You must be signed in to change notification settings - Fork 17
2. Setting up the game options
Gatete Mario Engine 9 has a pre-built set of options you can toggle for your game, those options can be found at the create event of the obj_coordinator object.
This page will cover all options available and might be updated on new releases.
LEVEL_AMOUNT <number>
This macro is used to set the number of levels your game will have, this macro will be used as well to manage the star coins on the entire game.
EXITS_AMOUNT <number>
This macro is used to track how many exits the game has, you can set up to 2 exits per level.
STARS_AMOUNT <number>
This macro is used to track how many power stars the game has. Power Stars can be used too as a exit method.
The framework offers a bunch of options you can use on your game, such as turning enemies into coins with fireballs and much more. The value at the left of each variable is the default value when you download the framework files.
global.subpixels = [true/false]
If this is set to true, sub-pixel float movement will be smoother.
global.hp_mode = [false/true]
If set to true, Mario can take up more than 1 hit to die and cannot turn into Small Mario.
global.hp = 3
This is the hit points Mario will have at the start of the level, in any case hit points will NOT be higher than the value set in global.hp_max.
global.fireballtype = [false/true]
If this is set to true, fireballs shot by Luigi will move in a straight line instead of being affected by gravity.
global.combo_reset = [false/true]
If this is set to true. All chain combos will reset when you get a 1-UP
global.enemy_to_coin = [false/true]
If this is set to true. Every enemy hit with a fireball will be turned into a coin.
global.special_moves = [true/false]
If this is set to true. Mario will be allowed to perform some of the moves from the 3D games, such as wall-jumping, groundpound, etc...
global.noteblock_all_sides = [false/true]
If this is set to true. All white note blocks will be bouncy on all sides.
global.flighttime = 4
Maximum flight time (in seconds) raccoon family of powerups can fly.
global.cattime = 3
Maximum climb time (in seconds) Cat Mario can climb up walls.
global.safeguard_max = 3
When collecting a heart, you will have an extra hit. This variable is overriden if global.hp_mode is set to true.
global.reserve_activated = [true/false]
If set to true, you can store a powerup for later usage.
global.pmeter_sound = true
If set to true, this will play that annoying sound played when the P-Meter is full.
global.pmeter_limit = 144
This sets the limit where the P-Meter will activate, allowing Mario to perform actions like flying.