1000+ views and no post!? Well I guess it's time I did something...
You have a very cool concept, and it could work. But--you're a little vauge on how you want us to approach coding this thing. I'm guessing you left that bit out since you weren't sure yourself, so I'm going to help out a little bit:
----------
Each minigame should be self-contained in a .dba file. Feel free to put
sync on : sync rate 60
backdrop on : color backdrop rgb(0, 0, 0 )
at the top, but don't change the display size. I'm *guessing* 1024*768 px, since pretty much everybody has a decent monitor nowadays (I used to have one that only displayed in 640*480
) That will be set at the start of the main source file, so there's no need to repeat it in your mini-games.
Feel free to use ng's dll or walaber's newton physics wrapper, however make sure you have the latest dll for whatever you use.
Make sure to put a header at the top of your source file unique to your title, so say for a dodge-the-flaming-basketballs type thing you would put something like this:
`Made by Hawkeye
`in this game blah de blah dodge flaming basketballs
HWK_FLAME_BASKET_004:
`startup settings:
sync on : sync rate 60
backdrop on : color backdrop rgb(0, 0, 0 )
Notice the hwk bit - that would signify that I made it, since my name is Hawkeye. This helps give people a visual aid to that you made it or something like that...
Also notice the FLAME_BASKET_004 part - this is a unique header unique to your... uhm, mini-game. 004 means it was the 4th mini-game submitted or something.
After the header, put your loading sequence. MAKE SURE TO DISPLAY A LOADING SCREEN! This should give out controls, a little backstory, etc... Also make sure that after the loading sequence is finished, you don't jump stright into the action - give the player a chance to hit spacebar or lmb or something (this accomdates for the 1 sec loading games I'm sure we'll have)
So something like this:
`loading sequence
img_splash=FindOpenImage()
load image "mediaflameing_basketballssplash.jpg",img_splash
paste image img_splash,0,0
`put rest of loading sequence here
`......
`......
`wait for keypress before we contine:
do
if spacekey()=1 or mouse()=1 then exit
loop
Please note that this code probally won't compile, I'm pretty much just spitting it out at random here
Also note that I'm using FindOpenObject()/FindOpenImage()/whatever. This is to keep from having duplicate object/image numbers - remember this is a minigame and there are images loaded in the main part! So don't forget to use openobj() or whatever.
Some footer functions to put at the bottom of your code:
`SOME HANDY FUNCTIONs - GOT IT FROM WALABER :)
function FindOpenObject()
for i=1 to 50000
if object exist(i)=0 then exit
next i
endfunction i
function FindOpenImage()
for i=1 to 30000
if image exist(i)=0 then exit
next i
endfunction i
function FindOpenSprite()
for i=1 to 30000
if sprite exist(i)=0 then exit
next i
endfunction i
function FindOpenSound()
for i=1 to 30000
if sound exist(i)=0 then exit
next i
endfunction i
`kudos to Philip Young for this function
FUNCTION distance3d(x1# AS float, x2# AS float, y1# AS float, y2# AS float, z1# AS float, z2# AS float)
temp = 1
null = make vector3(temp)
set vector3 temp, x1# - x2#, y1# - y2#, z1# - z2#
length_vector = abs(length vector3(temp))
null = delete vector3(temp)
ENDFUNCTION length_vector
`SPACE AND TIMESAVING FUNCTIONS TO REPLACE
`OBJECT POSITION X/Y/Z and OBJECT ANGLE X/Y/Z
`(got teh idea from David T's Merc2 beta2 :) )
function opx(obj)
r=object position x(obj)
endfunction r
function opy(obj)
r=object position y(obj)
endfunction r
function opz(obj)
r=object position z(obj)
endfunction r
function oax(obj)
r=object angle x(obj)
endfunction r
function oay(obj)
r=object angle y(obj)
endfunction r
function oaz(obj)
r=object angle z(obj)
endfunction r
(uhm I'm going to post this now so I don't acidently lose it or something - this isn't the end of me!
)
EDIT: Bah Static doesn't have msn... This could be tricky coordnating things
So... er that was just 15 minutes of madness there, people please feel free to add/change things, that was just there to try and provide some structure to things
So erm what are you waiting for!
Let's help make this a comunity project.
EDIT 2: Static, correct me if I'm wrong, but here's the picture I got from your post about the crazy factor (this was taken from the #darkbasic irc channel back when it was on the chattingway server) should give you people some ideas
Quote: "<Moggie100> it fits the post perfectly
<koshi> could add whatever we wanted not have to worry about media, we could add galith catipillars vs the tanks
<koshi> and big strawberrys
<koshi> taht speek in piglatin
<Hawkeye> flaming pineapples
<koshi> :o
* Kentaree is now known as Kentaree-brb
<Hawkeye> exploding hamsters, etc. etc.
* APEXnow is now known as APEXnow[afk]
<koshi> yeah flaming pineapples that roll around tryingto steal peoples souls
<koshi> when you lose your soul, you get +1 hp and then you lose
<Hawkeye> lol
<Oneka> wooh..
<koshi> and then a big band of pirate come along flyinga ship in teh air
<koshi> singing
<koshi> pirate songs
<Oneka> Hey CR
<koshi> and if you tell the pirate you have a beard he'll give you dabloons you can use to save the fairys
* ladyslipr has joined #darkbasic
<koshi> the you toss green jello till someone doesnt catch it
<Hawkeye> and then the vikings come in and fight the dinosaurs
<Moggie100> oh god, i'm soo adding this to the post
* ladyslipr sneaks in
<Moggie100> lo ladyslipr
<Hawkeye> hi ladyslipr
* Moggie100 waves
<ladyslipr> hello
<koshi> yeah dinosaurs !
<Hawkeye> where is this post anywhere?
<Hawkeye> *way?
<koshi> meh lady ..
* Hawkeye goes trolling the forums
<koshi> trolling?
<Moggie100> www.explosivegaming.net
<koshi> trolls with one eye
<Moggie100> "sign up today"
<koshi> o)
<Hawkeye> attacking the monkeys
<koshi> no dont do it you guys!
<Hawkeye> and the monkeys have lightsabers
<koshi> its a trap
<koshi> yeah yand if you know the secete code
<Hawkeye> and then there's this big fight with the bullet-time bears
<koshi> you can tur into darthvader
<Hawkeye> philip would love that
<koshi> and fight a preist
<koshi> lol bullet time bears ^_^
<Hawkeye> and the preist summons a cow with a chainsaw
<Hawkeye> cheers CR
<koshi> and the preists would gang up and hit you (darthvader) over the head with their staffs
<Hawkeye> and turn you back into a pirate
<koshi>
* koshi begins working on teh game
* koshi so far has .. sync on do sync : loop
<Hawkeye> and then there's a fight with trashcans who have grenade launchers
<Hawkeye> lol koshi
<Hawkeye> and then a GIANT foot comes down from the sky and stomps on you a few times
<koshi> yeah
<koshi> LARGE
<Hawkeye> and then you turn into Goku and have to fight off maurading aliens
<koshi> o_O
<koshi> mayeb you should be head designer for this game
* koshi reesigns
<Hawkeye> it would make a great game concept post
* Moggie100 winces
<koshi> moggie are you writing this down?
<Moggie100> no, lol
<Hawkeye> http://forum.thegamecreators.com/?m=forum_view&t=45213&b=5
<koshi> dont skip anything
<Moggie100> i thought u were O_o
<koshi>
<Hawkeye> do the game like nobworld
<Moggie100> WWW.EXPLOSIVEGAMING.NET <-- sign up today! (please! - i lost 40-odd users to a database corruption!)
* Moggie100 whimpers
* TravisP-FlusteratedAgain kicks moggie in the side
<Hawkeye> OOO! then muntant calculators come in with bazookas!
* Kentaree-brb is now known as Kentaree
<Moggie100> man - i hope someone is logging this
<Hawkeye> and then muntant chocolate squares come in and you turn into a doggie with a chainsaw
* ladyslipr bonks kent on the head
* Hawkeye slaps ladyslipr around a bit with a large guppy
<Kentaree> hi ladyslipr
* ladyslipr doesn't know hawkeye
<ladyslipr> hows you kent
<Kentaree> not too bad, you?
* TravisP-FlusteratedAgain slaps Hawkeye around a bit with ladyslipr
<ZKAT8IT> hi ladyslipr
<ladyslipr> I am great
* APEXnow[afk] is now known as APEXnow
<ladyslipr> hi zkat
* Hawkeye slaps TravisP-FlusteratedAgain around abit with APEX
<Hawkeye> OOO! and then Raven comes in for a big boss battle
<Moggie100> LOL
<Hawkeye> with a flamethrower
* Moggie100 winces @ the joke
* ladyslipr looks at hawkeye suspicious
<Hawkeye> and then muntant pacmen come in and you have to frag them with proton grenades
<Zeroblitzt> I just finished The Hitchhiker's guide to the galaxy
<Zeroblitzt> now I need the next book
* Moggie100 backs away from ladyslipr "your're scary when you do that y'know..."
<Hawkeye> why the wierd looks, ladyslipr?
<Zeroblitzt> Resteraunt at the End of the Universe
<Hawkeye> restrtaunt isn't as good as the others
<ladyslipr> lol I just realized how many people I don't know now
<Hawkeye> 1st, 3rd, and 5th are the best
<Zeroblitzt> Adams was writing a 6th
<ladyslipr> that is what I get for leaving for 2 months
<Zeroblitzt> but he died
<Moggie100> ladyslipr - yeah, i got that a while back when i started to 're-appear' here
<Kentaree> hehe
<Hawkeye> hmmm... how about exploding rats?
<Hawkeye> and alligator zombies?
<Moggie100> MINEWORMS! the inc along till u step on em and explode!
<Moggie100> inch*
<Hawkeye> and when you die, your head explodes
<ladyslipr> well I suppose hopefully be able to drop in again . . but I am done stealing someones internet for ahwil
<Moggie100> <<R A N D O M>>
<ladyslipr> bye bye
<ladyslipr> awhile*
<Hawkeye> cya
<Kentaree> cya
<Moggie100> bb
* ladyslipr has quit IRC (Quit It just so happens I'm free tonite, would you like to have dinner with me?)
<Moggie100> where were we
<Hawkeye> that's what she said yesterday
<Moggie100> oh yes - <<R A N D O M>>
<Hawkeye> what's << R A N D O M >>
<Moggie100> its random
<TheWendigo> who was ladyslipr?
<TravisP-FlusteratedAgain> Random is a myth
<TravisP-FlusteratedAgain> nothing is random
<TheWendigo> random person?
<TravisP-FlusteratedAgain> nope
<Kentaree> ladyslipr is an old regular
<TheWendigo> ok..... female?
<Hawkeye> it could be a shapeshifter, i.e. cyborg - zombie - hamster - ferret - back to cyborg etc
* RANDOM has joined #darkbasic
<Kentaree> yup
<RANDOM> i'm <<R A N D O M>>
* RANDOM has quit IRC (Quit BLAM!)
<TheWendigo> ???
<TravisP-FlusteratedAgain> that wasnt random
<Hawkeye> huh???
<TheWendigo> ok, this is wierd...
<TravisP-FlusteratedAgain> nothing is random you phools
<TheWendigo> ... maybe i should have caught in earlier
<Hawkeye> somebody's been messing around with vb and bots
<TheWendigo> ???
<TravisP-FlusteratedAgain> ????
<TheWendigo> other than me?!
<Hawkeye> lol
<Hawkeye> unless you made random
<TheWendigo>
<TheWendigo> nope
<TheWendigo> I'm helping TK with an IRC client but we aren't making a bot
<TravisP-FlusteratedAgain> Wendigo get a bot so i can abuse it
<TheWendigo> lol
<Moggie100> dear god - u guys overthink alot
<Moggie100> 3 words
<Moggie100> "second mIRC window"
<Moggie100> go fig
"