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
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 27th May 2010 15:46
It was a long weekend for me, so I was away, but June 4 is still lots of time. I'll aim to put in an entry for this one.

( 2b || !2b ), that is the question. The answer: true
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 27th May 2010 15:57
Yay! At least one entry!

My signature is NOT a moderator plaything! Stop changing it!
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 28th May 2010 23:19
Here's screen shot of my WIP. Been working on it a bit today.

( 2b || !2b ), that is the question. The answer: true

Attachments

Login to view attachments
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 29th May 2010 18:44
Nice. Can't wait to see it finished!

My signature is NOT a moderator plaything! Stop changing it!
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 29th May 2010 18:58
All you need now is some sand .

IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 31st May 2010 03:33 Edited at: 31st May 2010 04:50
ok, due to all the peer pressure, i caved and made a beach scene.
press space bar to generate a new scene...
###########################
my entry
Neuro Fuzzy
17
Years of Service
User Offline
Joined: 11th Jun 2007
Location:
Posted: 31st May 2010 05:41
Haha! IBOL, I like it!


BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 31st May 2010 05:47
Pretty cool there .

chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 31st May 2010 12:51
Hey !!...that´s great !! we need just a couple of beers.

cheers.

I'm not a grumpy grandpa
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 31st May 2010 22:46
Not bad at all IBOL!

Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 31st May 2010 23:32
Cool.

My signature is NOT a moderator plaything! Stop changing it!
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 1st Jun 2010 01:31
thanks all, but somebody else better enter this... i don't want to set the challenge again
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 1st Jun 2010 04:17 Edited at: 1st Jun 2010 04:18
I'll get my entry in by the deadline. Just working on it during lunch hours, so it's going a bit slow.
Here's an updated screen shot.



( 2b || !2b ), that is the question. The answer: true

Attachments

Login to view attachments
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 1st Jun 2010 05:09
hey chafari, there's those beers you wanted!
nice job acelpage!
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 1st Jun 2010 16:07 Edited at: 1st Jun 2010 16:08
Wow...it´s fu...ng good!!...good job acelepage,and you came with my beers.

Quote: "hey chafari, there\'s those beers you wanted!"


Yeah ...ha ha I´m gonna get drunk !!.


Cheers.

I'm not a grumpy grandpa
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 2nd Jun 2010 16:04 Edited at: 2nd Jun 2010 22:27
#############################
Entry for Challenge: seascape
#############################


Here's what I've got so far. I have commented by code a bit. When I put in shadows I realized that shadow shading does not handle transparent textures, so I had to create my own tree shadow.
I still have more ideas for adding stuff, if I have time.


Edit: added animation

( 2b || !2b ), that is the question. The answer: true
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 2nd Jun 2010 23:41
That's great, now I need a holiday!!

Well done @acelepage!!

Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 3rd Jun 2010 12:08 Edited at: 3rd Jun 2010 12:10
Very nice acelepage!

The deadline is approaching at midnight tomorrow night. Get your entries in!

My signature is NOT a moderator plaything! Stop changing it!
owlman
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Italy
Posted: 3rd Jun 2010 13:45 Edited at: 3rd Jun 2010 20:19
#############################
Entry for Challenge: seascape
#############################

hi all, I wanted to enter something into the seascape challenge .. I have included on screen help for the hotkeys .. but in brief, keypad 1 opens one of the huts door, shift + keypad 1 opens the other. similarly closing the doors and opening/closing the windows keypad number for one, 'shift'+ keypad number for the other. keypad 8 toggles the radar antenna on and off and keypad 9 rotates one of the three canoes. keypad 3 throws the lifebelt into the sea and keypad 6 replaces the belt onto the holder.

EDIT .. warning: this program resets the screen to 1280 x 1024 x 32 - if you're running an older machine pls replace the first line of function setup() to a lower res. - the program also writes a 1024x1024 bitmap which should be likewise redimensioned to suit your machine caps.
to use the hotkeys as written you'll need a numpad - feel free to reassign the keys to your liking.



"You look like a bear holding on to a balloon," you said.
"Not," said Pooh anxiously, "not like a small black cloud in a blue sky?" -
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 3rd Jun 2010 18:40
@owlman,
I got an error when it tried to set display to 1280,1024 so I dropped it down to 1280,768 (my laptop does not support larger screen height). Then I got an error on get image because it is trying to grab outside of the screen size (1024, 1024). So I changed that to 1024, 768 and was able to get the program to run. But my laptop doesn't have a keypad, so I am having trouble with the hotkeys.

( 2b || !2b ), that is the question. The answer: true
owlman
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Italy
Posted: 3rd Jun 2010 18:51
@acelepage - oh dear .. i guess my program isnt designed for some machines. thanks for the tip. i could have tested your card for screen res etc .. but it's only a quick prog .. you could change the hotkeys if it was worth it tho i guess ..

"You look like a bear holding on to a balloon," you said.
"Not," said Pooh anxiously, "not like a small black cloud in a blue sky?" -
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 3rd Jun 2010 18:56
@owlman,
Yes, I'll change the hotkeys so I can try it out.
Thought that the feedback would help out for future projects.

( 2b || !2b ), that is the question. The answer: true
owlman
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Italy
Posted: 3rd Jun 2010 18:59
@acelepage .. it will help indeed - thanks a lot. I'm very grateful for your kindness and time.

"You look like a bear holding on to a balloon," you said.
"Not," said Pooh anxiously, "not like a small black cloud in a blue sky?" -
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 4th Jun 2010 16:09
Awesome !! I like the way you make the whole scene, moving in 3D space


cheers.

I'm not a grumpy grandpa
owlman
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Italy
Posted: 4th Jun 2010 16:52
thanks ..

"You look like a bear holding on to a balloon," you said.
"Not," said Pooh anxiously, "not like a small black cloud in a blue sky?" -
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 5th Jun 2010 07:33
Wowlman!
owlman
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Italy
Posted: 5th Jun 2010 18:30
lol wowlman - i called myself owlman cos at time i was always on here in middle of night like an owl lol .. then for personal reasons i couldnt b on here at all for a year or more and so really just started using this site .. these challenges are helping to focus my mind - which tends to b all over the place otherwise .. :ç) ..

"You look like a bear holding on to a balloon," you said.
"Not," said Pooh anxiously, "not like a small black cloud in a blue sky?" -
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 5th Jun 2010 19:40
OK Mobiius, what's the verdict? We're ready for judging.

( 2b || !2b ), that is the question. The answer: true
owlman
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Italy
Posted: 6th Jun 2010 01:32 Edited at: 6th Jun 2010 17:05
@acelepage .. i agree .. looks like Mobiius has forgotten ..

"You look like a bear holding on to a balloon," you said.
"Not," said Pooh anxiously, "not like a small black cloud in a blue sky?" -
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 6th Jun 2010 03:19
Ok Judging! Sorry about the lateness! lol

I found entries by:
IBOL
acelepage
owlman

After much deliberating, the winner is........



This entry was by far the best one here (As I couldn't get owlman's to run correctly at all even after doing the resolution changing thing. All I get is a blank screen.

So, then, the next challenge is yours to set!

My signature is NOT a moderator plaything! Stop changing it!
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 6th Jun 2010 18:59 Edited at: 6th Jun 2010 21:54
a-cele-page! a-cele-page! (that's a cheer)

hey hey! ho ho! 1100110!
owlman
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Italy
Posted: 6th Jun 2010 19:47 Edited at: 6th Jun 2010 20:31
ah just my luck .. wont run at all umm .. glad other people got it to run with no problems in that case or id b inclined to think the code was somehow bad ..

well done acelepage .. cant wait for your challenge ..

"You look like a bear holding on to a balloon," you said.
"Not," said Pooh anxiously, "not like a small black cloud in a blue sky?" -
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 6th Jun 2010 21:44 Edited at: 6th Jun 2010 21:46
Congrats!! acelepage.

@owlman
Your code was super in may desktop...I didn´t have to change a coma.

cheers.

I'm not a grumpy grandpa
owlman
15
Years of Service
User Offline
Joined: 8th Apr 2009
Location: Italy
Posted: 7th Jun 2010 00:10
@Chafari .. i'm glad

"You look like a bear holding on to a balloon," you said.
"Not," said Pooh anxiously, "not like a small black cloud in a blue sky?" -
Mobiius
Valued Member
21
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 7th Jun 2010 00:49
Wish I could have ran it as it sounded like a potential winner.

My signature is NOT a moderator plaything! Stop changing it!
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 7th Jun 2010 01:41 Edited at: 7th Jun 2010 01:43
Sorry for the dely. Had a power outage here today and couldn't get on the internet.
OK, I have a number of ideas for a challenge, but want to suggest something that will appeal to the masses. I was reading the latest newsletter, which starts out remembering the old Wolfenstein 3D game. I recall playing that a lot, and the other FPS games that followed in its footsteps. As the games progressed, there were more and more available weapons, with cool names, and cool effects.

So, I was thinking it would be a good challenge to come up with an arsenal of FPS weapons, with cool shooting effects. Like the drunk missile, and the fire wall.

##################################################
Challenge Announcement
--------------------------------------------------
FPS Weapons Arsenal

Come up with a bunch of FPS weapons, that each have
a cool/unique firing effect.

Deadline: June 20 2010 (2 weeks)
##################################################


( 2b || !2b ), that is the question. The answer: true
Valle
18
Years of Service
User Offline
Joined: 10th Mar 2006
Location: in your girlfriends bed
Posted: 8th Jun 2010 00:48 Edited at: 8th Jun 2010 00:49
FPS? That means it has to be 3d. Do you want us to create different weapon-models via memblock commands? You want to have cool shooting effects? All that without media? Seriously?

This challenge is about having many people having fun coding simple but interesting stuff. I bet no one will participate in this one, two weeks are a long time to wait...

PS: just my opinion, i don't want to offend you


BillR
21
Years of Service
User Offline
Joined: 19th Mar 2003
Location: United States
Posted: 8th Jun 2010 03:30 Edited at: 8th Jun 2010 03:31
I think he means program the projectile and effects, not the actual weapon (gun model)
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 8th Jun 2010 04:50
I certainly was not talking about the gun model. You could just use a bunch of different colored cylinders sticking out of the bottom of the screen. I was speaking of shooting effects. There are simple guns like in Rise of the Triad, where each weapon is based on a real gun type (hand gun, automatic, tommy gun). Then there is the Doom weapons, like missile launchers, BFG.
You could even make a cannon that shoots cannon balls. I would leave it up to your imagination.

( 2b || !2b ), that is the question. The answer: true
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 8th Jun 2010 11:04
Maybe a simple FPS environment would help this challenge along? I would knock a simple one up myself but I'm really behind on other stuff!

I know the "Battleships" challenge seemed a lot more fun having an environment to work with.

Just a single or couple of rooms with empty functions maybe like:


BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 8th Jun 2010 16:48
It sounds like an interesting one to me, I'd do it but I have a couple of other projects I really need to get working on.

acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 8th Jun 2010 18:05
Well, here is a simple environment you can use to shoot your weapons. Flaming arrows perhaps?



( 2b || !2b ), that is the question. The answer: true
chafari
Valued Member
18
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 9th Jun 2010 15:20 Edited at: 9th Jun 2010 15:25
Hi all. That´s what I have at the moment.I have to add some firing effects.You can load your own sound for the explosion and activate lines 69 and 174.I want to add some effects...I´m on it...but my wife keeps watching all the time ....just from work to my laptop...no time for my wife...ha ha I`m gonna be killed one of this days


Cheers.






I'm not a grumpy grandpa

Attachments

Login to view attachments
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 9th Jun 2010 19:23
Nice looking grenade!

( 2b || !2b ), that is the question. The answer: true
Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 19th Jun 2010 00:52
http://dbp-site.com is no longer active? Anyone know the site's domain changed or if someone else is hosting the challenges? If not, I have a lot of work to catch up on


"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 19th Jun 2010 01:25
no, it's not. i just found out too. people are still doing challenges, though.

hey hey! ho ho! 1100110!
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 19th Jun 2010 06:44
Are you compiling them, Phaelax?

Phaelax
DBPro Master
21
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 21st Jun 2010 02:31
If the current DBP challenge site can no longer be maintained, I'll incorporate it into mine. I find it to be a good reference source. If the site or database still existed I could write a script to import everything to mine, however, it'd take me weeks to do it manually starting at the beginning of the 180 pages in this thread.


"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 21st Jun 2010 04:12
Use Black Widow - it's perfect for that sort of thing - and you can even write scripts if you want to get fancy...

http://softbytelabs.com/us/bw/

BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 21st Jun 2010 04:29
Could probably do a DarkBASIC program, too, like I did for the Posting Competition.

Login to post a reply

Server time is: 2024-11-24 04:52:00
Your offset time is: 2024-11-24 04:52:00