toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
MOVE GRANTING IN A GRID
wolala123
Member
Posts:
249
May 2013
in
Working with GS (Mac)
Anyone how to write code to let box move slanting in a grid,such as video below 0:23,thx
Comments
wolala123
Member
Posts:
249
May 2013
anyone can help?
Socks
London, UK.
Member
Posts:
12,822
May 2013
anyone can help?
It's not clear what you want (not to me at least), also I don't know what 'granting' means in this context ?
If you want to move something in a grid just move it by a fixed amount of pixels, so horizontal movement might be:
Every XXX seconds move the actor YYY number of pixels horizontally.
Or if you want to move at 45°:
Every XXX seconds move actor the actor YYY number of pixels horizontally and vertically.
Etc . . . .
Hope that makes sense.
Socks
London, UK.
Member
Posts:
12,822
May 2013
This kind of thing . . . . :
wolala123
Member
Posts:
249
May 2013
sorry...my english bad...but
@socks
thx ur help,this is i want...
>-
Sign In
or
Register
to comment.
Comments
If you want to move something in a grid just move it by a fixed amount of pixels, so horizontal movement might be:
Every XXX seconds move the actor YYY number of pixels horizontally.
Or if you want to move at 45°:
Every XXX seconds move actor the actor YYY number of pixels horizontally and vertically.
Etc . . . .
Hope that makes sense.