Doodle Jump side effect
![Mikv616](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
Hey everybody I wanted to know how you make that doodle jump effect when the actor goes to the side it comes out in the other side. But i can't use the scene wrap because i have other actors in that scene that i don't want to be effected.
Best Answers
-
Braydon_SFX Posts: 9,273
You would need to enable the Wrap X boolean in the scene attributes.My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
-
Braydon_SFX Posts: 9,273
Can't you just check the "unmovable" boolean in their physics?My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx
-
jonmulcahy Posts: 10,408
then you'll have to track the x coordinate of the actor and when it's larger than device width + 1/2 actor width, move it to -(1/2 actor width) and vice versa. -
jonmulcahy Posts: 10,408
If your actor is 100 px wide and the screen is 320px wide, if the actors x position hits 370, move it to -50. If the actor hits -50, move to 370
This makes it look like it wraps around. -
jonmulcahy Posts: 10,408
no, change attribute so it happens instantly. you want to change the value of the x position
Answers
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx