The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.36 / 5.00 33,851 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.09 / 5.00 12,195 ViewsI'm working in a great platform game, I have all the graphics already made, but I don't know so much about programming this type of game.
Help me, please.
There are some really nice platformer tutorials here:
GL
how come with the "while code" the y variable goes ++;
because eventually shouldn't _y variable stop hitting the ground? And isnt that the opposite of what you want
At 1/2/10 03:19 AM, cheese123 wrote: how come with the "while code" the y variable goes ++;
because eventually shouldn't _y variable stop hitting the ground? And isnt that the opposite of what you want
in the while code the y variable should be told to -- so while he's touching the ground he moves upwards. ++ would make him go further down. example:
while (_root.ground.hitTest(_root.char._x, _root.char._y, true)) {
_root.char._y--;
} don't be late | Collab101 | Australian Users List | Nayhan's actionScript examples > click
At 1/2/10 03:51 AM, Nayhan wrote: while (_root.ground.hitTest(_root.char._x, _root.char._y, true)) {
_root.char._y--;
}
While codes honestly shouldnt be thrown around like that , theyre supposed to be used to handle short functions like placing enimies in one frame or something also that code really hasnt been thought out because its constantly causing the player to ruise and fall
I do not recommend using the NG platformer tutorials , theyre very messy
Vcams
Bad collision
AS2
MC coding
Really shitty stuff , i suggest learning basic AS3 (Or AS2 if you MUST) then compiling a library of functions and classes to build youre game with
nobody