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.

Code Snippets / Attention: HOT

Author
Message
Azrael
19
Years of Service
User Offline
Joined: 2nd Mar 2005
Location: Germany
Posted: 1st Dec 2006 00:11
Here's a quite cool code about a fire simulation.

Would like to see your FPS
I got around 25.
Have Fun.



You can change the palette by changing these rgb values:
Inc ptr, 4 : *ptr = Rgb(000, 000, 000)
Inc ptr, 4 : *ptr = Rgb(128, 000, 000)
Inc ptr, 4 : *ptr = Rgb(255, 000, 000)
Inc ptr, 4 : *ptr = Rgb(255, 128, 000)
Inc ptr, 4 : *ptr = Rgb(255, 255, 128)

Also adding new colors is possible. But the allocated space has to be big enough and make sure that you pass the right pointer.
Terrorist Zero
18
Years of Service
User Offline
Joined: 29th Aug 2006
Location: Teh YouKai
Posted: 1st Dec 2006 00:16
That's total coolness!
I'm getting around 50 FPS on a low/medium end PC (128mb GFX, 2.93 Ghz CPU, and 1GB RAM).

That's some nice work!

www.tornupgaming.com
The home of free games and game projects.
Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 1st Dec 2006 00:25
Incredible! 40fps

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 1st Dec 2006 01:59


35 FPS

I wish I could learn this stuff...


Crazy Programmer
AGK Developer
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Lost in AGK
Posted: 1st Dec 2006 02:12
Very nice. I got around 35 fps too.


Load Programmer "Crazy Programmer",1
Mr Tank
21
Years of Service
User Offline
Joined: 25th Nov 2002
Location: United Kingdom
Posted: 1st Dec 2006 02:43
Nice. 32 FPS.


You'll be able to click on this someday.
TEH_CODERER
21
Years of Service
User Offline
Joined: 12th Nov 2003
Location: Right behind you!
Posted: 1st Dec 2006 16:55
40 fps on a pretty useless machine.
AMD Athlon XP 2400+
Radeon 9600 128MB
768MB RAM
That is pretty impressive.

Big Man
19
Years of Service
User Offline
Joined: 4th Feb 2005
Location: BEHIND YOU!!!! (but I live in England)
Posted: 1st Dec 2006 17:15
bum i got 11fps

however i did have three programs running at the time and thats not including windows media player playing music aswell.

BM

Our aim is to keep the loo's clean, your aim can help.

jasonhtml
20
Years of Service
User Offline
Joined: 20th Mar 2004
Location: OC, California, USA
Posted: 2nd Dec 2006 07:41 Edited at: 2nd Dec 2006 07:41
i dont remember what fps i got (i think it was around 75-50 range), but this is absolutely amazing. i congradgulate you(even though i cant spell )


forum.thegamecreators.com/?m=forum_view&t=78971&b=8&p=0
forum.thegamecreators.com/?m=forum_view&t=91115&b=32
Code Dragon
18
Years of Service
User Offline
Joined: 21st Aug 2006
Location: Everywhere
Posted: 2nd Dec 2006 13:19
Peter H
20
Years of Service
User Offline
Joined: 20th Feb 2004
Location: Witness Protection Program
Posted: 2nd Dec 2006 19:01 Edited at: 2nd Dec 2006 19:02
pretty nice! although real fire doesn't jump around so much

50ish fps
3.0 GHz Pentium IV
224 MB graphics card (on board intel )
1 gig ram

One man, one lawnmower, plenty of angry groundhogs.
Steve J
18
Years of Service
User Offline
Joined: 22nd Apr 2006
Location: Vancouver, Washington
Posted: 3rd Dec 2006 00:03
around 80-90 fps.

Core 2 duo,
nvidia 8800gts
3 gb ram (4, windows only accepts 3 though)

http://phoenixophelia.com

Steve J, less, and less Controversial!
Wartorn
18
Years of Service
User Offline
Joined: 24th Oct 2006
Location: Molde, Norway
Posted: 3rd Dec 2006 06:18
11 fps
running nothing but. 1ghz, 256 mb ram, Geforce 2 32mb
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 3rd Dec 2006 06:42
Very cool, I got about 36 fps.



A book? I hate book. Book is stupid.
(Formerly Yellow)
Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 3rd Dec 2006 15:47
Cool stuff

13FPS on:

Pentium 4 1.5 ghz
256mb RAM
256mb ATI Radeon 9550

"Cut down the gods if they stand in your way" - Hakamoto Tsunetomo
Tom J
19
Years of Service
User Offline
Joined: 4th Aug 2005
Location: Essex, England
Posted: 3rd Dec 2006 16:09
Cool

I got 40 fps
Azrael
19
Years of Service
User Offline
Joined: 2nd Mar 2005
Location: Germany
Posted: 3rd Dec 2006 21:21 Edited at: 3rd Dec 2006 21:35
Thanks for your feedback!! I'm glad to see that the demo runs fast enough on the most systems to use it in another demo (maybe )

I don't know much about DBP optimisations - but till now I didn't really thought about it. May it runs faster using integer calculations instead of floating point.

If someone is able to understand my code and fit in optimizing dbp code feel free to tell me

Thanks

Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 4th Dec 2006 00:06
I changed it around, and man- does it look sexy





P.S. Wear your hat and gloves

-Mansoor Siddiquie

Dracula
18
Years of Service
User Offline
Joined: 7th Aug 2006
Location: DBP Recreation of Castle Csejthe
Posted: 4th Dec 2006 00:48
very cool stuff. I get 29 FPS on both versions.
sixblades
20
Years of Service
User Offline
Joined: 30th Jul 2004
Location:
Posted: 4th Dec 2006 02:56
39 fps!!! Really nice code, only wish I could learn more from it, but that would require thorougly figuring out pointers ...

Cool settings:
Inc ptr, 4 : *ptr = Rgb(000, 000, 000)
Inc ptr, 4 : *ptr = Rgb(000, 000, 255)
Inc ptr, 4 : *ptr = Rgb(000, 000, 128)
Inc ptr, 4 : *ptr = Rgb(000, 255, 128)
Inc ptr, 4 : *ptr = Rgb(000, 000, 000)
dark donkey
18
Years of Service
User Offline
Joined: 4th May 2006
Location:
Posted: 5th Dec 2006 18:54
43 with 4 programs running

Hobgoblin Lord
19
Years of Service
User Offline
Joined: 29th Oct 2005
Location: Fall River, MA USA
Posted: 5th Dec 2006 23:55
Nice looking 57 fps

http://www.cafepress.com/blackarrowgames
Check out my great stuff here
MonT
18
Years of Service
User Offline
Joined: 29th Oct 2006
Location: In your house, waiting for nightime
Posted: 1st Jan 2007 23:25
Hmm, i seem to be having a problem when i put the program into debug mode, i get an error saying that this code here


Could not be understood somehow?

I would love to see this program, so if anyone could tip me on how to fix the code I would much appreciate it.

And yes i did use the search button lol

Login to post a reply

Server time is: 2024-11-22 23:49:04
Your offset time is: 2024-11-22 23:49:04