[Unsolved]Hardon Collider Problem
Posted: Thu Mar 14, 2013 9:42 pm
I'm using Hardon Collider to make a platform game, and i have a problem. The "ground" (a green rectangle until i solve this problem) isn't solid, i made a -theorically- working on_collide function, but the player (that for some other reason doesn't use the image it should use) passes right trough it. Also, the camera doesn't follow the player.
Before asking why the rectangle is 6000px wide,it is because i wanted to test also the camera.
In the .rar (not .love, for editing it's better the zipped one I think) you'll find some main-.lua, mainOld.lua etc. They're tutorial/old files i use only to copy-paste or to look the old scripts.
EDIT : Partially solved the animation problem, I changed to anim8. But still, even if the player X pos and Y pos update correctly on the debug informations, the image and the player state(variable to decide which image has to be used) don't. The image falls but it doesn't move horizontally, and the player state is still at "falling" .
Please help.
Before asking why the rectangle is 6000px wide,it is because i wanted to test also the camera.
In the .rar (not .love, for editing it's better the zipped one I think) you'll find some main-.lua, mainOld.lua etc. They're tutorial/old files i use only to copy-paste or to look the old scripts.
EDIT : Partially solved the animation problem, I changed to anim8. But still, even if the player X pos and Y pos update correctly on the debug informations, the image and the player state(variable to decide which image has to be used) don't. The image falls but it doesn't move horizontally, and the player state is still at "falling" .
Please help.