toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
automatic move
solitairee
Member
Posts:
73
December 2010
edited November -1
in
Working with GS (Mac)
hey guys pls how to make actor move few pixels left and than right?
Comments
tenrdrmer
Member, Sous Chef, Senior Sous-Chef
Posts:
9,934
December 2010
Just use the self.position attribute to trigger the moves left and right.
self.position.x = 10
-- move right
self.position.x = 15
--move left
Sign In
or
Register
to comment.
Comments
self.position.x = 10
-- move right
self.position.x = 15
--move left