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 / Waterfall Demo

Author
Message
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 1st Aug 2005 10:07
If anyone is interested, I've just uploaded a small demo of a waterfall created with my WIP Particle Generator For DBC.

It's only 1.5MB and can be downloaded from http://www.computechtenerife.com/waterfall.rar if you want to take a look.

I've got the loading routines for the .pre files sorted, but I'm having a few problems with scaling when you use your creations in your own programs.

Downloads and screenshots for the generator itself are posted on the WIP board.

TDK_Man
Osiris
20
Years of Service
User Offline
Joined: 6th Aug 2004
Location: Robbinsdale, MN
Posted: 1st Aug 2005 11:46
Dosent work for me, just keeps minimizing.

BatVink
Moderator
22
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 1st Aug 2005 12:03
That's Good!

And it's doing what the particles pack can't do. The particles are not square, and they don't always face the camera.

Someone was looking for a waterfall effect, and I couldn't really do it with the the C&P pack.

TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 1st Aug 2005 18:02 Edited at: 1st Aug 2005 18:03
Osiris:

Sorry - can't help. It runs on every machine I've tried it on so far, so I've no idea why you are having problems with it.

What are your PC specs?

Here's a screenshot of the demo - just in case it won't run for anyone else!



TDK_Man
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 1st Aug 2005 19:28
Ooh, prettyful

Just for that screenshot, I'll give your particle system a look. I will.

[Insert extremely witty comment here] :: Add me to MSN if you like, but don't expect any big favours [unless you like VB6]. ... IDK!!
Uncle Sam
19
Years of Service
User Offline
Joined: 23rd Jul 2005
Location: West Coast, USA
Posted: 1st Aug 2005 20:16
Nice example!

I can't wait for the full version of the particle program to come out!

--------------
Uncle Sam
r333
19
Years of Service
User Offline
Joined: 18th Jul 2005
Location:
Posted: 1st Aug 2005 22:28
Wow. Great Job TDK! Just goes to show what DB can do!

Thanks!(for..whatever it is you did...)
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 1st Aug 2005 22:48
Why you dont post the scoure? please


[href][/href]
r333
19
Years of Service
User Offline
Joined: 18th Jul 2005
Location:
Posted: 1st Aug 2005 22:59
It's his code! Not EVERY DarkBASIC project is open source! Besides, it's still unfinished, so he might not want people to see it anyway!

Thanks!(for..whatever it is you did...)
master programmer
19
Years of Service
User Offline
Joined: 30th May 2005
Location: 3D Space
Posted: 2nd Aug 2005 05:17
Still, he could make a demo. But I wouldn't want to give my source code away for my games, that's like giving away the secret ingredient of your game to someone who can slap on some more logos and entitle it as theirs.


-----------------
Vote for Excelsis on the Puzzle Game Compo

__________________________________________
<<<<<Check out my sites>>>>>
www.rhettgames.tk | www.slayerbattletanks.tk
Xenocythe
19
Years of Service
User Offline
Joined: 26th May 2005
Location: You Essay.
Posted: 2nd Aug 2005 16:41
I am amazed by the water. I'm about to cry. Oh no, I cant... I'm too evil... HOW ON EARTH DO YOU DO THE WATER !!! AND WHERE DID YOU GET THAT LEVEL!! TEACH ME MASTER!!

Erhm... Sorrry. Please teach me how to do this as I wish to master it in my programming skills

[email protected]

AOL IM: KronosInCrescent
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 2nd Aug 2005 17:22
When everything is finished, I'll include the source for the demos.

But for now, it would only confuse things as I haven't decided on the exact format of the main particle generator program data files and people would only use the unfinished routines.

When the finished program is released, the routines would then be incompatible and users would complain that their code didn't work any more!

However, the water effect in the demo is no big secret - it's just an animated ghosted matrix which is updated once each runthrough of the main program loop.

I also use a normalise routine as well to give the light 'shimmering' effect, so you can add that yourself if you like.

Here's the source and the image required is also attached:



I used 6 for the matrix number of the water in my example, though if your own program uses matrix 1, then the water can be 2, 3 or whatever you want.

The matrix animation code, I converted from some C code I came across many years ago, so it's not 100% mine. I can't see any problems if anyone else wants to use it though.

TDK_Man

Attachments

Login to view attachments
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 3rd Aug 2005 01:15

better than my water animation thx

[href][/href]

Login to post a reply

Server time is: 2025-05-22 15:21:08
Your offset time is: 2025-05-22 15:21:08