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 / My first 20 liner!: Dodge ball - Dbpro

Author
Message
Crazy Ninja
18
Years of Service
User Offline
Joined: 27th Aug 2005
Location: Awesometon
Posted: 15th Sep 2006 16:16 Edited at: 16th Sep 2006 05:09
hey everyone! THis is my first 20 line ever written in Dbp. Its just a small game I made where you have to dodge the balls that come at you. For each one you dodge you get a point. Here it is:

UPDATED CODE:


try it out if you want too. i've gotten over a thousand but you should be able to do better.

____ ____ ____ ___ _ _ __ _ _ __ _ _ ____
|___ |--< |--| /__ Y | \| | | \| ___| |--|
Mr Kohlenstoff
17
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Germany
Posted: 15th Sep 2006 18:48
It doesn't run on my computer, says 'command out of place in line 6' I think... which dbp-version did you use?

Visit the DBPro - Speed up your game-Thread. http://forum.thegamecreators.com/?m=forum_view&t=88661&b=1
Nicholas Thompson
19
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 15th Sep 2006 21:19
Thats really cool! I use 6.2 and had to tweak on of the If's on line 7...


I got 133. Thats a really cool game. Try making the player have "momentum" to make it smoother (maybe use the curvevalue command along with speed?)

[center]
Crazy Ninja
18
Years of Service
User Offline
Joined: 27th Aug 2005
Location: Awesometon
Posted: 16th Sep 2006 05:12
Thanks for the compliment! I'll try messing around with the curvevalue command to see if i can get momuntum in.

@Mr Kohlenstoff - I'm using 6.2 but i had a if/then statment messed up, but Nicholas pointed it out. Should work now.

____ ____ ____ ___ _ _ __ _ _ __ _ _ ____
|___ |--< |--| /__ Y | \| | | \| ___| |--|
Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 19th Sep 2006 00:28
Dodgeball, brings back memories of days when running across the dodge ball area meant a ball in the face.... nice game!

Bio Fox...four guys, one computer, games like nobody's business. Join our forum: http://biofox.aceboard.com

Login to post a reply

Server time is: 2024-04-25 06:34:13
Your offset time is: 2024-04-25 06:34:13