Jump to content
A 2021 backup has been restored. Forums are closed and work in progress. Join our Discord server for more updates! ×
SoaH City Message Board

Quicksand help.


Recommended Posts

Quicksand is overlapping Sonic

* Sonic Y Position = Sonic.YPos + 1 (Or whatever number)

User presses Fire 1

Quicksand is overlapping Sonic

* Set gravity to -5 (Or something closer to 0 than your default jump value, assuming you did it this way)

Ask for any more help.

  • Like 1
Link to comment
Share on other sites

Are you talking about Sonic or those blocks that float on the quick sand and sink when you're on them but float up when you're not? If you're talking about Sonic, use Sage's method. Here's the events for a block.

Bottom Detector overlap Block

On Ground = True ( not sure if it's 0 or 1 for true for you )

Block overlap Quicksand

Top Y Position of Block is less than Top Y Position of Quicksand + 30

* Set Y Position of Block to Y Position of Block + 1

* Set Y Position of Central Detector ( you know, the main detector ) to Y Position of Central Detector + 1

Bottom Detector overlap Block ( negate it to check if false )

Block overlap Quicksand

Top Y Position of Block is greater than Top Y Position of Quicksand - ( height of block )

* Set Y Position of Block to Y Position of Block - 1

* Set Y Position of Central Detector to Y Position of Central Detector - 1

And there you go. I added the condition 'Block overlap Quicksand' just incase you want to make the block start off on land so you can push it into the quicksand. You wouldn't want it to sink if it's on land right? Well I hope that helps you in anyway and if not maybe it'll be helpful to you in another situation. I'm always available to make a tutorial for you as well.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...