GameSalad

Once a purchase has been made...

Ben+%3A%29Ben :) Posts: 8Member
edited October 15 in Working with GS (PC)

Hello GS community!
Guess what? I have another question for you...

As part of my game, I want to make it so once the player purchases a trail it appears behind their character.

Thanks to @Braydon_SFX and @tatiang I now understand how to create a trail.
However (and I probably should have asked this in my previous post),

How do I make it so once the user has bought a trail, it appears behind the actor?

Thanks for reading :),
- Ben (a very new developer o:) )

Comments

  • IceboxIcebox Posts: 1,433Member, PRO

    Create a boolean game attribute call it trail , set it to false .
    When a purchase is done change attribute game.trail to true remember to save it so that it always starts the game true.

    Then have a rule in your actor if game.trial is true , use your trail method ( spawning or particles ).

  • Ben+%3A%29Ben :) Posts: 8Member

    @Icebox said:
    Create a boolean game attribute call it trail , set it to false .
    When a purchase is done change attribute game.trail to true remember to save it so that it always starts the game true.

    Then have a rule in your actor if game.trial is true , use your trail method ( spawning or particles ).

    Oh, I see!

    This makes a lot of sense, it is similar to what we are learning in GSCE computing with Python.

    Thanks so much for your help :)!

Sign In or Register to comment.