GameSalad

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Need Some help1

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

  • LimeGamingLimeGaming Posts: 6Member

    to understand what i'm talking about check https://appsto.re/us/GAJk8.i

  • SocksSocks London, UK.Posts: 12,822Member
    edited July 2015

    @LimeGaming said:
    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.

    Your question makes no sense at all !! At least to me ? (apologies if English is not your first language).

  • tintrantintran Posts: 453Member
    edited July 2015

    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.

  • tatiangtatiang Posts: 11,766Member, Sous Chef, PRO, Senior Sous-Chef

    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

  • RabidParrotRabidParrot Formally RabidParrot. Posts: 956Member
    edited July 2015

    @LimeGaming said:
    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.

    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

  • LimeGamingLimeGaming Posts: 6Member

    Oh OK guys Wait I'll explain In video

Sign In or Register to comment.