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
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 18th Aug 2007 00:08
link's.

(N-1)/n*100<n2/n-n/2+n/4*2+100
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th Aug 2007 00:15 Edited at: 18th Aug 2007 00:28
Here's the latest version of Link's code:


I thought I'd post it again as this is a new page and my last post was a little messy, please look at the previous post though as it tells what I have done and what problems still remain (or I have created )

[EDIT]
A newer and more improved version, I took out the troublesome GET GROUND HEIGHT in the matrix editor and now it works fine. It may not be the greatest but it works.
I also changed the way you move around in the editor, sorry for hacking away at your code Roddman



I think it's a testament to Link that neither of us have hardly had to change a thing to add our ideas to the program

Your signature has been erased by a mod because it was rubbish.
roddman
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 18th Aug 2007 05:35 Edited at: 18th Aug 2007 05:38
@Obese

Quote: "I took out the troublesome GET GROUND HEIGHT"


Whenever I used the editor the X/Z selector filled in the new position with the old height so I replaced the new code with my old code. The problem with the one I originally posted was that I accidentally removed some of the code causing it not to work. Thanks for cleaning it up though I tend to add unecessary commands and variables.

Space=Edit Mode
Enter=Save Matrix
X=X Axis Select
Z=Z Axis Select

CTRL=Load and Update Matrix

I've fine tuned the CT_Save_Matrix function and have added a brand new CT_Load_Matrix function which is exactly what it sounds like just drop a filename into the function call in the main loop at the top.



[Edit]
@Everyone
I almost forgot but the challenge ends tomorrow at 12:00 midnight, I can add another couple days if you need it

Cory
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 18th Aug 2007 11:56
Quote: "I almost forgot but the challenge ends tomorrow at 12:00 midnight, I can add another couple days if you need it"
OH MY GOODNESS! NOOOOOO! QUICK, add days, add days!

(N-1)/n*100<n2/n-n/2+n/4*2+100
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th Aug 2007 16:17 Edited at: 18th Aug 2007 16:43
@Roddman
I don't like the X/Z switching, I don't like the fact that it's based on checking a string and I found it a pain when trying to use the editor. Inadvertently you have solved the problem I was having with get ground height! I thought this checked the coordinates of the matrix, not the actual position. I will edit it and post the new code back in, I'll use my previous post but grab stuff from yours that I like
I don't want this to count as my entry that would be unfair on Link, but it's a good chance to experiment and I give Link full permission to use anything I've added


There it is
haven't added in the new Roddman stuff yet, I've added a randomize tool and a normalize tool to the editor.

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 18th Aug 2007 19:57
Well, I'm off once more on holiday, so I won't be able to finnish my entry. See you, guys.

(N-1)/n*100<n2/n-n/2+n/4*2+100
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th Aug 2007 20:39
I've been experimenting with memblocks (they're awesome ), I'm trying out mesh editing and sound editing. With meshes I have been able to make a triangle from scratch and play around with its vertice positions and normals, but with sound all I can do is make one note .
Is there a tutorial about this type of thing?
Is it realistically possible to make music or sound effects using this method, to be used in a challenge entry?

Your signature has been erased by a mod because it was rubbish.
TDK
Retired Moderator
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 18th Aug 2007 20:48
Sorry, memblocks are enhanced DBC commands and not allowed in the challenges.

TDK_Man

Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th Aug 2007 22:52
Why not? Enhanced is free, isn't it?

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 18th Aug 2007 22:55
But you can't get it if you don't have DBC from this site.

(N-1)/n*100<n2/n-n/2+n/4*2+100
roddman
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 19th Aug 2007 00:54
I can add more days since no one seems to have their entry fully prepared, if everyone is ok with adding more day i'll extend the deadline.

Cory
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 19th Aug 2007 02:58
Quote: "I can add more days since no one seems to have their entry fully prepared, if everyone is ok with adding more day i'll extend the deadline."

No, we've been extending deadlines too much recently.
It'll make for a fun race tomorrow

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
19
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 19th Aug 2007 12:01
I'm gonna be mean here and say no, cause I've already finished my entry!
It doesn't matter though, cause I won't be here tommorrow. See you all in a week guys, and good luck with your entries.

(N-1)/n*100<n2/n-n/2+n/4*2+100
Link102
21
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 19th Aug 2007 19:15
well, I'm sort of out of the competition. My computer got a virus, and now every time I start my computer it reboots. I'm in save mode right now, so I can't test all the codes .
I'll try to remove the virus, but I think my windows needs a reinstall

Don't look at my sig!
Pixelator
18
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 19th Aug 2007 19:39 Edited at: 20th Aug 2007 00:32
Quote: "I'll try to remove the virus, but I think my windows needs a reinstall"


WHOA!!!!!!

you got something really nasty if you have to re install windows!!!
Just use the system recovery disc that came with your computer. It only affects applications so your programs (dba) will be safe.

(Y=M*X+B)=(X=(Y-B)/M)=(B=Y-M*X)=(M=Y-B/X)
and if you can figure out what it means i will give you a cookie.
roddman
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 20th Aug 2007 01:34
Quote: "well, I'm sort of out of the competition"


Sorry about your computer, I had to re-install windows on my computer once, not fun.

@Everyone
The official deadline is in about 5 1/2 hours, good luck

Cory
Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 20th Aug 2007 01:47
Wow..been so long since I've stepped in here..looks like no more rookies in here haha. I suppose I came back to finally confirm that I have appreciated all that I learned in here and that I am starting my own game in october..a text adventure with miminal graphics. So Latch, TDK, Comrade, LB, INH, thanks for all of the good times and i'll see ya out in the coding grounds.

Zombie

Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 20th Aug 2007 02:56 Edited at: 20th Aug 2007 02:56
What about Roddman, Phaelax and Me??? !
Where are you going Zombie this sounds a bit final

Your signature has been erased by a mod because it was rubbish.
roddman
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 20th Aug 2007 07:40
Classes start in the morning so I'll have to put off judging the entries until tomorrow afternoon, if anyone has anything finished by then, lol

Cory
Zombie 20
19
Years of Service
User Offline
Joined: 26th Nov 2006
Location: Etters, PA
Posted: 20th Aug 2007 13:49
Obese- Just out and about..haha I know I'm not ready for this yet so I'll come back when I know I'll have a chance at learning. Sorry guys..didn't meant to leave you out either, I'll be back!

roddman
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 21st Aug 2007 02:04 Edited at: 21st Aug 2007 04:06
I got bored being the judge for this last round and i'm looking foreward to someone else taking over for a while. So to get right down to the point, I found four entries in the posts and I took the most updated versions, I hope I haven't left anyone out.

The four entries are as follows:

Insert Name Here - Alex's Deathmatch
I agree, a lot like Link's, nicely done cutscene, I would've liked to have seen more gameplay though. It would be a nice game with some enemies and some type of fighting or something.

Link102 - No Title
I'll say it again that I like the way you thought of making the custom maps using data statements. I looked at your entry from before Obese and I added all of our junk to it. It is also good how the gamma changes when the camera moves under water. Again like INH's entry I would've liked to have seen some sort of deathmatch or fighting, which is what I originally had in mind for this challenge, but having said that a good program with nice looking custom terrain.

Dark Dragon - Deathmatch Arena
The menu system was a little hard to use, but the actual game itself was pretty good. I liked the addition of the allys but the AI was a little weird, whenever the ally shot, the bullet just kind of circled around him. Other than that it was a good program.

Insert Name Here - Alex's RPS Game
You're right, not exactly what I had in mind, however your program did meet all of the rules I set out. I especially liked the images
you made all from within your program. Nicely put together, it seemed to be pretty stable and I didn't find any glitches. The program was very easy to use yet still fun to play. All in all a good entry.

Drumroll please.... just kidding
The runner up is


And the winner is


Good job everyone [Edit] I forgot that INH is leaving for a week so the new challenge setter is Dark Dragon I think.

Cory
Pixelator
18
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 21st Aug 2007 02:26
yay too all

(Y=M*X+B)=(X=(Y-B)/M)=(B=Y-M*X)=(M=Y-B/X)
and if you can figure out what it means i will give you a cookie.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 21st Aug 2007 17:10 Edited at: 21st Aug 2007 17:11
@INH
I totally missed your entry. You are good at cinematic stuff.
Together me, you, Roddman and Link made a pretty good project

Your signature has been erased by a mod because it was rubbish.
Pixelator
18
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 21st Aug 2007 18:04
if INH is gone then who will set the challenge?

(Y=M*X+B)=(X=(Y-B)/M)=(B=Y-M*X)=(M=Y-B/X)
and if you can figure out what it means i will give you a cookie.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 21st Aug 2007 19:24
Oh yeah lol
Umm... I guess it's DD then.

Your signature has been erased by a mod because it was rubbish.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 21st Aug 2007 21:01 Edited at: 21st Aug 2007 21:03
me?!?!!?!?
I never thought i'd be a runner up!??!?!?
i'll get back about the challange.....
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 21st Aug 2007 21:12 Edited at: 21st Aug 2007 21:13
-Sidescroller-

Heres the challenge- make a side scrolling game like kirby or megaman(or sonic). The game must consist of at least 2 levels and must have a point but other than that its up to you.....
the deadline: Next Monday at 3:00.
Good luck
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 21st Aug 2007 21:24
cool, good challenge DD
Yay someone used my book idea

Your signature has been erased by a mod because it was rubbish.
luke810
19
Years of Service
User Offline
Joined: 4th Sep 2006
Location: United States
Posted: 22nd Aug 2007 02:20
Are you intending it to be 2D or can we use 3D also? You didn't specify either and as examples you listed all 2 dimensional games.
Pixelator
18
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 22nd Aug 2007 03:34 Edited at: 22nd Aug 2007 03:35
Quote: "you listed all 2 dimensional games."

that isnt half of the 2d games!!!

@dd
cool challenge, i would try but im working on an operating system.

A^2+b^2=c^2, but D^2-A^2/g^2*t-r-o-u-b-l-e = w+i+t+h / a*(c*a/p^i+t+o+l)/T+rhyming+with/P+f/o*r^(p-o-o/l)

That equation has a quote from a movie in it. Find it for a cookie
Sinani201
19
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 22nd Aug 2007 05:51
lol when I mentioned a mini operating-system, I wasn't expecting anyone to actually try and do it...

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
23
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 22nd Aug 2007 15:53
Can I suggest that everyone stop setting full games as challenges!

With other projects on the go, not everyone who would like to enter the challenges can spare the time to write a full game.

Also, many beginners will find a full game beyond their abilities and won't enter.

Then there's the problem with not being able to use externally created media. There's a limit to how good a full game can look with this restriction so is it worth it?

The original idea was for much smaller challenges from which beginners can learn from - never for full games.

TDK_Man

Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 22nd Aug 2007 19:26
@luke
you can use 3d or 2d.

@TDK
oh......
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 22nd Aug 2007 19:31
I agree with TDK, and also remember to put a at the beginning of your challenge like DD did, so we can find it easily
Since you can't enter in your own challenge, it might be a good idea to set one about something you are having trouble with yourself, then you'll get loads of solutions from entries

Your signature has been erased by a mod because it was rubbish.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 22nd Aug 2007 19:33
and now i lie and wait..........
Sinani201
19
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 22nd Aug 2007 19:48
@TDK
I agree, this is why I haven't been entering many of the challenges.

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?
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 22nd Aug 2007 19:51 Edited at: 22nd Aug 2007 19:53
okay. Next time i win(don't count on it) i'll set a less difficult challange.
can i "reset" the challange?....
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 22nd Aug 2007 20:39
Quote: "can i "reset" the challange?...."

Yep, don't think anyone's started yet.

Your signature has been erased by a mod because it was rubbish.
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 22nd Aug 2007 21:28 Edited at: 22nd Aug 2007 21:32
hmm.....cant think of any thing else!.....
Pixelator
18
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 23rd Aug 2007 00:14
may i make a suggestion?
if so,
how about something that uses and/or gets imformation from the mouse
(i.e, detecting where the mouse is rlative to something other that the pixels like a grid)
if not, then ignore me

A^2+b^2=c^2, but D^2-A^2/g^2*t-r-o-u-b-l-e = w+i+t+h / a*(c*a/p^i+t+o+l)/T+rhyming+with/P+f/o*r^(p-o-o/l)

That equation has a quote from a movie in it. Find it for a cookie
Sinani201
19
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 23rd Aug 2007 04:29
I actually like that!!!!! If you're in favor of Pixelator's suggestion, say "eye" (lol, I just had to say 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?
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 23rd Aug 2007 16:21 Edited at: 23rd Aug 2007 16:23
"eye". well that,i guess, is a new challange.
make something that uses and/or gets imformation from the mouse
(i.e, detecting where the mouse is rlative to something other that the pixels like a grid)
bounus points for making it 3d!
bounus points for the user having the ability to "order" stuff around...and....
deadline : still next monday 3:00!
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 23rd Aug 2007 16:48
pfft it's "aye" not "eye" (means yes in old english/scottish)

Quote: "bounus points for the user having the ability to "order" stuff around"


What do you mean? Change the order of the grid?
bounus points?

Your signature has been erased by a mod because it was rubbish.
Pixelator
18
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 24th Aug 2007 03:50
Yay, they like me they really like me!!!!!
"o the joy" - Meriwether Lewis
... and yes, Lewis spelled "oh" that way.

how do i put an image here?
roddman
18
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 24th Aug 2007 04:16
This is what I've got so far, keep in mind i've only been working on it for a little while so it's far from finished. But It shows a basic grid (which you can adjust the size of) and demonstrates pixel perfect cell detection within the grid.

I'm going to make a game from this basic detection system something like tic-tac-toe or another grid based game.
-Note- Anything outside the grid or on a grid line will return an N/A, it's not a glitch I made it like that.



Cory
Latch
19
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 24th Aug 2007 04:49
Ok not to rain on anyone's parade but two challenges recently passed that have very similar criteria. One was a mouse 2d or 3d selection challenge, the other was utilizing a grid function challenge. Doesn't this challenge sound familiar?

@roddman
If you like, take a look back a couple of pages and you'll find my Tic Tac Toe entry - there's also a matrix waypoint selector that selects points off of a grid.

Enjoy your day.
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 24th Aug 2007 19:28
@Latch
Yep sounds very familiar, especially as me and Pixel were talking about grid selection in another thread

Your signature has been erased by a mod because it was rubbish.
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 24th Aug 2007 20:53
Do a physics challenge. Make a demo based around reflection or projectile physics. The equations of both are relatively simple to implement yet leave room for much creativity.


Pixelator
18
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 24th Aug 2007 22:50 Edited at: 25th Aug 2007 00:50
Quote: "Do a physics challenge."

That would be ok, but alot of people have already started and younger programmers may not know how to do the math.

[edit]
speaking of entries, here is mine!


how do i put an image here?
Dark Dragon
18
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 25th Aug 2007 02:03 Edited at: 25th Aug 2007 02:06
Quote: "younger programmers may not know how to do the math."

meaning me



nice entries, everyone! so far, at least
pixel:
add something to select!

Login to post a reply

Server time is: 2026-06-08 16:42:02
Your offset time is: 2026-06-08 16:42:02