Thanks!
Currently it checks the distance between the center of the car and the center of the pump which isn't ideal since the car could be at an angle next to the pump but its center is too far away.
Perhaps simply making the distance check be the car's radius and the gas pump radius plus a small x amount would be sufficient for most cases.
The loss of inventory has been a big complaint. I've considered different ways of having a car's inventory survive..simplest would be to show the wrecked car's inventory when touched. Ideally the items would have sprites that scatter on the ground but that means I have to support drops. Probably the way I should go. Regardless I will probably not let ALL the inventory survive
Drops would probably work best in the long run, particularly if you do manage to get multiplayer up, so if i want to toss things to my friend, i just have to drop it out of my inventory.
I'm looking at multiplayer! Lots of work though but it would be a good challenge. As an informal poll, would you guys pay for multiplayer? I'm toying with the idea of doing a Minecraft style pricing scheme, one time fee, 1/2 price beta etc with server side registration. Perhaps persistant worlds...
if it did get to the point of asking for money, i think it'd be better to move it into a distributable binary at such a point, than keeping it as an html5 web game, but only if money were to become involved, but i'd probably be willing to shell out 9.99 if their were multiplayer, persistant world, and a bit more variety of buildings/weapons. also, in my time of playing the game, zombies seemed to be the only creatures i encountered, perhaps adding a few other enemy types would be a decent idea.
if you really wanted to immense players in the game, i'd also re-work how entering buildings worked, instead of just kind of going in like you do now, i'd make it so you actually can walk around the house and such, this way when you encounter the zombies whom are in homes, you actually fight them in the home(or perhaps some scary baddies could be lurking in homes as well, instead of out in the open).
I worked on this in my free time off and on for a year and a half. During that time I moved across state lines and my wife had a baby so YMMV
It's an impressive game mate, and shows alot of your dedication, me and my friends really enjoyed it, so i hope you keep at it as i think you've got alot of potential to make this game really great.
edit: also, out of curiousity, do the zombies just spawn outside of your view, or is their some other mechanism's that govern where zombies are?