Making Mario ON/OFF blocks [4/10]

You see these blocks?
image
image
(I got these from the Super Mario Maker 2 Wiki)

Yeah, those ones,
we’re going to remake these into Gimkit Creative (If you couldn’t tell by the title)


Before we get into the base stuff, we’re going to first make a property
Name said property “ON/OFFProperty”

  • Set the property type to “Text”
  • Set the default value to “ON”
  • Set the property scope to “global”

Ok now lets get into the interesting parts of the Guide.

The ON/OFF Switches

image
This will be the first thing we’re going to make.

Firstly, get 2 Barriers.

  • Make 1 Red and active on game start
  • Make 1 Blue and inactive on game start

Great!

Now make the Red Barrier activate when receiving on “ActivateONBarriers” and make it deactivate when receiving on “ActivateOFFBarriers”

Make the Blue Barrier activate when receiving on “ActivateOFFBarriers” and make it deactivate when receiving on “ActivateONBarriers”

Stack both Barriers on top of each other (Grid recommended)

Now place a trigger that is invisible on game start, but make it trigger by player collision, have said trigger be slightly below both ON/OFF barriers.

Write blockcode into the trigger:

Now place a text device, put it onto the ON/OFF barriers and layer it so it is above both barriers.

Wire the trigger to the text device:

Triggered --> Run wire pulse block

Now make a “On wire pulse…” block for the text device, and write very simple block code with the set text device having an input of the property of “ON/OFFProperty”

You have successfully recreated the ON/OFF switch!

The Dotted-Line Block

image
Now we do the dotted line block, which are actually very easy to recreate.

For red blocks:

  • Make 2 Red Barriers, one completely visible along with collision enabled plus active on game start and one with a low alpha (I’d say 0.15) along with collision disabled plus inactive on game start.

  • Set the fully visible barrier to activate when receiving on “ActivateONBarriers” and to deactivate when receiving on “ActivateOFFBarriers” ; Set the low alpha barrier to activate when receiving on “ActivateOFFBarriers” and to deactivate when receiving on “ActivateONBarriers”

For blue blocks:

  • Make 2 Blue Barriers, one completely visible along with collision enabled plus inactive on game start and one with a low alpha (I’d say 0.15) along with collision disabled plus active on game start.

  • Set the fully visible barrier to activate when receiving on “ActivateOFFBarriers” and to deactivate when receiving on “ActivateONBarriers” ; Set the low alpha barrier to activate when receiving on “ActivateONBarriers” and to deactivate when receiving on “ActivateOFFBarriers”

That’s all you need to do for the Dotted-Line Blocks.

An example of what it should look like:

Yes, if you have followed everything correctly, you should now have an ON/OFF setup in GKC!
Goodbye.

Difficulty?
  • 0/10
  • 1/10
  • 2/10
  • 3/10
  • 4/10
  • 5/10
  • 6/10
  • 7/10
  • 8/10
  • 9/10
  • 10/10
  • 11/10
0 voters
3 Likes

didnt use it but i read it, good guide

Good guide! (This should be 3/10 because this has a really simple block code! [1])


  1. also it’s just simple ↩︎

oh I meant to put 4/10 sry but also its a little hard for beginners if you never made a map so at least 4/10

Great guide! This is a great idea for platformer games.

I lost my SMM2 cartridge :sob:

You can undo the vote…

it has a glitch, if you put a rare in your invintorrry then spawn a lot of commons

then your game is un-winnable

also CC can you test my platformer I need an opinion

but how do I send it…

Wixsite
Atleast post things relevant to the topic

1 Like

The ON/OFF bumpton has been hit!

1 Like

bah (bump)

/ref

yesterday I bumped into my hat, then I fell in my hat, and then I fell down some stairs (stole that from @Ian_is_a_yay sorry)