Page 1 of 2

Race the neighbourhood

Posted: Tue Feb 01, 2011 9:20 pm
by lmelbye
Hi
During the winter holidays I've created a small racing game

I have chosen to publish it at http://nb.funzone.dk/

Please go on try and post a comment :-)

Regards,
Lasse Melbye

Re: Race the neighbourhood

Posted: Tue Feb 01, 2011 9:24 pm
by thelinx
I get a crash right as the game starts, with a Box2D error.

It looks like you're creating bodies/shapes that are too small for Box2D to handle.

Re: Race the neighbourhood

Posted: Tue Feb 01, 2011 9:28 pm
by lmelbye
Hi. Can you tell me about these limits?

Re: Race the neighbourhood

Posted: Tue Feb 01, 2011 9:34 pm
by Robin
lmelbye wrote:Hi. Can you tell me about these limits?
It can't handle anything smaller than .1 meter (3 pixels, usually).

I get no errors, but I did fall off the world after I won. Also, pressing enter only reset the player, not the rest of the world, leading to some unwinnable situations.

Re: Race the neighbourhood

Posted: Tue Feb 01, 2011 10:29 pm
by tentus
Just so you know, you've got thumb files, bmps, unused images, and copies of images all taking up extra space in your game. Auto-fullscreen is also much detested by many gamers, so you may want to disable that (think about binding a fullscreen function to a key like F11).

Next, you may want to read this page: PO2_Syndrome. Basically, some computers cant draw images that aren't powers of 2 (32, 64, 128, 256 etc).

To clean up the extra images in your game: take anything you suspect you aren't using and move it to another folder outside your game. If your game crashes when you play it afterwards, it'll tell you what you need to put back.

Finally, your code has references to the hamster tutorial in it. You may want to remove everything unnecessary left over from the hamster tutorial, it'll just trip you up later (speaking from unfortunate experience there).

Re: Race the neighbourhood

Posted: Tue Feb 01, 2011 10:38 pm
by bartbes
@tentus: Wow, you're harsh..

EDIT: Because it was edited, it's a lot better now. (and so this no longer applies)

Re: Race the neighbourhood

Posted: Tue Feb 01, 2011 10:42 pm
by tentus
Sorry, my bemused tone is utterly missing in that post. Revised to not sound like such a jerk.

Re: Race the neighbourhood

Posted: Wed Feb 02, 2011 7:11 am
by Thursdaybloom
Reversing at the start of the game causes the car to begin falling off the map before it freezes. Pressing enter in this position causes the game to crash.

Re: Race the neighbourhood

Posted: Wed Feb 02, 2011 9:16 am
by kikito
I got the same error - crash on init (I'm using 0.7.0 stable on ubuntu 10.10).

Re: Race the neighbourhood

Posted: Wed Feb 02, 2011 3:31 pm
by vrld
Nice experiment, I like the different ambient sounds. They add a lot of athmosphere. Is this your first LÖVE project?
To add some replay value, you can add a timer which you race against and possibly a ghost racer from the best run. After that, maybe some more levels. If you feel keen, a level editor would be awesome.