Need Some help1
LimeGaming
Member Posts: 6
So, I want a Object to each time when my game starts to stay in the same place when it starts, Currently sometimes it glitches the app when i play it.
Comments
to understand what i'm talking about check https://appsto.re/us/GAJk8.i
Your question makes no sense at all !! At least to me ? (apologies if English is not your first language).
I am unable to check it out because I don't have IOs.
But from your question...the object(s)/actor(s) always start out where you set them. Unless you randomly placed them, actors don't move to random location on their own.
Rather than posting a link to your app, you might consider posting a video capture or screenshot of the problem. You'll also need to explain in more detail what's working/not working with regard to what you're trying to do.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Translation:
I have a scene where a player moves around. If I change the scene I want the player to start in the position that it left off.
Answer:
Make two real attributes
My Last X
My Last Y
After .03 seconds
Constrain My last X to self.position X
Constarin last Y to self.position Y
When the scene starts tell your player to
change self.position X to My Last X
change self.position Y to My Last Y
Oh OK guys Wait I'll explain In video