Hammerless Penguin wrote: ↑Thu Feb 13, 2020 1:18 am
Try this out.
Make a New layer for the block that contains the mushroom
Then make an event that triggers an invisible block to spawn on the left side for a short second when the block is hit.
When the event is finished go to options of the block that contains the mushroom and make sure the event is activated when Mario hits it. If the mushroom still moves to the left then make sure the time that the invisible block spawns is set to be longer.
It should work, if not then perhaps the only solution is to find out something with Luna lua or even a more simple solution is to just edit the configuration of the mushroom and set the speed to 0. The mushroom won’t move at all though.
Thanks, I got it to work with your help. Here is what I did, for future prosperity.
1) Create a Layer called "Invisible Blocks" (the name doesn't really matter, but makes things clear).
2) Create an Event called "Power-Ups - Hit" (again, name doesn't really matter but makes things clear).
3) In the Layers window, select "Invisible Blocks" and place the invisible block left of where the power-up will spawn.
4) In the Events window, select "Level - Start", select "Layer visibility" and hide the "Invisible Blocks" layer. Preferably, check "Disable smoke transition".
5) Select "Power-Ups - Hit" in the Events window, select "Layer visibility and show the "Invisible Blocks" layer. "Disable smoke transition" is preferable here too.
6) With "Power-Ups - Hit" selected in the Events window, select "Trigger Event" and select "Level - Start" with a minimum delay of 0.5 (0.4 or less will make the invisible blocks disappear before the Super/1-up Mushroom fully spawns).
7) Finally, place your power-up ? Block with the "Power-Ups - Hit" selected as a hit event in the ? Block's properties.
Do you want to hear what I said again?