Hi,
I'm having trouble with a sprite, which is both player controlled and AI with no X movement, only Y. When it collides with an immovable solid wall. It stars to move towards X position. I've tried with some collision actions against each other with no results.
Please enlighten me.
Here's the script:
<img src="http://img825.imageshack.us/img825/5426/capturewbo.jpg" border="0" />
Project demo:
dl.dropboxusercontent.com/u/62131673/Zumo/index.html
Project file:
dl.dropboxusercontent.com/u/62131673/Zumo/zumo%20construct.zip
lonrot I fixed your problem with changing the shape of collision polygon. Download the fixed version from here.
lonrot
I fixed your problem with changing the shape of collision polygon. Download the fixed version from here.
Thank you Sollano, for some reason the left player still moves to the right if you keep pressed the UP key.
I'm fixing it right now <img src="smileys/smiley1.gif" border="0" align="middle" />
Now it should work. I removed walls and used bound to layout instead. Download from here.
Develop games in your browser. Powerful, performant & highly capable.
lonrot Now it should work. I removed walls and used bound to layout instead. Download from here.
Thank you! I will keep using BoundtoLayout, it's very useful.