A downloadable Script

Download NowName your own price

To use it, you must have created an objWall, it will serve as an invisible wall (Remember to uncheck the object's visibility box)

Within your objPlayer you need to have the variables (spdH, spdV, gravity) in your Create Event, remember to assign a value of 0.

In case you don't understand how it works, I created a very simple example to demonstrate how the script works !

That done, now whenever you collide with a wall, your speed will be 0, I explain better how to use the script in this  Tutorial Here!

Download

Download NowName your own price

Click download now to get access to the following files:

scrCollision.txt 485 bytes
GMCollision.rar 144 kB

Leave a comment

Log in with itch.io to leave a comment.