How to teleport a player up a specific distance (or down, left right)
mypingo7
Member Posts: 22
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
Comments
In the player actor:
When actor collides with actor [platform]
Change attribute self.position.Y to self.position.Y+100
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Wow thank you so much