1 decade ago by Architecte
Hello,
I'm trying to learn ImpactJS, and not knowing how to start I thought that creating a game would be good.
So I try to make a Sokoban like.
I send you the link to my source (I provided the game folder with media): http://dl.dropbox.com/u/7994055/sokoban.zip
I'm on several small problems, I would like you to explain the steps to take, because I have not found what I was looking in the help).
The character moves "sliding", would it be possible to move the box by box?
Why can not I move around the map correctly?
I can not understand how the game is to know the collision without "code" ourselves, it's like magic to me.
If I leave the key then press another, it keeps going in the first direction until he can go in the second direction, why?
I will stop here for now, I do not know if I could encode it to the end, but it is interesting to me because it raises several questions I Pertti small forward in the understanding of the software.
I'm trying to learn ImpactJS, and not knowing how to start I thought that creating a game would be good.
So I try to make a Sokoban like.
I send you the link to my source (I provided the game folder with media): http://dl.dropbox.com/u/7994055/sokoban.zip
I'm on several small problems, I would like you to explain the steps to take, because I have not found what I was looking in the help).
The character moves "sliding", would it be possible to move the box by box?
Why can not I move around the map correctly?
I can not understand how the game is to know the collision without "code" ourselves, it's like magic to me.
If I leave the key then press another, it keeps going in the first direction until he can go in the second direction, why?
I will stop here for now, I do not know if I could encode it to the end, but it is interesting to me because it raises several questions I Pertti small forward in the understanding of the software.