How to teleport a player up a specific distance (or down, left right)

To make things simple, i have 2 squares. One is a player and the other is just a square platform which the player jumps on. How do i make my player teleport, say, 100 pixels up if attribute player collides with square platform?
I want this rule to always be true that way i can use as many square platforms as I want with the outcome being the same, teleporting the player 100 pixels up.

Thanks for any help :D

Comments

Sign In or Register to comment.