Race the neighbourhood

Show off your games, demos and other (playable) creations.
lmelbye
Prole
Posts: 4
Joined: Tue Feb 01, 2011 9:12 pm

Race the neighbourhood

Post 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
User avatar
thelinx
The Strongest
Posts: 857
Joined: Fri Sep 26, 2008 3:56 pm
Location: Sweden

Re: Race the neighbourhood

Post 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.
lmelbye
Prole
Posts: 4
Joined: Tue Feb 01, 2011 9:12 pm

Re: Race the neighbourhood

Post by lmelbye »

Hi. Can you tell me about these limits?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Race the neighbourhood

Post 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.
Help us help you: attach a .love.
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Race the neighbourhood

Post 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).
Last edited by tentus on Tue Feb 01, 2011 10:46 pm, edited 3 times in total.
Kurosuke needs beta testers
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Race the neighbourhood

Post by bartbes »

@tentus: Wow, you're harsh..

EDIT: Because it was edited, it's a lot better now. (and so this no longer applies)
User avatar
tentus
Inner party member
Posts: 1060
Joined: Sun Oct 31, 2010 7:56 pm
Location: Appalachia
Contact:

Re: Race the neighbourhood

Post by tentus »

Sorry, my bemused tone is utterly missing in that post. Revised to not sound like such a jerk.
Kurosuke needs beta testers
User avatar
Thursdaybloom
Citizen
Posts: 81
Joined: Mon Feb 15, 2010 3:43 am
Location: Australia

Re: Race the neighbourhood

Post 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.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Re: Race the neighbourhood

Post by kikito »

I got the same error - crash on init (I'm using 0.7.0 stable on ubuntu 10.10).
When I write def I mean function.
User avatar
vrld
Party member
Posts: 917
Joined: Sun Apr 04, 2010 9:14 pm
Location: Germany
Contact:

Re: Race the neighbourhood

Post 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.
I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum.

hump | HC | SUIT | moonshine
Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 2 guests