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 Discussion / cool particles demo

Author
Message
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 1st Apr 2009 01:55
cool demo

hi
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 1st Apr 2009 06:01
Who are you? Where did you come from?
I'm sorry if you've worked hard on it but I'm not going to download it because I don't know you and have never seen you post anything before.

can't read?
BN2 Productions
21
Years of Service
User Offline
Joined: 22nd Jan 2004
Location:
Posted: 1st Apr 2009 09:52
@nerd

What he means is that while this could be awesome, it would be nice to at LEAST post the source code, so that we can see the code and copy and paste it. Downloading a file from an unknown person is like having unprotected relations with a prostitute: It may be good, it may be bad, but you should expect to get a virus.

Sorry, if that analogy offends anyone, I will remove it, it just seemed to fit.

Great Quote:
"Time...LINE??? Time isn't made out of lines...it is made out of circles. That is why clocks are round!" -Caboose
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 1st Apr 2009 21:51
sorry, here is the source.

It needs one media file, you can download that.

I got some of the code from TDK's particle tutorial,
and while I was messing around I got this and thought it was cool.



hi
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 2nd Apr 2009 02:32
nice analogy bn2, not something i would have put for risk of referral to a rules thread (again) but roflmao
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 2nd Apr 2009 04:11
would someone comment on the actual code?

hi
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 2nd Apr 2009 04:19
its cool, but ne reason behind the (0) arrays? why not use variables?
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 2nd Apr 2009 07:09
Global variables.

dimming a array to 0 is just like a regular variable essentially but it's global (if dimmed outside of a function) so that way it can be used "interfunctionaly" or throughout the program.


Nerd:

Looks great good job. so are you new to darkbasic or just new to the forums? just wondering?

Bn2:

Nice. I needed a good laugh.

New Site! Check it out \/
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 2nd Apr 2009 13:51 Edited at: 2nd Apr 2009 13:51
@BN2
I demand you change that to "unprotected CHEESEBURGER with a STRAWBERRY MILKSHAKE"

can't read?
That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 2nd Apr 2009 17:13
lol obese
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 2nd Apr 2009 21:59
@Caleb1994,
I have been using DB since November '08, but I just joined in March.

-------------------------

can you add a print statement to get the fps, because on my computer it runs quite slow, and I want to know if it was just me.

This was supposed to be code for an explosion, but I need a better texture. download this new one and it will look "explodey".

hi
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 2nd Apr 2009 22:34
Try

TEXT 5,5,STR$(SCREEN FPS())

That way, it stays in the same spot.

And before you ask, you can use

SET TEXT OPAQUE

to combat overlapping text.

That's what they WANT you to think...
Libervurto
19
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 3rd Apr 2009 01:27
@thenerd
I highly recommend the DBC Challenges, although the thread has become a bit dead lately its a great way of learning quickly and getting some kudos

can't read?
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 3rd Apr 2009 22:16
@Quirkyjim,

I only get 20 fps.(maybe it's time to get a new graphics card...)

<-- old graphics card
<-- new graphics card!

I love "Emoties"

hi
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 3rd Apr 2009 22:17
or maybe it's time to read the "Speeding Up Your Game" thread...

hi
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 3rd Apr 2009 22:36 Edited at: 3rd Apr 2009 22:36
The .EXE?

I have >300 FPS

That's what they WANT you to think...
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 3rd Apr 2009 22:44
the first time was in the DB editor.

In the EXE, I still get 20.

hi
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 3rd Apr 2009 23:47
Hmm...

That's what they WANT you to think...
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 4th Apr 2009 17:42
I just tryed it on my other computer, and it ran at 200 fps...
but both computers have the same RAM, graphics card, and processor!

hi
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 4th Apr 2009 18:19
IDK! That's kinda strange.

That's what they WANT you to think...
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 4th Apr 2009 18:38
Try the ideas in the "Speeding up your game" thread.

New Site! Check it out \/
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 4th Apr 2009 18:51
Anyways, I'm not sure that it's a "valid" executable because i just copied it from the folder where the project file was as there is no "Build Project" function as of yet. So it's probably not up to it's max potential.

That's what they WANT you to think...
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 5th Apr 2009 02:58
how do you get over 60?

hi
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 5th Apr 2009 19:51
What do you mean? I set sync rate to 0, so it should run at whatever you can run it as.

That's what they WANT you to think...
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 5th Apr 2009 21:27
even when I set it as 0, it still can't go over 60.

here's an example:

When I run this I can't get over 60 fps, no matter what I do.

hi
Quirkyjim
16
Years of Service
User Offline
Joined: 18th Oct 2008
Location: At my computer
Posted: 5th Apr 2009 21:58 Edited at: 5th Apr 2009 21:58
I think ur computer SUX.

See this

That's what they WANT you to think...
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 6th Apr 2009 04:11
@Quirkyjim,

I read that thread by Latch, and tryed the spinning cube again.
result=very dizzy programmer
400 fps on the cube...
40 on the particles. Oh well, at least its double what I had before.

hi
The Nerd
21
Years of Service
User Offline
Joined: 5th Jun 2004
Location: Denmark
Posted: 6th Apr 2009 04:28
ur name, its not acceptable! I'm dead inside.

Feel my wrath!

That1Smart Guy
16
Years of Service
User Offline
Joined: 26th Feb 2009
Location: Somewhere...... yep
Posted: 6th Apr 2009 05:10
NERD FIGHT, NERD FIGHT!!!!!

whats funny is that was my 2nd choice for a name if i didnt get this 1

There are only 10 kinds of people in the world, those who understand binary and those who dont
Caleb1994
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: The Internet you idiot!
Posted: 6th Apr 2009 19:32 Edited at: 6th Apr 2009 19:34
read that speeding game thread it talks about the 60 fps cap and also check out the beginers guide to darkb basic or waht ever that latch came out with like a week ago.


its not his computer thats doing it its db a lot o people have his problem (i did once)


edit

Found latch and the other guys darkbasic "Manual"(sorry can't remember his name)
[href=http://forum.thegamecreators.com/?m=forum_view&t=147790&b=10]
http://forum.thegamecreators.com/?m=forum_view&t=147790&b=10[/href]

New Site! Check it out \/
thenerd
16
Years of Service
User Offline
Joined: 9th Mar 2009
Location: Boston, USA
Posted: 6th Apr 2009 21:42
@The Nerd,
sorry, I didn't know about you until it was too late to change my name.

hi

Login to post a reply

Server time is: 2025-08-08 20:42:27
Your offset time is: 2025-08-08 20:42:27