I've been wondering how you do colissions for an art-based map, I've tried virtually everything I could find, but the program still refuses to acknowledge the existance of the walls.
Here is the .fla, as I have trouble describing the actual problem.
you haven't even got any hit actions in there. How does the wall know its a wall?
if(!world.hitTest(player._x, player._y, true)){
//player movement code
}
If I'm interpreting this right, the !world should be replaced with the name of the background clip, and the player. should be replaced with the name of the player clip, right? Or should I just copy and paste it as is?
everfornever that is realy good code but you commented on it to much =P
i always used a longer way to do hittests not way longer but a bit longer thanks to you i saved bytes on my code thanks =).
a bit off topic ever you would be realy good at writing tutorials because you explain what the code does in segments and its realy easy to userstand unlike other peoples.