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 / *** Christmas DBPro Minimal Media Coding Competition ***

Author
Message
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 2nd Jan 2008 21:03
@ Sven; please check that your editor does not rely on any external plugins, such as BlueGUI. I haven't tried running it yet, but I noticed the source code uses the command StartBlue. Also, you have included your serial number/key in the code which you shouldn't really reveal to other people for security reasons.



Visit www.andromedus.com today!
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 2nd Jan 2008 22:13 Edited at: 2nd Jan 2008 22:40
My excuses to everyone.

I didn't know the "object excluded()" was one of a DLL. No worries!

And yes the santa shoots in the air because of it. The excluding disables the collision with the santa, and the present is positioned within the santa.

Secondly, the StartBlue command is used to be able to use the msgbox command to check various variables for errors, my apologies for that too.
I removed the downloads. I will delete the startBlue and object excluded() and will upload again.

Again, sorry!
SvenB

[edit] I have reuploaded the files. See my original posts.
I moved my plugins to an other folder just to make sure there aren't any commands used by plugins I downloaded. I also double checked both source codes in notepad for "object excluded(".
Sorry for the inconvenience.

I'm also planning to increase the movements speed/animation bmac. But I first wanted to at least post a working version that isn't against the rules (even though it's just changing one of the globals at the start of the program lol)...
If you'd like you can change line 142 to


It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 2nd Jan 2008 22:27
Meh, I guess spending my christmas break in Canada and New York while playing Halo 3 on LIVE and reading up on internet marketing wasn't such a bright idea for this compo

I'm going to have to quit yet another competition.


Ah well, back to the MMO


Productivity on Hassassin has increased tenfold.
Markswii
17
Years of Service
User Offline
Joined: 5th Aug 2007
Location: Object position x (mark)
Posted: 3rd Jan 2008 00:29 Edited at: 3rd Jan 2008 00:30
I just started with dark basic about 6 months ago so I just whipped this up because it seemed like fun.

Give a monkey the finest brushes and paint and you probably end up with feces on a canvas, give Da Vinci a box of crayons and a piece of notebook paper and you probably end up with a masterpiece.
gbark
19
Years of Service
User Offline
Joined: 14th Oct 2005
Location: US - Virginia
Posted: 3rd Jan 2008 06:01
I'm working on my project as well, I have to admit I've been a little less than diligent in my work since xmas... The brand new Wii in our house has been a bit of a distraction, heh.

I've got collisions and most of the basic game engine done now, I'll have to really do my best to make the deadline though.
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 3rd Jan 2008 09:18
Quote: "I just started with dark basic about 6 months ago so I just whipped this up because it seemed like fun."


Did you mean to attach something, as nothing is showing for me?

while death = 0 : life() : endwhile
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 3rd Jan 2008 18:46 Edited at: 3rd Jan 2008 18:48
I too am going to have to quit, Christmas got the better of me and unfortunately i have no free time with exam mocks in the next week or so. Oh well, good luck to those who are still in the compo
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 3rd Jan 2008 19:31 Edited at: 4th Jan 2008 22:47
Christmas Comp Entry

Santa's Workshop

[edit] Code removed. An updated code is posted 9 messages below (version 2.0) which fixes bugs.

( 2b || !2b ), that is the question. The answer: true
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 3rd Jan 2008 21:07
Nice game acel I like the franticness of the elf, and the text on objects. No problems compiling or playing at all

while death = 0 : life() : endwhile
Bad Monkey
17
Years of Service
User Offline
Joined: 1st Jan 2007
Location:
Posted: 3rd Jan 2008 21:17
@acelepage:

There's a problem with your neat game. There is sign on the back wall that says, "Presents Processed: 1". The sign becomes unreadable when I start collecting presents.

I have attached a screen shot to show you what I mean.

It is a fun game, otherwise.

Buy some new FPSCreator Ready Characters at:
http://www.freewebs.com/fpscharacters/

Attachments

Login to view attachments
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 3rd Jan 2008 23:21
@Bad Monkey,
Thanks for the screen shot. It looks like the font or the image had increased, so that it does not fit the object.
I did not experience that myself. I will look into it and see if I can determine what could cause that.

( 2b || !2b ), that is the question. The answer: true
Dark_Jedi
17
Years of Service
User Offline
Joined: 23rd Mar 2007
Location: Not behind you with a gun.
Posted: 4th Jan 2008 05:12
Wow. I just saw this yesterday. Considering the fact that I am a DBPro n008 (I've been studying for about a year) I probably won't get an entry ready by the 7th. But I can try. I think I'll try Super Collapse type thing, but there is no way I will match anyones graphics. I may try to steal some of the other contestants ideas ( and code) for graphics if its allowed.

It only looks like I know what I'm talking about.
Jammy
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 4th Jan 2008 12:53
Quote: "The competition will run for three weeks from Sunday 16th December 2007, to Midnight on Sunday 7th January 2008"


According to my calender the 7th is monday - does the compo end at 23:59 on sunday night or 23:59 on monday the 7th ?. I hope it is monday night, as i still have a fair bit i would like to do, and i am nightshift fri and sat nights -will sleep most of sunday and was counting on monday to finish.

I will enter what i have either way. So it is not a major problem.

@ acelepage - Good game, though i found it a little hard. i get the same minor problem as Bad Monkey. but overall - looking good.

qqwy
16
Years of Service
User Offline
Joined: 3rd Jan 2008
Location:
Posted: 4th Jan 2008 15:34
i will enter too, im already developing, but i hope i have enough time to make the game finished.this will become the first(finished) game i made.XD



@Attila, could i use the midi code as well? you have it from the forum too, am i right?

parachute for sale, once used, never opened, slightly red stain
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 4th Jan 2008 20:52 Edited at: 4th Jan 2008 22:45
@Bad Monkey
@Jammy

I cannot reproduce the error, but I have changed my code. The sign was being updated by using a texture limb command, and using limb 0 to access the root object. I think this is not recommended. So I have broken up the object so that I can use the texture object command instead.

Anyway, can you give it a run now and see if it works better?
Much thanks for your help.

Santa's Workshop Version 1.1

[edit] Code removed. Updated code (version 2.0) posted 2 messages down.

( 2b || !2b ), that is the question. The answer: true
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 4th Jan 2008 21:52 Edited at: 4th Jan 2008 22:07
@acel

Fixed your problem.

In function update_scoreboard():

get image I_scoring,0,0,99,79

change to:

get image I_scoring,0,0,99,79,1

This will retain pixel perfect image without filter. Fixes the problem; must have been to do with image stretching. Also, in make_scoreboard() I changed:

make object box scoreboard,50,40,1

to:

make object plain scoreboard,50,40

This doesn't appear to make a difference, but hey, its 10 less polys

while death = 0 : life() : endwhile
acelepage
20
Years of Service
User Offline
Joined: 2nd Jun 2004
Location: Plattsville
Posted: 4th Jan 2008 22:44
Hey Bongadoo,
Thanks for the edits. That's great. I am posting the updates here.

Santa's Workshop Version 2.0



( 2b || !2b ), that is the question. The answer: true
Zappo
Valued Member
20
Years of Service
User Offline
Joined: 27th Oct 2004
Location: In the post
Posted: 5th Jan 2008 00:46 Edited at: 6th Jan 2008 01:58
Here's a quick entry from me. I thought I had better upload it now in case I don't get a chance before the deadline.

Its a puzzle game called "Wrap N Stack".
Parcels fall from the top in groups of 2,3 or 4. You position them as they fall using the left and right cursor keys. You can cycle their order using the up and down cursor keys. Put three in a row either horizontally or vertical and they will disappear. If they stack to the top then the game is over. There are three difficulty levels and the speed increases as you play.

To change the location of the 'gift' files change lines 58 to 64.

Enjoy!

EDIT: This is now an OLD version. See below for version 1.1


Chart data provided with kind permission from ELSPA

Attachments

Login to view attachments
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 5th Jan 2008 01:40
Spiffy game, Zappo! Only one thing - you should add support for eliminating more than 3 packages at a time. Say you had 1 blue and you landed 3 blues on top of it, only three of them currently disappear.


"Ok, so that wasn't funny. I don' have any good Christmas jokes."
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 5th Jan 2008 12:19
Nice game Zappo If there was a way to move them down quickly by pressing space or something it would be good also.

while death = 0 : life() : endwhile
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 5th Jan 2008 14:35
Quote: "According to my calender the 7th is monday - does the compo end at 23:59 on sunday night or 23:59 on monday the 7th ?"


Well spotted! It should say Monday, not Sunday - my mistake.

To clarify, the deadline is on the 7th, at 23:59, Los Angeles time (UTC-8). That will infact be Monday night, not Sunday night.

To avoid confusion over time zones, there is a countdown timer right at the bottom of the page here: http://www.andromedus.com/mmcc2007/



Visit www.andromedus.com today!
Turtle Soup
20
Years of Service
User Offline
Joined: 30th Jul 2004
Location: -.-
Posted: 5th Jan 2008 14:51
hey. heres my entry:
having realised i have an exam next week i havnt really done much since i started this game last week. but here is my entry anyway
im afraid im not particularly that good =/

anyway, your a snowball on his way to make a snowman
you have to collect all 10 presents in order to become a snowman
and you have to dodge the fireballs and...just fire...
'cos ul melt





Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 5th Jan 2008 15:05
Nice game Turtle I noticed that my present count didn't reset if I played more than once, so I could get more than 10 presents!

while death = 0 : life() : endwhile
Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 5th Jan 2008 16:09
Attached is the updated code for now.

I did some bug fixes, I added a level (I'm really having troubles thinking of levels...)
I also updated the editor source code, but I'll post that with the final version.

I added some keywords for commands too:
Stay, Follow, JumpOn already existed before.

Now added:
Move (forward): the santa moves forward until it hits something
Jump forward: the santa jumps forward.
Turn...
... Left: the santa turns left
... Right: the santa turns right
you can specify degrees by adding "# degrees" to your command.
eg. Bongadoo, turn 60 degrees left.

TutleSoup:
That was quite interesting.

acelepage:
Very nice! You actually added a losing animation too lol. And I like the messages popping up.

Zappo:
I kinda miss the the 4 in a row combo too. I did play till over 1000 points though...

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.

Attachments

Login to view attachments
Turtle Soup
20
Years of Service
User Offline
Joined: 30th Jul 2004
Location: -.-
Posted: 5th Jan 2008 18:46
oh aye, didnt notice that...
thanks Bongadoo

Sven B:
nice job i accidently pressed "1"+"2" and found out how to skip levels so i got a good look at all the work you put in
i kinda feel embarrassed now
ur limb animations on the santas are also really pretty
good job

oh yeah...



not sure if its worth it for extra line...
the UPDATED SNOWBALL

Sven B
19
Years of Service
User Offline
Joined: 5th Jan 2005
Location: Belgium
Posted: 5th Jan 2008 19:08
Quote: "i accidently pressed "1"+"2" and found out how to skip levels"


Lol, it will be removed in the final version. This just comes in handy for debugging ^^.

Don't feel embarassed. It's not final anyway...
And it doesn't mean you actually completed the level right?

And it's ALWAYS worth an extra line lol (maybe not the bandwidth though...)

It's the programmer's life:
Have a problem, solve the problem, and have a new problem to solve.
Turtle Soup
20
Years of Service
User Offline
Joined: 30th Jul 2004
Location: -.-
Posted: 6th Jan 2008 00:57
lol,oh god no. my laptop is a tad slow and it would have taken me a while at the speed the santas were travelling to finish even teh first level
i just had a good look round and found myself very impressed

if u intend to add more levels ur mad, either that or you REALLY want that prize

good luck anyway Sven

and that goes for everone else

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 6th Jan 2008 01:11 Edited at: 6th Jan 2008 13:17
I'm almost out of time, but here's the level editor (including a simulator of the final game idea) I have been working on...

Basically, you draw a bezier curve with the mouse, hit F9 to generate a 3D mesh (do this BEFORE trying the simulator), then hit Enter to test it out.

It turns it into a roller coaster

[EDIT]
See a few more posts ahead for a working version!
[/EDIT]


Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Zappo
Valued Member
20
Years of Service
User Offline
Joined: 27th Oct 2004
Location: In the post
Posted: 6th Jan 2008 01:56
Thanks for the comments.
Attached is an updated version of "Wrap N Stack" (v1.1). It now includes checking for 4 in a row as well as 3 in a row, and pressing the space bar makes the parcels drop instantly - by popular demand
Scoring: You get 1 point for every group of parcels dropped. Getting 3 in a row gives you 10 points, getting 4 in a row gives you 15 points so its worth laying them out to try and get 4 together.

Enjoy.


Chart data provided with kind permission from ELSPA

Attachments

Login to view attachments
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 6th Jan 2008 02:22
@Turtle soup: Pretty fun game! Two things: you spelled "enter" wrong on the main menu . Also, the game runs pretty slowly (at least on my computer)

@Jess: Sounds cool, but I got a "could not understand command at line 382." It reads "sFont_Init(100)."


"Ok, so that wasn't funny. I don' have any good Christmas jokes."
Zappo
Valued Member
20
Years of Service
User Offline
Joined: 27th Oct 2004
Location: In the post
Posted: 6th Jan 2008 02:25
Jess - It won't work for me. Seems to fall over initially at line 382 'sFont_init(100)'. There also seems to be several .X models which look like they are required.


Chart data provided with kind permission from ELSPA
Bad Monkey
17
Years of Service
User Offline
Joined: 1st Jan 2007
Location:
Posted: 6th Jan 2008 03:08 Edited at: 6th Jan 2008 03:12
Here is my entry. I hope it works. It's a first person game set in a maze. You use the W, A, S, D, keys to move around. You use the mouse key to look around.

I've kept it simple, without a whole lot of graphics. If you are clever enough, you can even change the layout of the map and perhaps even the size of it.

I also included a screenshot.



Buy some new FPSCreator Ready Characters at:
http://www.freewebs.com/fpscharacters/

Attachments

Login to view attachments
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 6th Jan 2008 07:53 Edited at: 6th Jan 2008 07:56
Whoops, silly me...

Forgot to get the full source dump (I have included source files through the IDE).

The loaded .x file was meant to be the pressy, but I've taken it out for now.

Attached is the (hopefully) working copy.

Nintendo DS & Dominos :: DS Dominos
http://jt0.org

Attachments

Login to view attachments
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 6th Jan 2008 11:39
@Jess

I get an array subscript out of bounds at line 1384 whenever I try to 'run simulator'? Also I had to replace all instances of max and instr because Styx uses those commands

@Bad Monkey

Nice, I like the water effect

while death = 0 : life() : endwhile
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 6th Jan 2008 11:42 Edited at: 6th Jan 2008 11:46
Santa Pro Snowboarding

Final version, with a few tweaks and sound. If anyone can find any bugs please let me know

I didn't get to add the extra buildings unfortunately, but it would have just been generating extra art assets anyway

while death = 0 : life() : endwhile

Attachments

Login to view attachments
Jammy
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 6th Jan 2008 12:29
@ acelepage plays even better - and no glitch - good work

@ Turtle Soup Game plays at a fair speed here - Nice, Like many things - good gift placement and great background, though an option to turn off the music would be good and sometimes my snowball seems to fly - does not return to ground - mostly when playing a new game.

@jess - Program would not run - could not understand
382 sFont_init(100)
383 spriteFont = sFont_create("Arial Black", 12, RGB(255,255,255), RGB(2,2,2), 1)
409 _input_set_active(0)
410 _input_sprite_font(spriteFont)
418 D3D_Init
433 _input()
543 file = _open_save("All Files ( *.* )|*.*|",Get Dir$(),"Save File","sav",0)

and lots more - are you using a plugin ?

Turtle Soup
20
Years of Service
User Offline
Joined: 30th Jul 2004
Location: -.-
Posted: 6th Jan 2008 12:39
i did a starslide!!!

i was beginning to doubt there being anything up that high
still only 4th in the highscores tho D:
i like it


and thanks bmaczero for spotting the spelling error
i cant be bothered fixing it though ^-^
and yeah, it does run kinda slow on my pc too...b' reyt =/

Bad Monkey:
i love mazes and cool water effect

Turtle Soup
20
Years of Service
User Offline
Joined: 30th Jul 2004
Location: -.-
Posted: 6th Jan 2008 12:43
Jammy:

lol yeah, i did notice that "flying ball" thing when you start a new game. im not sure what makes it happen though =/

and you can turn music off at the top of the code if u wish. there's:


Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 6th Jan 2008 12:47
@Turtle Soup

Hehe good job Now you can go for the Game Over trick

while death = 0 : life() : endwhile
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 6th Jan 2008 13:16
Bongadoo,
As I said earlier, you need to draw a curve, then hit F9 to generate a Mesh before trying to run the simulator.

As it stands, it's only a very minimalistic editor, and I will more than likely not get enough done to put in a full entry, but I thought this might make the difference.

Jammy,
You need the latest version I uploaded (a few posts up), the last version was without the extra functions (included source files)

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 6th Jan 2008 13:29
Sorry Jess. Don't you just hate it when people don't read instructions properly

Very nice engine; as you say, would be great if you could get a full game together.

while death = 0 : life() : endwhile
Turtle Soup
20
Years of Service
User Offline
Joined: 30th Jul 2004
Location: -.-
Posted: 6th Jan 2008 13:50
the game over trick...i saw that on the list...but i dont understand...
does it mean i have to KILL santa?

Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 6th Jan 2008 14:09
Oh wow, turns out you need the D3D plug-in... Empty's?
I completely forgot that wasn't a DBP command.

I'll have to change that now

Nintendo DS & Dominos :: DS Dominos
http://jt0.org
Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 6th Jan 2008 14:27 Edited at: 6th Jan 2008 14:29
@Turtle

You have to get to a certain height to get it It's not easy, but possible. I only called it Game Over because it's probably the hardest to get, and therefore the last thing to do.

I thought about adding trick descriptions, but thought it'd be better to try and discover them

while death = 0 : life() : endwhile
Turtle Soup
20
Years of Service
User Offline
Joined: 30th Jul 2004
Location: -.-
Posted: 6th Jan 2008 15:29
no i like not knowing what they are
adds a bit more of a puzzle element to it

i shall have a go at reaching it

Jammy
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 6th Jan 2008 17:20 Edited at: 6th Jan 2008 18:20
Quote: "Sorry Jess. Don't you just hate it when people don't read instructions properly "


I had tried the early version when i wrote my post - then seen a later version which was still giving me almost the same errors - i had just finished nightshift and wanted my bed - since i could still not run the program or recognise the commands - did not think an edit was needed.

Quote: "Oh wow, turns out you need the D3D plug-in... Empty's?
I completely forgot that wasn't a DBP command."
Glad i was of some help.

Jammy
21
Years of Service
User Offline
Joined: 15th Jan 2003
Location: Scotland
Posted: 6th Jan 2008 17:58
Here is my entry at the moment

Santas Snake, Version 0.1

Things i would like to know are any Bugs?, What FPS you get?, How many gifts you can collect? and any improvements you can suggest.

Things i hope to change before the final version is a game mode which gives you levels - which get harder, Smoke for the hut, Tilting santa, High Score system and fix any bugs you find.

Time and the 'Mrs patience' are running out, so will see how much more i can do.



enjoy

Bongadoo
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 6th Jan 2008 18:56
Hehe, nice Jammy. Compiled fine for me, and didn't notice any bugs.

I was looping round to get a present and when I got it, the snowman appeared on top of me so I died. Perhaps 1 or 2 seconds where the newest snowman doesn't kill you when he is created would be good.

Nice graphics aswell

while death = 0 : life() : endwhile
Xlaydos
20
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 6th Jan 2008 21:01 Edited at: 6th Jan 2008 23:33
Here is the first version of my entry, judging from the entrys so far it looks like there is tough competition!

I've still got quite a lot of work to do and i've already scrapped many ideas, i was a bit overambitious to start with! Let me know of any bugs. Most of my later code is horribly organised and not very effeicent as i have been rushing to try and finish

Known bugs / problems:
Slowdown when using "Doomsday"
"Global Warming" doesn't work right.
I need a workaround for "set text size"
No images for weapon selection.
Camera isn't great but it's a bit late to fix that
No Collision Yet... possibly
No Sound Yet...
Sheep Model not final
Only works properly in 1280 * 1024

Controls:
Arrowkeys to move
Rightclick to aim
(Hold) Left click to fire
Mouse to top and click to select weapon
E for Overhead view

[Code Attached]

Attachments

Login to view attachments
BMacZero
18
Years of Service
User Offline
Joined: 30th Dec 2005
Location: E:/ NA / USA
Posted: 6th Jan 2008 21:38
@Bongadoo and Turtle Soup

Yes, for me trying to discover all the moves is the part that makes it interesting! I got my first starslide a while ago, I don't know how I'm going to get a Game Over! :/ I had to try three times to get up to those darned stars, and I was ollieing the whole time!


"Ok, so that wasn't funny. I don' have any good Christmas jokes."

Login to post a reply

Server time is: 2024-11-23 08:51:43
Your offset time is: 2024-11-23 08:51:43