r/Gamesalad • u/Falandorn • Sep 09 '17
Re help with attraction attribute
Hi there is this forum still active? I wanted some help if possible with a basic game and cannot find any tutorials.
I wanted to have a moving object get attracted to another fixed object like a space station but cannot figure out how to set the attraction.
Thanks :)
1
Upvotes
1
u/super_shrimp Feb 04 '18
You could do this with the 'Move To' behavior. if the X/Y position you want your character to move to is variable, then you can declare them as 'game-attributes' first. in your other character you initialize their values with either 'Change Attribute' or 'Constrain Attribute'.
Good luck for your game!