Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / City racer

Author
Message
White Fang 12
15
Years of Service
User Offline
Joined: 28th Aug 2007
Location: In my office coding
Posted: 6th Apr 2008 19:21 Edited at: 7th Apr 2008 19:37
In this game what you have to do is drive around a randomly created city and find a orb,ball whatever you call it. You can choose you speed so you can move faster but if you hit any buildings you lose.
to steer you have to be moving
you will not start with a building on top of you but there may be one very near to you and you can see behind you as of yet
the highest speed i beat it at is 400

P.S. if you make something neat from my code post it here i want to see you improvments.

it's Sad no one is posting

I'm a noob help will be accepted
Pasky
17
Years of Service
User Offline
Joined: 7th Jun 2005
Location: Spain
Posted: 9th Apr 2008 22:22 Edited at: 9th Apr 2008 22:22
This is a good code but it needs a lot of machine to run a good frames.
I have tested with a 20x20 matrix (instead of 200x200) and with fewer objects (1 to 1006 instead of 1 to 10006) and goes much better.
Above the blue cube that makes car there, floating in the air, another with a field attached to him. Is it the driver?
Except those details, the rest goes well.
White Fang 12
15
Years of Service
User Offline
Joined: 28th Aug 2007
Location: In my office coding
Posted: 9th Apr 2008 23:39
no its and arrow that points to the orb so you can find it

I'm a noob help will be accepted
A Tea Spoon
15
Years of Service
User Offline
Joined: 23rd Apr 2007
Location: good ol USA!
Posted: 10th Apr 2008 00:24
OMG! when my car crashed my computer crashed! cpu usage was at 100% and no matter wat i did the app would not quit! i had to un-plug, thats right, unplug the computer. you should put a warning on this tread.

White Fang 12
15
Years of Service
User Offline
Joined: 28th Aug 2007
Location: In my office coding
Posted: 12th Apr 2008 03:13
Sorry bout that it think i fixed it in this code but this cade has issues with inputting speed

hope this works for you

I'm a noob help will be accepted
LBFN
15
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 12th Apr 2008 15:14
You should lose the gotos and install subroutines or functions. IMO there are very few instances where you actually need a goto and it is generally viewed as poor programming practice.

I have a decent machine, but this lags horribly. You have way too many objects; as Pasky suggested, I would cut down on the number of objects to increase game speed.

LBFN
dan958
14
Years of Service
User Offline
Joined: 7th Feb 2008
Location:
Posted: 12th Apr 2008 16:39
it made my pc crash
White Fang 12
15
Years of Service
User Offline
Joined: 28th Aug 2007
Location: In my office coding
Posted: 12th Apr 2008 16:55
OK nobody play this game i don't want any crashing computers
i have to remember that just because my computer runs it fine that dosn't mean it will run fine on every ones my bad

I'm a noob help will be accepted
bergice
15
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 17th Apr 2008 15:14
"I noo like diss geim..."

In other words: I didnt like this game!
White Fang 12
15
Years of Service
User Offline
Joined: 28th Aug 2007
Location: In my office coding
Posted: 17th Apr 2008 20:10
Ok i understand the game is not good i never said it was the greatest game in the world i just said its a game i made and sorry about crashing computers

I'm a noob help will be accepted
Alsan
17
Years of Service
User Offline
Joined: 20th May 2005
Location: Germany - Nähe Kassel
Posted: 24th Apr 2008 18:50
Doesn't crash at my computer, I played it several times and could end it just by pressing escape.

Unfortunately I never found the finish. xD It's quite hard to find it.

Apart from that, I like it, it looks neat.

White Fang 12
15
Years of Service
User Offline
Joined: 28th Aug 2007
Location: In my office coding
Posted: 24th Apr 2008 20:33
Well thanks well at least some one con play this

I'm a noob help will be accepted

Login to post a reply

Server time is: 2022-11-29 15:42:49
Your offset time is: 2022-11-29 15:42:49