Table Situation...stumped

Hey Everyone,

I am using tables to save my hero X and Y positions, but I have ran into small problem....

Right now when my hero crosses the check point is saves the position to a table and then spawns on death at the checkpoint. After I respawn and I continue with the game and then move on the the next scene everything is great and works as it should...

But.... Lets say I am on my first scene and I cross the checkpoint and die and run out of lives... I go back to the game and spawn from my past saved checkpoint... Perfect so far... but when I continue to the next scene after completing the level I spawn at my last saved XandY locations on the next scene....

I find it odd that it only happens if I run out of all my lives and pick up from a saved game.

How do I get my player to appear in the correct position?

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    I'm confused. What exactly is the issue? After explaining that, post a picture of your rules so we can see how it's setup.

  • wayback_gamerwayback_gamer USMember, PRO Posts: 124

    Sound like maybe you need a rule based on number of lives when your checkpoint is crossed. What your asking is a little unclear actually and you may need to be more specific and provide details like a picture of your save after crossing checkpoint code

  • quinn221quinn221 Member Posts: 280
    edited November 2015

    @Braydon_SFX I just figured it out. After I wrote out the issue I found my mistake

    Thanks

Sign In or Register to comment.