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 Professional Discussion / - DBPro Coding Challenges -

Author
Message
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 24th Feb 2009 17:14
Its odd because i do use paper and pencils when im helping people in the forum, but never for my larger projects at home...
Btw, my plan at the moment is to try and model NZ using visigoths technique.... And then use it for something

flashing snall
20
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 27th Feb 2009 03:13
Im starting a project right now that me and my buds are taking pretty serious. I just BOUGHT a 40X60 poster board so we can sketch up our world map ideas...

I have a small question about this challenge.
Quote: "Text based game"

Does that mean its a text adventure? Or just a game that uses text a lot?

PGDO. it consumes my every waking moment, that is not already being eaten by work / school / sleeping
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 27th Feb 2009 12:22
It can be a text adventure but it is just a game that uses a lot of text to create the scene, rather than using graphics

Antiz
17
Years of Service
User Offline
Joined: 27th Feb 2009
Location:
Posted: 27th Feb 2009 18:39
Please help me ! i use model textured format 3ds, and he don't compilation. why ?
flashing snall
20
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 27th Feb 2009 21:08
Hold the phone Antiz, this is a NO MEDIA challenge, which means you cant use a .3ds model in the first place.

PGDO. it consumes my every waking moment, that is not already being eaten by work / school / sleeping
BMacZero
20
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 27th Feb 2009 23:13 Edited at: 27th Feb 2009 23:14
Quote: "Please help me ! i use model textured format 3ds, and he don't compilation. why ? "


You should make your own thread to ask this question, this thread is exclusively for discussion of the DarkBASIC Coding Challenges.

flashing snall
20
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 1st Mar 2009 04:30
With the TGC compos starting up, Im going to put this on hold. I might get around to finishing it, but the basic gameplay is up. So in case I forget to post it, Ill post the shell of a game I have now.

W,A,S,D move.
Mouse shoots.

Dodge the enemy guys, you are the circle thing. If you get hit, your score will reset, and the enmies will act like they did at the start.





You have the right to remain silent.
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 2nd Mar 2009 18:05
Not entirely what i meant by text based games, but the ingeniuty is good. Thats actually quite addictive... I only got to 100 once =(

flashing snall
20
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 4th Mar 2009 22:16
hehe, thats why I was checking about what you meant. I dont know if Ill do anything else now that the compo is on.


You have the right to remain silent.
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 5th Mar 2009 17:04
Thats fair enough, Im just hoping that you have some competition...

For all who are entering, the deadline is this Sunday!!

Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 7th Mar 2009 14:34
Been a long time since i entered one of these, but here we go:


As ever, it's not in the slightest way tidy, but it does the job. If anyone needs better instructions on how to play just ask. If I can I might try and squeeze some more levels in later, before the deadline, there's only 15 at the moment.
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 7th Mar 2009 21:38
Only 15??? I only got to 9 but had no points for the vowels...

Glad you could enter, the more the better !

Virtual Nomad
Moderator
20
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 7th Mar 2009 22:57
very nice skyrift

lvl 9 with 1 vowel-buster wasn't enough = i must sharpen my skills!

Virtual Nomad @ California, USA
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 8th Mar 2009 03:05
Yeah, that and level 8 are a bit tough, probably should be made a little more balanced. It is possible though, you just need to 'maze' your towers effectively, making the path the letters take loop tightly back on itself, to give your towers more shots at them.
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 8th Mar 2009 15:53
Right, its sunday, the deadline has passed, and judgement awaits;
I hate this part....

Both of these entries had good text graphics, and they were both extremely playable and fun....

However, I think that one game was a bit more polished, and for this reason the winner is;



The Runner up;


Congratulations to all who entered and I wonder what the next challenge will be...

flashing snall
20
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 8th Mar 2009 23:04
hehe, I got second place! Yea, that other game is pretty rad, I hit level 11 before I died, very fun. I was planning on making some cool explosions, but never got around to it.

Congrats Skyrift, pick a good challenge.


You have the right to remain silent.
Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 9th Mar 2009 10:32
Cool, thanks Monk. Erm, for the next challenge, what does everyone think about doing a screensaver type thing? It could be anything, from particle effects, to some object bouncing around the screen, to some sort of scene thing, or just some trippy light show. Just something that looks cool. I'd just like to make sure there's some interest before setting it.
Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 9th Mar 2009 10:32 Edited at: 9th Mar 2009 16:52
(grumble) damn Opera Mini on mobile, posting twice... (grumble)
Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 9th Mar 2009 16:51 Edited at: 11th Mar 2009 13:57
Is anyone out there?
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 12th Mar 2009 09:38 Edited at: 12th Mar 2009 09:39
Yup! Just about
Sorry I could have sworn I posted a reply earlier but obviously not.. Sorry Sky

Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 12th Mar 2009 13:19
So, is anyone interested in holding a challenge at the moment? Or is the game compo kinda taking preference?
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 12th Mar 2009 18:30
Yeah Id be happy to multitask =)

If you decide to, Id set it as a slightly longer deadline, say three weeks instead of two.

Its your choice at the end of the day, but youll get one entry =)

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 13th Mar 2009 03:04
If you are waiting for a quorum, then I will put in an entry for the next challenge.

( 2b || !2b ), that is the question. The answer: true
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 13th Mar 2009 09:48
I think you should do the challenge as soon as possible and if many people do it, Great!, if not, well then we could do with more people from the forums....

flashing snall
20
Years of Service
User Offline
Joined: 8th Oct 2005
Location: Boston
Posted: 14th Mar 2009 06:03
screen saver eh? Hmm.........


I wish I had access to board 17.
Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 14th Mar 2009 10:38 Edited at: 14th Mar 2009 12:25
Allright, screensaver it is.

Deadline: 4th of April (Saturday three weeks from now)

Challenge: Make a program suitable for use as a screensaver. As said before, it can be nearly anything really, from particle effects, to some object bouncing around the screen, to some sort of scene thing, or just some trippy light show. Just something that looks cool. (and is probably not interactive, but that's up to the entrant)
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 14th Mar 2009 19:03
Cool idea, and I have a plan =)

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 26th Mar 2009 21:19
Challenge Entry

Here's a simple lines screen saver



( 2b || !2b ), that is the question. The answer: true
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 26th Mar 2009 22:37
Thats quite cool! If you could add some interactiveness ie move the centre with the arrowkeys then I think thatd be pretty awesome =)

Ill admit though, I havent started on an entry yet, but I will do one =)

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 27th Mar 2009 04:41
Yes, Monk, you had better get cracking.
I posted early to get the competition going. Let's see what you've got

( 2b || !2b ), that is the question. The answer: true
Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 28th Mar 2009 16:46
That is pretty cool. Maybe you could even just make the centre randomly move around, or add some blur or something. With a bit of spit and polish that could become something quite awesome.
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 31st Mar 2009 18:24
Its getting close to the deadline, but I will get a entry in soon, I just can't make my mind up as to what I should do that could be Acelepage =)

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 31st Mar 2009 19:07
I tried adding a 3D element to my code, but it has become quite resource intensive, so I have had to reduce resolution to gain speed. Not sure if it is an improvement, but interesting to watch.



( 2b || !2b ), that is the question. The answer: true
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 2nd Apr 2009 19:36 Edited at: 2nd Apr 2009 19:39
Ok Acelepage, here is my entry =)

I knocked this up after school, and have a plan to improve =)



I think it works quite well, but dont move your mouse or press a key else itll end, as do all screensavers....

Im happy with 2d Acelepage, it doesnt need 3d as that wont make it much if any better.

Edit:
I just tried your 3d version. No offence, but it sucks compared to your 2d version. The colours are duller, its far slower, and well the 2d one was cool =) I dont think mine beats it....
UnEdit:

Not bad for an hours work...

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 2nd Apr 2009 20:02
@Monk,
Pretty good for an hour's work I would say. Nice keyboard/mouse feature. I forgot about that for a screen saver.

I agree, the 3D one pales in comparison to the 2D. I was experimenting with it, but couldn't get the desired result.

( 2b || !2b ), that is the question. The answer: true
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 2nd Apr 2009 20:58
I think you're 2d one kicks mines butt....
I was gonna add a person and a duck but decided that I couldnt be bothered with all the drawing and extra maths etc, which is a mini shame. =)

Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 5th Apr 2009 10:56
Okay, deadline has arrived. There were two entries (well, Acelepage kinda did one and a half):


Acelepage:
Interesting entry involving particles moving around a point, leaving multi coloured trails. There was a 2D and 3D version, though the 3D version ran slowly, even at low reolutions, compared to the good performance of the 2D one.

Monk:
This entry consisted of lines shot in from the side of the screen, which then exploded into more. Again, very colorful.

Both entries provided something interesting to look at which was constantly changing and colorful, but after watching both run for a while, one was slightly more interesting to watch, and so the winner is:

Quote: "
Acelepage
"
acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 5th Apr 2009 17:14 Edited at: 5th Apr 2009 17:14
Thanks Skyrift.

Now I have to come up with something not done in the challenge thread before. I'm thinking of a water effect. I saw an Xbox game with a plane splash into the ocean. I thought the splash looked cool.
So, how about a water splash effect.

Challenge
Create a water splash effect. Could be water drop, or big water explosion, or a wave breaking, or anything else you can think of that has a water splash in it.

Deadline
April 18 midnight

( 2b || !2b ), that is the question. The answer: true
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 5th Apr 2009 21:38
Well done Ace! (hope you don't mind the shortening, but its apt)
I did say yours was better!

A Water splash, hey..., this could be good =) I like the creativeness!.

I think I can come up with something for this, I saw something good on the code snippets thread that could help =)

Skyrift
18
Years of Service
User Offline
Joined: 8th Mar 2008
Location:
Posted: 6th Apr 2009 02:40 Edited at: 6th Apr 2009 02:41
Damn. Just realised I hit "quote" instead of "code". Ah well. Water splashing hey? The closest challenge to that that's already been done was the waterfall, I think. Not sure how I'll do it, but I think i'll try and enter something.
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 15th Apr 2009 13:44
I found this a while ago in the code snippets thread, and just stumbled across it in my documents again today. Its a wave demo that someone made.



I think its probably what you were aiming for in your competition, but my entry isnt that good yet =)

Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 18th Apr 2009 12:43
I'm extremely busy today, so I cant put my entry in today.
However, I'm free tomorrow so I could finish my entry then and get it in then.

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 18th Apr 2009 15:37
Well, if you are in Hawaii, then midnight doesn't get here until 10AM GMT. But since there are no entries yet, there is no one to take issue with it, so please go ahead and submit your entry tomorrow. I will hold off judging until tomorrow.

( 2b || !2b ), that is the question. The answer: true
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 19th Apr 2009 13:09
I apologise, this isnt quite as good as I imagined it would be, but it works, and its what I was aiming for.

Its a basic diffraction demo, that is, when a wave passes an object, it spreads around it, leaving a patch of nothing directly behind the object.
This demo does a similar thing, using a matrix as waves.




You can use the up and down arrows to move one of the blocks.

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 19th Apr 2009 19:12
@Monk,
That is a neat idea. I tried playing around with the code that sets the matrix height to 0. I modified it so it would reduce the height of the waves, but still have some wave activity.
for z = diff(d,3) to diff(d,3)-diff(d,1) step -1
set matrix height 1,diff(d,2),z,get matrix height(1,diff(d,2),z)*0.1
next z
It would probably be more viewable with a texture as it is a bit hard to see the reduced wave activity with wireframe.

Nice entry.

( 2b || !2b ), that is the question. The answer: true
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 19th Apr 2009 20:21
Yeah, the idea would work best with actual water and a terrain but thats fairly hard to do quickly and medialessly.

I toyed with the idea of steppng from full height, to half height, and then 0 in the middle but didnt think it would make much difference.

Now, Im assuming that I set the next challenge, in which case, any ideas?

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 19th Apr 2009 20:53
Wait, better make it official.

Winner: Monk

( 2b || !2b ), that is the question. The answer: true
Monk
17
Years of Service
User Offline
Joined: 25th Sep 2008
Location: Standing in the snow =D
Posted: 19th Apr 2009 20:59
It would have been funny if I lost...

Im stuck for challenge ideas though...

acelepage
22
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 19th Apr 2009 21:23
I have been thinking about how to write a user control for 3D objects. I want to give the objects a feeling of inertia, like they have weight. Also, mouse input provides only 2D. There is the challenge of managing 3D movement with a mouse or keyboard.
Perhaps something along the lines of an input routine that moves objects around.

My specific needs can be handled by waypoints as I have a pre-defined path that my object needs to travel. Just so no one thinks I am suggesting this challenge to get some free code

( 2b || !2b ), that is the question. The answer: true
Jimmy
22
Years of Service
User Offline
Joined: 20th Aug 2003
Location: Back in the USA
Posted: 20th Apr 2009 01:37 Edited at: 20th Apr 2009 01:38
Think of a good one!

I've been itching to code something...

Heaven forbid I should work on one of my games

NaGaFailMo.

Login to post a reply

Server time is: 2026-07-01 11:28:42
Your offset time is: 2026-07-01 11:28:42