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.

Newcomers DBPro Corner / help me pleeze

Author
Message
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 26th Jun 2005 04:21
ok thanks

pls reply---
Drew Cameron
20
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Scotland
Posted: 26th Jun 2005 04:30
You don't need to play it before you loop it.
Just this:

load music "crawling.mp3",1
loop music 1

That will suffice.

Dumbo and Cool

WIP Board!
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 26th Jun 2005 06:17
ya , i also found out hat stop music 1 , will stop the music , doh !

pls reply---
Eddie B
19
Years of Service
User Offline
Joined: 10th Apr 2005
Location:
Posted: 26th Jun 2005 06:18
If its an MP3, Why are you using . wav ....

Eddie B and always will be
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 26th Jun 2005 12:27
No no , I already got it to work

pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 26th Jun 2005 19:20 Edited at: 29th Jun 2005 12:39
here is my updated code, I changed the circle to a sprite (reticule) and added another sprite (target) that shows up at random screen locations, then i added some code to detect when you click the left mouse making a gun sound. if you "hit" the target you score a point...

...simple shooting gallery...(in the making-kinda)



Intel P4 3.6Ghz 1G PC3200 DDR

Attachments

Login to view attachments
dj blackdragon3710
19
Years of Service
User Offline
Joined: 5th Nov 2004
Location: In LaLa land
Posted: 27th Jun 2005 03:34 Edited at: 27th Jun 2005 03:35
edit: didnt see second page

<<<<<Used to be "djblackdragon" with being registered in January, 2003, no matter what it says on the left<<<<<
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 28th Jun 2005 13:10
hey nice work poisoned , can you teach me how your shrinking and growing circle program worked ? PLs .

pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 28th Jun 2005 14:46 Edited at: 29th Jun 2005 12:40
it was actually quite simple. I just made a variable for the the radius value, i named the variable ( csiz# ) and then said: if the left mouse button is clicked then csiz#=csiz#+0.02

to make it shrink i just said: if the right button is clicked then csiz#=csiz#-0.02



-here is your task....
make the circle change from green to red when the circle's radius is equal to 100

-please post your code i would like to see how you did it

-ready... set... go...

Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 28th Jun 2005 15:59
why make a variable (Csiz#) when u can make it (csiz) ?

function of # and $ and % is ?

pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 28th Jun 2005 16:47 Edited at: 28th Jun 2005 16:49
i used the hash character to tell db-pro that i want my variable to contain a real number( csiz# ) if i wanted a whole number i would leave off the hash character

an example of a real number would be: 0.02
an example of an whole number would be: 10

go into DB-pro and take a look @:



sometimes you just have to read the basics of "dark basic" in the help files.

Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 28th Jun 2005 21:04
ohh , yur using hash , cos yur going to have a real number (0.02) also to slowly increase the radius of the circle ?

pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 29th Jun 2005 03:21 Edited at: 29th Jun 2005 03:22
that's correct, I wanted the radius to increase slow and smooth...

Intel P4 3.6Ghz 1G PC3200 DDR
James Morgan
19
Years of Service
User Offline
Joined: 17th Apr 2005
Location: Behind you
Posted: 29th Jun 2005 04:12 Edited at: 29th Jun 2005 04:13
Keemo, just to point out (this may not work on DBC) you can still have Csiz as a float (real number) rather than using Csiz#
The way you do this is by declaying a varaiable as the type(a bit like arrays without the DIM)
I.e.
Csiz as float - real number
Csiz as string - a string
Csiz as integer - a whole number

Hello!
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 29th Jun 2005 12:36
ok so here is some updated code so the gun sound isn't so buggy, and if you shoot the target more than once per cycle it counts... and you can't just hold down the mouse button to score points.


Intel P4 3.6Ghz 1G PC3200 DDR
Nytmayre
19
Years of Service
User Offline
Joined: 12th Jun 2005
Location: Induced Coma
Posted: 16th Jul 2005 22:12 Edited at: 16th Jul 2005 22:14
Well done on keemo for using linkin park!

Sorry I'm just linkin park mad!


Thanks keemo for starting this post, and all who have contributed, because this has also helped me quite a lot!

I expect I am going to get blasted for being an idiot, (and possibly a nOOb slap), for this post, but oh well...

Bye!

EDITops, I forgot to explore the 2nd page of this thread, so even the subject matter of this post is out of date, so you can begin forgetting this even exists... ... now.

An Eternal Struggle between good and evil continues...Each side looking for an advantage...Each side looking for me.

Uh... What's the point of this bit?
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 19th Jul 2005 06:59
lol

pls reply---
kaymation
19
Years of Service
User Offline
Joined: 30th Mar 2005
Location: up, down, all around
Posted: 20th Jul 2005 08:40
can i play the text game when ur done???

i owe all my wantingness to TBC at [href]http://
www.homestarrunner.com[/href]
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 20th Jul 2005 16:50
im waiting for the book , its with my dad , but hes in a country , and im in a country , and hes comin back after 1 month and half .

pls reply---
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 23rd Jul 2005 08:17 Edited at: 23rd Jul 2005 08:23
ok so i changed the code I was using above and added some media; here is my first game. I call it "Shoot Out" !!! Let me know what you think and post your stats

my highest performance rating was 375





media:
http://batbusters.us/seik/shoot-out.zip

Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 23rd Jul 2005 19:27
looks good , i bet you were working on it since your last post , thats 2 weeks ago i think .

pls reply---
Louiz ofRohr
19
Years of Service
User Offline
Joined: 11th Nov 2004
Location:
Posted: 24th Jul 2005 07:48 Edited at: 24th Jul 2005 07:58
Linkin Park =DDD
Someone said Linkin Park?
Did I hear Crawling?

Hey, guy! This is temporarily being used, right?
oh! of course

The worst foe lies within the self...
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 24th Jul 2005 08:04
@ keemo

Yup I have been working on it off and on learning by doing for a good 2 weeks. I haven't been able to post my progress though because I moved and was without internet access for 2long weeks grrrr

Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 24th Jul 2005 18:41
I hope a program like this could be written in 1 hour and 30 min or something .

This thread was down for a while , lets restart it , and make it a refrence guide for noobs , no matter what type of question they need answered , they will find it here .

So is there a possible quick way(s) to make start menus with buttons like (start) (help) (credits) ? I also want to learn how the program should react when one of the buttons is pressed , and how do i colour it and stuff ? Just tell me how to make one complete and nice menu .Thanks poisoined for sharing your work with us and explaining the real/whole number thing .

Oh Btw , Linkin Park Rules !

"Tired of being what you want me to be !!" -Mike Shinoda , Numb

http://69.44.157.152/rendered/cooltext7449016.png
poisoned
19
Years of Service
User Offline
Joined: 6th Jun 2005
Location: the shadow realm
Posted: 25th Jul 2005 07:48 Edited at: 25th Jul 2005 07:50
here is the way I'm going about making a main menu, I might spruce it up a bit more for my games though:



Intel P4 3.6Ghz 1G PC3200 DDR
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 25th Jul 2005 15:32
what keys do you press to get this symbol ?

symbol : (`)

http://69.44.157.152/rendered/cooltext7449016.png
Robot
20
Years of Service
User Offline
Joined: 27th May 2004
Location:
Posted: 26th Jul 2005 02:40
The key to the left of the "1"

The happenings of tommorow are behind us now
Keemo1000
19
Years of Service
User Offline
Joined: 26th May 2005
Location: 28th Dimension
Posted: 26th Jul 2005 23:07
oh yea ! `````````````````````````````````````````````````````````````````````````````````````

http://69.44.157.152/rendered/cooltext7449016.png

Login to post a reply

Server time is: 2024-09-24 01:35:45
Your offset time is: 2024-09-24 01:35:45