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
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 6th Jul 2009 19:44
Hmm, i'll have to come up with something better then...

Your signature was erased by a mod because you copied mine!
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 6th Jul 2009 21:12
Just because people haven't submitted something, I don't think that justifies extending the deadline.

I would rather see a new challenge. Whatever the reasons for lack of take up, belaboring the challenge doesn't seem the best option.

while death = 0 : life() : endwhile
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 6th Jul 2009 23:41
bongadoo: maybe it isn't quite justified; but i just wanted to see some entries that were actually good, not just "not as bad as the others"... to compromise, i've knocked one week off the extension, putting the deadline at July 11

Quote: "Hmm, i'll have to come up with something better then... "

do it. DO IT NAAOOUGHH


Remember those old guys? They made epic renders, I think one of them was called DaVinci, and all they used was MS Paint. Sometimes it's just skill....
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 8th Jul 2009 00:27 Edited at: 8th Jul 2009 04:35
I started making this the other day since it didn't look like anyone even noticed your challenge... but I'm glad to see it did

I think I might have put too much code in this... I copied a lot of functions from my function "library".

Anyways, here it is:


There's still more I could add, like messages they give you the first time you talk to them. But I think it's a good start

In case you're wondering, the characters are added in the label "Init". The text for the character's messages is at the bottom.

Hope you like it
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 8th Jul 2009 04:25
Aurum Knight: yay! a good entry!

some notes:

i had to change "FreeDll()" to "1". is that from some plugin?

i don't know what to think about the .ent property in your entity struct. i think i can understand why you put it there, but the thing is, if you used it in all occurrences where it aught to be used, you'd have an indefinitely recursive array index: "ents(ents(ents(...).ent).ent).ent)". you didn't have this problem because you used the actual index number for the entity in question when accessing its .ent.... to return a number you already know (because obviously you typed it).

actually, just looking it over, if i have this right then .ent in all entities is -1 according to this function:


what is the purpose of .ent? i'm assuming your entity struct is solely for the purpose of storing information--as most are--but it seems that a function like this would suffice:



anyway since your entry yields the desired result as far as functionality goes, you have taken the lead.


Remember those old guys? They made epic renders, I think one of them was called DaVinci, and all they used was MS Paint. Sometimes it's just skill....
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 8th Jul 2009 04:44 Edited at: 8th Jul 2009 04:46
.Ent is used only by the Entity you control; It's used as an array index for the entity that you're talking to. It's a pretty simple system, so I don't think I could end up with a recursive array index.

I guess I could have made it a global, but w/e.

As for FreeDll(), I was deleting some functions that weren't used, I must have deleted that one by accident I updated the code with that function.

I can't think of much else to add to this other than a shop, and maybe some graphics :/
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 8th Jul 2009 05:16 Edited at: 8th Jul 2009 05:18
Quote: "It's used as an array index for the entity that you're talking to."

yes, and you have to know the array index for whichever entity you're talking to in order to retrieve that entity's .ent property. so when you referenced .ent, you had to type the array index manually anyway, defeating its purpose. where you typed ents(ents(0).ent) you could have just written ents(0).

Quote: "I can't think of much else to add to this other than a shop, and maybe some graphics :/"

do it. DO IT NAAOOUGH


Remember those old guys? They made epic renders, I think one of them was called DaVinci, and all they used was MS Paint. Sometimes it's just skill....
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 12th Jul 2009 00:33
Quote: "do it. DO IT NAAOOUGH"



Sorry, didn't really have time to add anything I have/had family over until the end of today.
Image All
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: Home
Posted: 12th Jul 2009 09:33
sorry i forgot about the deadline (almost) but i had a party to go to

winner is Aurum Knight




Remember those old guys? They made epic renders, I think one of them was called DaVinci, and all they used was MS Paint. Sometimes it's just skill....
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 12th Jul 2009 21:06
D'oh! Ok, Aurum Knight, what's the next challenge?

Your signature was erased by a mod because you copied mine!
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 13th Jul 2009 05:15
Not sure yet, kinda leaning towards something AI, like swarm AI Or maybe we could try ant colonies or something

Can't think of much else. I wanna pick something that'll hopefully attract more entries, so if you've got an idea, say so before I pick
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 13th Jul 2009 06:45
AI is kinda cool, where you can pick your own AI since there is like Pathfinding AI and Chess AI

Your signature was erased by a mod because you copied mine!
BillR
21
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 13th Jul 2009 12:53
sounds kinda hard for lots of entries
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 13th Jul 2009 13:25
Noo, AI can be really easy. like a cat chasing the mouse!

Oh No, there's too much blood in my caffeine system!
Stack Overflow: Too many pancakes...
The programmer's national anthem is 'AAAAAAAAHHHHHHHH'. -Weinberg, p.152
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 15th Jul 2009 02:46 Edited at: 15th Jul 2009 20:21
Quote: "sounds kinda hard for lots of entries"

Hmm, you're probably right.

Well, Independence Day just passed a bit ago here, so...

Challenge:
Make a fireworks display. Anything you think looks good will work. If you want to impress me, make different types of firework effects

Extra points for 3d, and for sound

Deadline:
2 Weeks,
July 29th

Good luck
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 15th Jul 2009 02:48 Edited at: 15th Jul 2009 04:22
Ooh, sounds a fun one. I probably won't be in, though.



Diggsey: I have a spine and memory, but one memorable guy says he hates me. What am I?
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 15th Jul 2009 09:13
Sounds cool, i already have an idea

Oh No, there's too much blood in my caffeine system!
Stack Overflow: Too many pancakes...
The programmer's national anthem is 'AAAAAAAAHHHHHHHH'. -Weinberg, p.152
Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 15th Jul 2009 09:24
is the deadline in 2 weeks on the 28 or in one week 0n the 21 or 1 week and 1 day the 22 please let me know. thanks
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 15th Jul 2009 20:22
Oops, I meant July 29th I made the same mistake acelepage made, haha...

I edited the post to the right date.
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 15th Jul 2009 23:00
Ok, here's my entry:



Enjoy!

Oh No, there's too much blood in my caffeine system!
Stack Overflow: Too many pancakes...
The programmer's national anthem is 'AAAAAAAAHHHHHHHH'. -Weinberg, p.152
BillR
21
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 16th Jul 2009 06:34
Nicely done bobbel!

It's cool to drag the clicked mouse across the boxes and fire many rockets together.

Nice use of textures on the exploding sparks.
Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 16th Jul 2009 08:29
knight thanks glad i have 2 weeks too make an attempt on it, I don't think i can beat bobbel's but it don't hurt to try. bobbel excellent work
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 16th Jul 2009 09:12
thanks i might even expand this later to a full game with media since its pretty cool to launch missiles

Oh No, there's too much blood in my caffeine system!
Stack Overflow: Too many pancakes...
The programmer's national anthem is 'AAAAAAAAHHHHHHHH'. -Weinberg, p.152
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 16th Jul 2009 20:44
Hmm, pretty good for so soon I liked the rockets (though the heads could be a bit smaller) and the boxes

You might want to make the background darker, since it is supposed to be a fireworks display, and a dark background naturally makes it look better.

Also, you might want to consider switching to 2d and then making your own particle/fireworks system. The main problem with your entry right now is that the actual fireworks aren't that realistic. Probably due to using the particle system.

I totally forgot that DBP has a particle system. The only reason I would recommend not using them is because you can't add in all the little effects, like the sparkles that fall down, or the little things that whistle/accelerate out You also can't have them fade slowly.

Maybe I'm being over critical.. Good entry
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 22nd Jul 2009 11:07
infinite terrain!
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 22nd Jul 2009 11:10
oops wrong page. thought it was next challenge picking
bobbel
15
Years of Service
User Offline
Joined: 5th Jan 2009
Location: In my DBPro case xD
Posted: 24th Jul 2009 21:05 Edited at: 24th Jul 2009 21:16
So... Did i win?

Edit: I'm not sure cause i have to go now, but if i did, this is the next challenge:

Challenge:
Do something with insects. Doesn't matter what, maybe something cool like an spider chasing a fly or something (i hope somethign more genius cause that idea sucks )

Deadline:
2 Weeks,
7 Juli

I'm the next 2 weeks () to Spain, so i won't be able to judge. Aurum Knight, can you be the judge for this challenge? If not, pick someone else please

Ok, well good luck everyone and see you in 2 weeks!

Oh No, there's too much blood in my caffeine system!
Stack Overflow: Too many pancakes...
The programmer's national anthem is 'AAAAAAAAHHHHHHHH'. -Weinberg, p.152
Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 26th Jul 2009 08:03
Is the fireworks challenge over already, dang and I thought I had 'til the 29th, I was getting somewhere I think, oh well good experience I guess so on to the insect challenge I guess.
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 27th Jul 2009 20:01
Uhhh, no bobbel, not yet. The challenge ends on the 29th. Sorry I didn't correct that earlier You can keep working on the fireworks thing Unstable Data

Okay, since bobbel's leaving, how bout this; If no one else enters, I'll judge. But if someone enters, whether they're winner or runner up, they'll get to judge.

Or should they just pick their own challenge instead of just judging? I'll let them decide...

Too bad no one seems to be noticing any challenges lately
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 28th Jul 2009 05:59
hey, i think ill start entering these, although i havent spent much, if any, time on this board i think im starting to kinda upgrade from DBC to pro, albeit slowly

anyway i was reading the last few posts on here and this caught my attention:

Quote: "Extra points for 3d, and for sound "


if the challenges are media-less how are we supposed to get sound?

Maindric
15
Years of Service
User Offline
Joined: 22nd Jul 2009
Location:
Posted: 28th Jul 2009 06:28
I have been thinking about joining a challenge for a while now, but I will not be able to do that till after aug 14th, going on vacation.

Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 28th Jul 2009 08:45
Quote: "if the challenges are media-less how are we supposed to get sound?"


by using;
MAKE MEMBLOCK
MAKE SOUND FROM MEMBLOCK
WRITE MEMBLOCK BYTE
and i am sure there are other methods I am sure.
well i have 2 days left I will see what i can do.
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 28th Jul 2009 19:16
ok, i guess that makes sense, any examples?

Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 29th Jul 2009 00:37 Edited at: 29th Jul 2009 00:55
That1Smart Guy check out these forums


http://forum.thegamecreators.com/?m=forum_view&t=81175&b=1
http://forum.thegamecreators.com/?m=forum_view&t=106030&b=1

There are 2 threads that will help with understanding it or you can do a search on sound and find more, I hope this helps

I would make a tutorial on the memblocks but I don't know how well everyone would understand it, now if there were some one that would proofread and assist me, I would write it and they can read it and give me feedback then i would be willing to write it.
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 29th Jul 2009 05:44
i understand memblocks quite well, ive just never used sound ones before

Caleb7
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 29th Jul 2009 10:00
Hello! Sorry I didn't say that I was going to try the challenge. I found out about it two days ago. If i'm too late thats alright but this is what I've got so far.



Randomnosity is a special influence upon man kind allowing one to think outside the usual bouderies and into a fantastic world created by oneself. Elephants don't cut it
Caleb7
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 30th Jul 2009 01:09
Ok here is my final draft of my program for this challenge. I could improve more on it but i think this is all i'll do. I just added in the sound recording part where you have to indignify yourself by making fire works noises Haha! And I made the fireworks more fancy.

I hope i'm not too late!

Randomnosity is a special influence upon man kind allowing one to think outside the usual bouderies and into a fantastic world created by oneself. Elephants don't cut it
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 30th Jul 2009 21:00 Edited at: 30th Jul 2009 21:02
Yay, thanks for the entry Caleb7 Okay, time for judging.

bobbel: Your 3d boxes and rockets were pretty good The actual fireworks were okay, but I was hoping for some better effects that you actually see in real life, other than just DBPro particles. Other than that, you could have added a little more background, since the challenge was a fireworks display, even just a black background would have helped.

Caleb7: Nice entry I like how you were creative in putting in sound, it made all the difference I like all of your 3d model things you coded in, especially the fireworks building. I also really liked the cartridge loading system thing As for the actual fireworks, they were pretty much the same as bobbels; They were just okay. Your background was good. It could have contrasted the fireworks better, but it was still good.

Well, Caleb7 wins. Pick a good challenge
Caleb7
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 30th Jul 2009 23:57
Thanks! I was thinking it would be fun to make factory machines that make stuff. You could make anything from sodas to airplanes with your machines. Extra Credit for conveyor belts, sound, and for customizable objects(Like allowing the player to draw the product Labels). But before I say for sure I also would like to hear what other people suggest.

Randomnosity is a special influence upon man kind allowing one to think outside the usual bouderies and into a fantastic world created by oneself. Elephants don't cut it
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 31st Jul 2009 02:49 Edited at: 31st Jul 2009 02:57
I like it . However, I'm not sure something like that does much to increase participation...



Diggsey: I have a spine and memory, but one memorable guy says he hates me. What am I?
Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 2nd Aug 2009 01:04
Do we have the challenge yet, or are ya waiting for more suggestions. If ya want more suggestions, How about a 2d racer game, like make a track on screen and have a car that races around it and maybe some AI car to race against, or a game so you have something to put together like teddy bears or toy cars. Or ya could have one where you have a puzzle that has a grid and ya have to line up a certain amount in a row. Or some kind of tic tac tow game. I can give more suggestions if those don't won't work. You need to keep it easy enough for the new programmers to make.

Unstabledata
That1Smart Guy
15
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 2nd Aug 2009 07:14
caleb set the challenge in his post, his idea was a program that makes stuff, like an assembly line

although he did say he wanted input on it, so have you declared it yet caleb?

Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 2nd Aug 2009 20:54
well dadnabit I would really like to know what the challenge is so i can start on it. I don't really want to start on one and it change in mid stream.
Caleb7
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location:
Posted: 3rd Aug 2009 06:45 Edited at: 3rd Aug 2009 06:48
Sorry... Alright how about a simple 2D Spaceship game? You can dodge asteroids and shoot down UFOs. And I’ll give extra consideration to anyone who uses animated sprites. Sorry to keep you waiting Unstable Data and Smart Guy. Is two weeks a good amount of time? August 16. I think that is an easier task than assembly lines

Randomnosity is a special influence upon man kind allowing one to think outside the usual bouderies and into a fantastic world created by oneself. Elephants don't cut it
Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 3rd Aug 2009 08:30
Caleb7 works for me, work and all.
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 3rd Aug 2009 17:20
Quote: "And I’ll give extra consideration to anyone who uses animated sprites"

Does this mean we can use external media? If not, whats the point of using sprites if we gotta generate the images to be turned into sprites in the first place?

Your signature has been erased by a mod because it is way too awesome!
Aurum Knight
16
Years of Service
User Offline
Joined: 15th Jul 2008
Location: the suburbs of nowhere
Posted: 3rd Aug 2009 18:00 Edited at: 3rd Aug 2009 19:42
Sounds good.

Quote: "Does this mean we can use external media?"


Nope. That's probably why he's giving extra consideration for them.

I'm gonna get to work on this soon I'm hoping I have time to do finish it though...
Unstable data
17
Years of Service
User Offline
Joined: 12th Jan 2007
Location: Texas Panhandle
Posted: 6th Aug 2009 01:15 Edited at: 6th Aug 2009 01:16
Quote: "Does this mean we can use external media? If not, whats the point of using sprites if we gotta generate the images to be turned into sprites in the first place?
"


The challenges are so you can learn how to do that stuff without media, I like the idea, with no media it makes for a level playing field for some of us that can't draw, and it makes it easier to put in the compiler to test and it also teaches you to use how to use the drawing functions, the 3d commands or the memblock commands depending on how you decide to do it.

and if you have problems you can get help with your problems so you can learn where you make mistakes and how to fix them. so I think this is a good thread.
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 13th Aug 2009 10:14
think i might patch something up in three days time for the challenge...
enderleit
17
Years of Service
User Offline
Joined: 30th May 2007
Location: Denmark
Posted: 15th Aug 2009 21:20 Edited at: 15th Aug 2009 21:22
I started creating a space-invader type 2D shooter...
Lemme know what you think so far...



EDIT: Steer the ship left and right using the arrowkeys.

- enderleit
[href]www.eleit.dk[/href]

Login to post a reply

Server time is: 2024-11-24 12:12:39
Your offset time is: 2024-11-24 12:12:39