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
Race the neighbourhood
Re: Race the neighbourhood
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.
It looks like you're creating bodies/shapes that are too small for Box2D to handle.
Re: Race the neighbourhood
Hi. Can you tell me about these limits?
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Race the neighbourhood
It can't handle anything smaller than .1 meter (3 pixels, usually).lmelbye wrote:Hi. Can you tell me about these limits?
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.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Race the neighbourhood
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).
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
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: Race the neighbourhood
@tentus: Wow, you're harsh..
EDIT: Because it was edited, it's a lot better now. (and so this no longer applies)
EDIT: Because it was edited, it's a lot better now. (and so this no longer applies)
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: Race the neighbourhood
Sorry, my bemused tone is utterly missing in that post. Revised to not sound like such a jerk.
Kurosuke needs beta testers
- Thursdaybloom
- Citizen
- Posts: 81
- Joined: Mon Feb 15, 2010 3:43 am
- Location: Australia
Re: Race the neighbourhood
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.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: Race the neighbourhood
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.
Re: Race the neighbourhood
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.
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.
Who is online
Users browsing this forum: Amazon [Bot], Google [Bot] and 2 guests