yesterday i was going to ask about creating four gravities (left,right,down,up) in how do i...section because i found some problems but i tried to re-try and see whats the problem in my capx and i think i found it and fixed it ^^
some of stuffs on the four gravities:
1) i used 2 (8-direction )and (bullet) behaviors on the player.
2)when you are on up,down gravities you can only use left,right arrow keys to move and if you want to move from up to down click "Z" .
3)when you are on left,down gravities you can only use up,down arrow keys to move and if you want to move from left to right click "Z".
4) if you want to change your gravity from up or down to left and right click "Z then X" or click "X".
5)while you clicked "Z" you can move a little .
ok last thing i wanna say that i'm going to use this technique in my (next next game) i hope someone need it too ^^
here is the capx. if you found any bug tell me so i can fix it later ^^
version 1 ( has some glitches)
version 2 (almost no bug or glitch)
version 3
in version 4 : flip fixed when you click "Z"
(4 gravities v4 (a) this made with variables )
(this made from blackhornet (thanks to him))
thanks for reading
by salem