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
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 8th Aug 2007 02:32
The tutorial is coming along great!
post any comments or suggestions on its thread.
http://forum.thegamecreators.com/?m=forum_view&t=111855&b=10

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 8th Aug 2007 11:34 Edited at: 8th Aug 2007 12:21
I sense mild thread jacking...
Edit: Incedentally, did no one like my media version?

I never tell the truth.
That ain't a paradox.
I always tell lies is though.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 8th Aug 2007 12:25
Quote: "I sense mild thread jacking..."

sorry I didn't know where to put it.

Quote: "Incidentally, did no one like my media version?"

Didn't look at it, did you make models? Your entry didn't need it anyway

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 8th Aug 2007 12:47
I did make models, it had buildings and stuff. The music wern't bad either. I'm working on it at this minute!

I never tell the truth.
That ain't a paradox.
I always tell lies is though.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 8th Aug 2007 15:14
AHHH!!
i tried to edit my tutorial and it got wiped!!!
this forum is so buggy!!
is there a way to get it back?

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 8th Aug 2007 16:20
Nope.

I never tell the truth.
That ain't a paradox.
I always tell lies is though.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 8th Aug 2007 22:22
Quote: "Yeah I get it but what does leet mean?
is the definition of leet: using numbers to replace letters?"


I think that wiki article is misleading as I've never associated "leet" as meaning "leetspeak" but instead considered it a short dirty way to mean "elite".

I am an elite hacker!
I am a 1337 hacker!


Anyways, website is still up to date. And as usual, entries for the current challenge will not post until the challenge has ended. This is due to people posting multiple versions of the same code and I only want to keep their final version online.


I may enter this challenge, I'll likely be at the office until late tonight with very little actual work to do. Just sucks that our firewall blocks this website as well as my challenges website.


Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 9th Aug 2007 20:22
Thanks for helping me clean up my code guys but I really do perfer to work with messy code.......but I do apprecate the concern.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 9th Aug 2007 20:54
Quote: "but I really do perfer to work with messy code"

lol, let's see how long that lasts

Your signature has been erased by a mod because it was rubbish.
Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 9th Aug 2007 20:55
haha
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 9th Aug 2007 21:26
You like working with messy code?

(N-1)/n*100<n2/n-n/2+n/4*2+100
Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 9th Aug 2007 23:03
Yup.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 9th Aug 2007 23:52
Riiiiiiiiight...

(N-1)/n*100<n2/n-n/2+n/4*2+100
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 10th Aug 2007 02:14
Just don't bother pasting any on here wanting us to fix thing for you then!

TDK_Man

Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 10th Aug 2007 12:08 Edited at: 10th Aug 2007 12:10
lol. Kinda backfired on you, didn't it.

(N-1)/n*100<n2/n-n/2+n/4*2+100
Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 10th Aug 2007 17:14 Edited at: 10th Aug 2007 18:01
i Guess....
EDIT)
I think I'm Gonna work on a media version of this game......
EDIT2)
Obese87
Quote: "I'm done cleaning
Haven't started my own yet
Hope you learn from that DD or I just wasted a load of time
"

Need some help? I'm done with mine....so I've been waiting until the deadline......
roddman
17
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 10th Aug 2007 18:52 Edited at: 10th Aug 2007 18:54
Quote: "Just don't bother pasting any on here wanting us to fix thing for you then!"

I guess that will save us some time

Cory
Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 10th Aug 2007 18:59
Hey, I never asked Obese to do that!....
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 10th Aug 2007 20:59 Edited at: 10th Aug 2007 21:00
Guess OBese87 could not resist.

(N-1)/n*100<n2/n-n/2+n/4*2+100
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 10th Aug 2007 22:37
As long as you learn from it and don't do it again I don't mind

Your signature has been erased by a mod because it was rubbish.
roddman
17
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 10th Aug 2007 23:57
Quote: "don't do it again"


@Dark Dragon
I think you just got repremanded

Cory
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 11th Aug 2007 00:00
Hold out your hand, boy...

(N-1)/n*100<n2/n-n/2+n/4*2+100
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 11th Aug 2007 02:39
Can we please keep the posts on topic to the challenges? This thread is unecessarily long.

Enjoy your day.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 11th Aug 2007 12:32
Ok.
I might do another entry, cause my one, while it seems to comply, dosent really feel like a deathmatch.

(N-1)/n*100<n2/n-n/2+n/4*2+100
Sinani201
18
Years of Service
User Offline
Joined: 16th Apr 2007
Location: Aperture Science Enrichment Center
Posted: 12th Aug 2007 20:11
lol in the cube battling game it's impossible to kill the enemy because he keeps regaining health when he dies

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
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 13th Aug 2007 11:34 Edited at: 14th Aug 2007 16:03
right, here's my progres so far, its all pretty and shiny but it doesn't contain a deatch match yet.
I just thought I'dd show it before I ruin it with silly primitives.

controls are to find in c_routine0 and c_routine1, use space to switch between them


first one to design a (edit: valid) map gets a cookie!

Don't look at my sig!
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 13th Aug 2007 11:38 Edited at: 13th Aug 2007 11:41
ooooo
ooooo
ooooo
Where's my cookie?
Edit: Just played your game. Wow. When you have enemys there, it'll be amazing. I don't get why you have grids though. Oh and I fell off the matrix.

(N-1)/n*100<n2/n-n/2+n/4*2+100
roddman
17
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 13th Aug 2007 17:05
Quote: "its all pretty and shiny"


It is shiny I don't really know what it does yet but I'll take a look at it tonight when I get home from work.

Cory
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 13th Aug 2007 20:50
I like Bamber shading makes it look all smooth
Nice work so far, I'm thinking the camera controls may be a little rigid when it comes to playing the game though.

Your signature has been erased by a mod because it was rubbish.
Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 13th Aug 2007 20:52
I'm working on my first person cam right now.....
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 14th Aug 2007 16:02 Edited at: 15th Aug 2007 17:38
I know about the camera controls, currently they're made for vieuwing and testing. I'll add straving and jumping in the final.
have you been underwater yet?

Don't look at my sig!
Dark Dragon
17
Years of Service
User Offline
Joined: 22nd Jun 2007
Location: In the ring, Kickin\' *donkeybutt*.
Posted: 14th Aug 2007 18:05
That is a awesome shooter ya got there!!
beats mine.........
Pixelator
17
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 14th Aug 2007 22:01
@ link102
how do you turn???

The problem with the gaming community is people think that the resolution of a game defines how good it is. I am not afraid to make a game where the main character is 50x50.
roddman
17
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 15th Aug 2007 05:31
@link102
Very Nice, good terrain

@Pixelator
Press space to enter first person mode (is that what you meant?)

Cory
Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 15th Aug 2007 17:18 Edited at: 15th Aug 2007 17:57
@Pixelator
There are 2 camera modes, the controls differ between versions:
free flight
in this mode the camera floats to wherever you want it to
left mouse button controls the forward and backward motion of the camera, move the mouse up and down.
right mouse rotates the camera

fist person
the camera acts asif you're playing a fps
pres the w,a,s,d keys to move. move the mouse to look around. shift to duck and jump

the free flight camera wil be disabled in the final



updates:
a croshair
cotrols updated, you can now duck, jump and strave
you now move slower underwater
you can't turn the camera upsidedown in fps mode anymore, but it stil needs work
some minor bug fixes

stuff to do:
doing something to make the map look infinite need some advise on that
swimming
enemy's + ai
goals
objects (bases, fences, bombs whatever)

Don't look at my sig!
roddman
17
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 15th Aug 2007 19:27
Quote: "make the map look infinite"


Maybe instead of making the map look infinite you could add some hills or mountains around the outside, to make it seem like the player is in a valley. And lock the camera inside to keep the player from going past them.

Cory
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 15th Aug 2007 20:15
Looking good
I like going underwater

I changed the cross-hair display to just pasting the image, seems to work better.
I also tried to add a buoyancy effect but I can't get it working


Your signature has been erased by a mod because it was rubbish.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 15th Aug 2007 21:08

Made you a sky texture and changed the water matrix to a box, stupidly thinking that this would remove the need for gamma setting
That's enough ruining your code

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 15th Aug 2007 22:57
Uhhh... that resolution doesn't work for me. Removing it makes your image not work, OBese87. And please remove those lines!

(N-1)/n*100<n2/n-n/2+n/4*2+100
Pixelator
17
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 16th Aug 2007 02:55
@ link

Thank you

The problem with the gaming community is people think that the resolution of a game defines how good it is. I am not afraid to make a game where the main character is 50x50.
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 16th Aug 2007 15:47 Edited at: 16th Aug 2007 16:22
@Pixelator
I messed around with the FOV and got a pretty cool underwater visual effect.

[edit]
Added zooming! Use the mousewheel to magnify the view, cool for sniping
Never used the SET CAMERA FOV command before, it's cool



Your signature has been erased by a mod because it was rubbish.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 16th Aug 2007 16:43
Okkkk, I revamped your map. Now it looks kinda space age, it has a new background, and there's a reason why you can't go over the sides too.


(N-1)/n*100<n2/n-n/2+n/4*2+100
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 16th Aug 2007 21:18
I've started on my new one. It's basically a clone of Link102's, but the code is all mine, except for a bit of OBese87's. (I have to admit though, it is also 30x30 because Link's code taught me much.)


(N-1)/n*100<n2/n-n/2+n/4*2+100
roddman
17
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 16th Aug 2007 21:37
@ INH & LINK

I like the way you both use the data statements to make terrain in your programs, if anyone ever wanted to make a full game using terrain it would be very easy to create a function that allowed the player to quickly edit a matrix, save it to a file, then load it back into the program later as a completely different level. That way you could have multiple maps but still have a fairly short code.

Cory
Pixelator
17
Years of Service
User Offline
Joined: 8th Jul 2007
Location: here
Posted: 16th Aug 2007 23:16 Edited at: 16th Aug 2007 23:18
Quote: "if anyone ever wanted to make a full game using terrain it would be very easy to create a function that allowed the player to quickly edit a matrix, save it to a file, then load it back into the program later as a completely different level."


That is another thing they are doing in spore on a much more complex level. When ever you make a creature or a hut or any other content, not only is it save on your computer but they send a copy of it to their servers so that when you start a knew game, it downloads content form their server as well as from your computer to make a well balanced ecosystem. It shortens the amount of coding they have to do because they just play the game to add creatures and planets.

The problem with the gaming community is people think that the resolution of a game defines how good it is. I am not afraid to make a game where the main character is 50x50.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 17th Aug 2007 00:00
When is Spore coming out??!!! I don't think I can take this musch longer!!

(N-1)/n*100<n2/n-n/2+n/4*2+100
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 17th Aug 2007 00:41 Edited at: 17th Aug 2007 00:46
ha ha, Spore is taking over the forums

@INH
it should be around March or April 2008 but there have already been delays for tweaking so it's still uncertain. The EA CEO has a copy
You should watch the video of Robin Williams playing it, very funny

@All
I am really interested in the techniques they used to build the game.
I want to make procedural animations.
Anyone know how to do this in DB?

@Challenge
No one likes my zooming and fish-eye lens effects for Pixelator's entry?

Here it is again with the pasting cross-hair


look up and down while underwater, it looks so cool

Your signature has been erased by a mod because it was rubbish.
Insert Name Here
18
Years of Service
User Offline
Joined: 20th Mar 2007
Location: Worcester, England
Posted: 17th Aug 2007 11:41
Quote: "The EA CEO has a copy"

How do you go about becoming the EA CEO again?

(N-1)/n*100<n2/n-n/2+n/4*2+100
roddman
17
Years of Service
User Offline
Joined: 24th Jul 2007
Location: Over There
Posted: 17th Aug 2007 19:22
I got bored so I edited Link & Obese's code to include a Matrix Editor and a Save Matrix function which saves all matrix data to a .txt file, I didn't have time to make a Load Matrix function though

Hold CTRL and Press 1 to enter edit mode
Hold CTRL and Press 2 to save the matrix

I know it doesn't have anything to do with the challenge I just thought it would be a cool thing to have.

@Obese
Your code returned an error when I pressed the space bar so I made an object number 1, I don't really know why it's there.



Cory
Libervurto
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 18th Aug 2007 00:00 Edited at: 18th Aug 2007 00:12
Umm this piece of code doesn't do anything. It doubles the variables then halves them again.

[edit]
oops sorry, didn't see the m's there.

I've forgotten whose program this is that we're all adding to
is it link's or pixel's?

Here's the latest edition of THE code


@Roddman
I've encorporated your matrix editor with link's camera change.
Fixed the cross-hair problem.
I fixed the binding problem, you had it like this:

so it would only check if X was greater than 30, if X was less than 0. both happening are impossible. Here's how it looks now:

I changed X and Z to eX and eZ because link used x and z in for loops so it was messing it up.
I still can't get your matrix editor to work, the ground height keeps getting set to the height of x=0 z=0 but I can't find why!!!

Your signature has been erased by a mod because it was rubbish.

Login to post a reply

Server time is: 2025-05-17 23:36:39
Your offset time is: 2025-05-17 23:36:39