Need help with invert movement

patapplepatapple Member Posts: 873
edited June 2012 in Working with GS (Mac)
hi,

i'm trying to create a small special power up in my game to . i have two actors:

PLATFORM:
-touch is pressed
self.position.x TO game.mouse.position.x

-touch is pressed AND game.invert IS true
self.position.x TO -(game.mouse.position.x)


POWER UP:
when collide with platform -> change attribute game.invert TO true

i want when the platform collide with the power up, that invert the movement ( if i drag left, the platform must go to the right!)

what is the problem?

Comments

Sign In or Register to comment.