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.

DarkBASIC Discussion / The DB Classic Programming Challenge Thread

Author
Message
NinJA999
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: NH
Posted: 1st Jun 2007 03:18
Well, I might work on my own racer, but for now here's Link102's racer with some modifications that I find help me in the game:



42
http://www.nictitatingrabbit.com
http://penchantpages.nictitatingrabbit.com
Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 1st Jun 2007 08:08
I liked that added map so I added a little orientation to it on Ninjas modification to Links entry:



Enjoy your day.
NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 1st Jun 2007 11:31
@LBFN
Having tidy code has no difference on how I judge it. But it makes it easier to work out and if needs be, modify it.


Nothing is impossible...
No really, it is.
NinJA999
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: NH
Posted: 1st Jun 2007 13:51
wow, Latch! I was thinking of doing that, but had no idea how. just one line! cool.

42
http://www.nictitatingrabbit.com
http://penchantpages.nictitatingrabbit.com
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 2nd Jun 2007 00:49
Hey guys, i just played through link's racer that you all modified. It is wonderful, hehe..replace with a model and fill the matrix and you got yourself a game . Great job, can't wait for next challenge.

Latch-Thank you for helping me out on my baseball game, up to 200 lines now and going strong.

Sinani201
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 2nd Jun 2007 02:38
Quote: "Wouldn't work. There isn't a youwin label."


Oh dear... sorry about that.



Did someone say 3D scanning on my desk, or was that just an AdBot?
What happens when when you mix coke, pop rocks, vinegar, and baking soda?
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 2nd Jun 2007 02:47
sinai-Nice job dude, i was on my toes for that one .

Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 2nd Jun 2007 04:40
@NinJA
Thanks - Actually, I snuck in two lines
flip bitmap 1
and zrotate etc...

@Zombie
You're welcome

@Sinani
Nice combination of the this and the last challenge!

Enjoy your day.
NinJA999
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: NH
Posted: 2nd Jun 2007 05:17
I'm working on a racer where you have to swerve around cones...It uses a control system loosely based on Link102's (read: like 2 similar lines), and hopefully I can finish it by the 7th.

42
http://www.nictitatingrabbit.com
http://penchantpages.nictitatingrabbit.com
NinJA999
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: NH
Posted: 2nd Jun 2007 16:00
does anyone know why when I print text on the screen then "wait 2000" the text disappears during the wait? how can I make it stay?

42
http://www.nictitatingrabbit.com
http://penchantpages.nictitatingrabbit.com
Link102
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 2nd Jun 2007 19:36 Edited at: 2nd Jun 2007 20:05
if you're in 3d do somethig like this



or if you want the game to pause during this



Don't look at my sig!
NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 2nd Jun 2007 20:16
@Zombie 20:

Quote: "can't wait for next challenge"


This one's not over yet!


Nothing is impossible...
No really, it is.
Sinani201
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 2nd Jun 2007 22:30 Edited at: 3rd Jun 2007 00:24
Quote: "sinai-Nice job dude"

Too many people mistaken my username on other forums... don't join them.
On the happy side, thanks for complimenting! I'm working on a version of it in 3D but for now this is my entry.
-----------------------------------------------------------
Can this thread be stickied? The DBPro one is, so why can't this one be stickied?

Did someone say 3D scanning on my desk, or was that just an AdBot?
What happens when when you mix coke, pop rocks, vinegar, and baking soda?
NinJA999
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: NH
Posted: 3rd Jun 2007 05:59
Well, my cone dodger is finished! Here it is. Try to beat 17 seconds--my personal best! The controls might take a couple tries to master--my friend's first try was 3min, 20sec, but her second try was 32sec. If you get tired of my map, make your own down in the data statements. Keep in mind I did this in three days, while *in* a play (I worked on it while offstage), and right before my birthday (tomorrow). Hope you like it!!

It uses a controls system VERY loosely based on link102's, and a camera system more closely based on link102's. Also, the grass texture is loosely based on the grass texture from Jeff Losee's example in the new DBC's examples folder.



42
http://www.nictitatingrabbit.com
http://penchantpages.nictitatingrabbit.com
Latch
17
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 3rd Jun 2007 10:10
Here's an update to Insert Name Here's entry. Changed the structure a bit, added speed up, and added current time display.



Enjoy your day.
Zombie 20
17
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 3rd Jun 2007 16:04
Sinani201 -I'm sorry .

everyone's projects are looking good.

Link102
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 3rd Jun 2007 16:39 Edited at: 4th Jun 2007 01:01
I've tweaked the ai in my racer.
I've fixed the checkpoints variable (you can now easily edit it on the top of the code).
And I've added the map

Didn't like the cone on the top of the car one bit, so I left that out, maybe I'll add it later.


Don't look at my sig!
Sinani201
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 3rd Jun 2007 23:22 Edited at: 3rd Jun 2007 23:33
@ Link102
I was falling off the platform a lot! Your first entry stopped the cube from going off the platform.
@ NinJA999
Please read the rules. No external media is allowed. If you want external media, make it yourself with CODE ONLY
@ Zombie 20
It's fine, I just wanna make sure everyone gets my username right.

Did someone say 3D scanning on my desk, or was that just an AdBot?
What happens when when you mix coke, pop rocks, vinegar, and baking soda?
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 4th Jun 2007 00:16
Quote: "Please read the rules. No external media is allowed. If you want external media, make it yourself with CODE ONLY"


Where in his program does he load any external media?

TDK_Man

Link102
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 4th Jun 2007 00:21
Quote: "@ Link102
I was falling off the platform a lot! Your first entry stopped the cube from going off the platform."

there isn't gravity in my code, I think your mastaken with NinJA999 cone dodger

Don't look at my sig!
NinJA999
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: NH
Posted: 4th Jun 2007 00:44
@Sinani201 - Please don't YELL AT ME if you have NO IDEA WHAT YOU ARE TALKING ABOUT!!!!!! I generated all textures myself! The map is in the code! What are you talking about? And the falling off the platform is intentional--learn how to use the brake!

Oh, and a friend got 16 seconds. Beat that.

42
http://www.nictitatingrabbit.com
http://penchantpages.nictitatingrabbit.com
Sinani201
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 4th Jun 2007 03:16 Edited at: 4th Jun 2007 03:20
OK then, I wasn't falling off the matrix but the cube can come off of it.
-----------------------------------------------
NinJA, I'm sorry. I didn't read the part at the bottom of your post that said based on. I made a mistake.
And I said about falling off the platform for Link's entry, not your's

Did someone say 3D scanning on my desk, or was that just an AdBot?
What happens when when you mix coke, pop rocks, vinegar, and baking soda?
Link102
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 4th Jun 2007 16:03 Edited at: 5th Jun 2007 13:52
well, there are borders on the map acctually, only they're not that noticable since they're 50 units out. I did that so the ai wouln't bounce up on them.

here's the code with the borders back to the matrix


Don't look at my sig!
Sinani201
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 5th Jun 2007 04:22
Great job link, I like it.
Why does it always say I loze when I win? Is there a winning screen?

Did someone say 3D scanning on my desk, or was that just an AdBot?
What happens when when you mix coke, pop rocks, vinegar, and baking soda?
Link102
19
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 5th Jun 2007 13:47 Edited at: 5th Jun 2007 13:48
that happend to me once, but I can't explane why.
when you or the ai player collides with the last waypoint, the endgame variable is set to 1 (in the collision subroutines).
when the endgame variable is set to 1, some events wil change; you can't give any throtle anymore, the screen text disapears, the timer is set to a halt. but also the collision is turned off. so I don't understand why sometimes the message$ variable is set to "YOU LOZE!!" after the endgame variable is set to 1

Don't look at my sig!
Sinani201
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 6th Jun 2007 04:41
Oh, OK then.

Did someone say 3D scanning on my desk, or was that just an AdBot?
What happens when when you mix coke, pop rocks, vinegar, and baking soda?
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 6th Jun 2007 23:19
These are good little games from everyone.
I bow down to you lot.

The below sentance is true.
The above sentance is false.
Paradox!
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 7th Jun 2007 06:44
Would anyone mind gathering up the previous challenge entries with judge's comments and emailing me a zip? I've been too busy at work to have much of any free time. Last challenge I had submitted for the database was the texture generation.


NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 8th Jun 2007 00:01
only 2 hours left...


Nothing is impossible...
No really, it is.
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 8th Jun 2007 03:05
NanoGamez guy,

When exactly is the cutoff here? Your original post said June 7th. It's 7:02PM here on the 7th. Whose time are you going by? I figured I had some time to tweak my submission. Please let me know.

LB
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 8th Jun 2007 03:33
Here is my submission. It's not quite the way I wanted it, but I thought I had a little more time. I really hope the cutoff isn't based upon a timezone that's 8 hours ahead of me or I'm going to be really perturbed as I put a lot of work into this.

NinJA999
18
Years of Service
User Offline
Joined: 11th Nov 2005
Location: NH
Posted: 8th Jun 2007 05:30
The time zone is GMT, which means that if you are in the Eastern US, it's 8pm (as with me).

Sweet submission, the only issues I have are:
-the text on the instruction screen is a little hard to read
-the text in game flashes between large and small (I've noticed this on my games too, and the only way to correct it that I have found is to put 2 sync commands after the text)--this happens on both my computers.
Other than that, SWEET! I love the car graphic. Good luck.

42
http://www.nictitatingrabbit.com
http://penchantpages.nictitatingrabbit.com
luke810
17
Years of Service
User Offline
Joined: 4th Sep 2006
Location: United States
Posted: 8th Jun 2007 06:13
Nice work LBFN. It looks like you put alot of effort into your entry.
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 8th Jun 2007 07:33 Edited at: 8th Jun 2007 07:34
Unfortunately, yet again work took over for me and my entry slipped down my 'to do' list.

As it wasn't finished, I didn't want to enter it so I waited until after the deadline to post what I'd done so far.

Even though I say it myself, I thought it looked promising...



Press a key to start the race and use the mouse as a chase cam.

Doesn't do anything else I'm afraid...

TDK_Man

NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 8th Jun 2007 09:57
@LBFN the time and date is indicated at the top of your post. shame you were only an hour late!

Do you think we could let him off because he was unaware to the cutoff and worked so hard on his entry?


Nothing is impossible...
No really, it is.
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 8th Jun 2007 14:25
@NanoGamez guy

The time indicated at the top of my submission post says
Quote: " Posted: 7th Jun 2007 19:33 "


Your post for the challenge says this
Quote: "deadline

[EDIT]
New deadline:

2 weeks - Thursday, 7 June

Old deadline:

1 week - Thursday, 31 May
"


There is no mention of the time zone being GMT, I am on CST, six hours behind that. There was no mention of the timezone in subsequent posts after the challenge started. Going back through this entire thread, I see where GMT was used, but I did not look through the 10 pages of this thread to see that.

I suppose you will do what you're going to do. I hope to be given the opportunity to be considered.

LB
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 8th Jun 2007 16:22
Quote: "Do you think we could let him off because he was unaware to the cutoff and worked so hard on his entry?"


All the previous deadlines have been midnight GMT - so it's sort of a standard for the challenges, even if not specifically stated.

However, I can't see the point of excluding an entry if it's a little late - it's not as though we are knee-deep in people entering at the moment!

So, on this occasion, I reckon the entry should be allowed - especially as at the time of the post, the judge hadn't posted to declare the challenge over.

I should really add a rule covering this.

TDK_Man

TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 8th Jun 2007 16:38
New Rule 11 added to the very first post of this thread.

Please read so you don't have any problems with future challenge entries.

Please comment if you can foresee any problems...

TDK_Man

NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 8th Jun 2007 20:24
@Phealax:
What form do you want the challenge entries in? text document?

@LBFN:
Sorry, it says a different time on my browser.

Anyway, here's the entries:

(I decided to include LBFN's entry.)

Sinani201 (edited once by creator):
Different game idea, very imginative. Could have added a phew other things to make it interesting.

NinJA999:
Smooth controls, ability to change colour, nice textured objects and realistic car turning. Slow refresh rate which made the text flash.

Link102 (edited twice by creator, once by Latch and once by NinJA999):
Smooth controls, nice turning map, awsome AI and shows you position. Could have textured the objects and matrix and coloured the backdrop.

LBFN:
Great intro screen, map movement, good use of 2D commands to creat a 2D landscape, neat car and speed controled. Though the steering was very 'blocklike' and I found that you could go through walls so I got to the top of the leaderboard with 36 seconds!

Insert name here (edited once by creator):
Good use of 3D to create a classic 2D game. Slow response though.

Although TDK's entry wouln't be judged, I'll still comment on it:
Made smooth matrix and textures plus sky box, created a track, Nice AI with very smooth waypoint system. But you could see the edge of the skybox and sometimes the AI cars.


The runner up:


And the winner:


Well done to you all and over to the winner to set the next challenge.


Nothing is impossible...
No really, it is.
Insert Name Here
17
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 8th Jun 2007 22:13
Well done LBFN!
Wondering what the next challenge will be...

The below sentance is true.
The above sentance is false.
Paradox!
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 9th Jun 2007 02:29 Edited at: 11th Jun 2007 01:13
@ NanoGamez guy

Thanks for allowing the submission in, I really appreciate it. I honestly thought I had a few more hours to tweak it and add stuff.

@ NinJA999, luke810 and Insert Name Here - thanks for the comments!

As for the next challenge:
[EDIT} Create a single golf course hole
-- You do not have to code it so that one can actually play the hole, the primary emphasis is on design.
-- It is expected to be in 3D, but 2D entries will be allowed.
-- You must be able to easily scroll through the hole and be able to view any portion of it.
-- Any viewpoint/perspective may be chosen.
-- You can create a regular golf or mini-golf hole.
-- Scale and proportion matter!
-- Attention to detail and the 'little things' are also important.
-- Deadline: June 19, 2007 @ 12:00 Midnight GMT


Good luck to all!

LB
Sinani201
17
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 9th Jun 2007 02:57
Hmmmm... this might be the hardest challenge yet... but I'll start my entry, anyways.

Did someone say 3D scanning on my desk, or was that just an AdBot?
What happens when when you mix coke, pop rocks, vinegar, and baking soda?
Lucifer
18
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 9th Jun 2007 03:58
LBFN, wow, i playd your car game, it's awesome, how long have you been using dbc?


i like pancakes..
Quisco DaLuse
17
Years of Service
User Offline
Joined: 3rd Feb 2007
Location: USA
Posted: 9th Jun 2007 04:52 Edited at: 9th Jun 2007 04:53
post removed

You idiots! You've captured their stunt doubles!
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 9th Jun 2007 05:02
Thanks for the comments! I joined this forum earlier this year, but I purchased DBC in early 2004, I believe. I used to program an Atari 800XL and later on a 520ST, so I've enjoyed programming for a while now. I remember the days when it was said 'Wow!! It runs at 16 MHz?!?! I've got to get one!'

LB
LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 10th Jun 2007 03:11
All - Is anyone else interested in this challenge?

LB
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 10th Jun 2007 03:40
make a golf course that isn't playable? Sounds more like a modelling challenge. You might want to pick something more specific. Congrats on your first win, looks like I got a new name to add to the database.


LBFN
17
Years of Service
User Offline
Joined: 7th Apr 2007
Location: USA
Posted: 10th Jun 2007 04:58
Thanks Phaelax,

My thought with regard to playability was that no one would have time to write the code to where you could actually play the holes that you would design, just that you would make the holes themselves. They would be playable, of course, but it was not necessary to have the code in place to play the holes. I'm sorry, I should have been more clear on my intent.

To me, I thought it would be quite a challenge to make some golf holes while having to make my own media. I have been working on it myself today and have a basic hole made, but it has been a lot of work. I will say that I have learned some things through the experience.

@ TDK What are the rules about declaring a challenge null and void and moving forward with something else before the time is actually up?

@ Phaelax If I am able to call this one off, what would you suggest? I have reviewed all of the previous challenges and wanted to do something different, but it sounds like it's time to let this one go.


LB
NanoGamez guy
17
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 10th Jun 2007 12:46
@LBFN:

I think it's a great challenge, but mabye a little hard for some of the less experienced people in this forum. I know it's quite hard to think of a challenge thats challenging but not too difficult.


Nothing is impossible...
No really, it is.
TDK
Retired Moderator
21
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 10th Jun 2007 14:43 Edited at: 10th Jun 2007 15:11
Quote: "What are the rules about declaring a challenge null and void and moving forward with something else before the time is actually up?"


There aren't any really. Do we need to add something?

If someone suggests that a challenge might be a little difficult for beginners and the challenge setter agrees... or the challenge setter on reflection thinks the challenge is unsuitable, he or she can post and suggest that the challenge might be changed.

If the challenge setter agrees - and no-one has actually started work on the challenge then the challenge setter can simply set another one and announce the new deadline.

In this case, as no-one has posted any objections, it's fairly safe to conclude that no-one has started it and there's a danger of having no submissions at the end.

As has already been stated, choosing suitable challenges to get everyone involved is infinitely more difficult than writing the actual programs for the challenges - due to the wide range of programming skills between the experienced coders and the beginners.

As thinking of challenges is so difficult I'm going to start a post on my own forums where we can all post our own ideas for challenges (if you don't mind signing up for it that is). This should give challenge setters an idea of what contestants would find interesting and if they are stuck for ideas can they can choose one of them off the list.

[Edit] Now added the thread to the DB Classic board on TGPF (link in my sig below). Please feel free to add your own ideas for challenges or choose one of them if it's your turn to set a challenge and you are struggling to think of one.

Personally, I quite like the current challenge as it's not actually a game - it's more of a 'using DB to design something' challenge which is different and you learn something from it.

TDK_Man

Login to post a reply

Server time is: 2024-05-04 02:46:31
Your offset time is: 2024-05-04 02:46:31