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 / RPG GAME UNDERWATER EFFECTS

Author
Message
Chaos
22
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 1st Mar 2003 22:19
yeh my rpg engine is coming along great i just need one favour

can someone help me get an underwater effect up like when my charcter is in the water he is different on his stomach rather then on his feet

thanx in advance
KITTY
Zach
22
Years of Service
User Offline
Joined: 23rd Feb 2003
Location: Ms, USA
Posted: 1st Mar 2003 22:30
Don't understand completely but you might try setting the
gamma to blue....

set gamma 0,0,200

Tupelo, Ms
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 1st Mar 2003 22:40
For that I'd imagine you'd use two sprites, one for the upper body and one for the lower body. Then when the character walks in water (up to his waist) you show only the top sprite, and change the bottom sprite to some ripple effects, to make it look like he is half submerged in water.

Once I was but the learner,
now, I am the Master.
Chaos
22
Years of Service
User Offline
Joined: 8th Feb 2003
Location: United Kingdom
Posted: 1st Mar 2003 22:45
right sorry
its a 3d game and i have the models and everything i need to know how to when my character is in the water matrix his body rotates to horizontal
thanx in advance kitty

KITTY
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 1st Mar 2003 22:57
I've been through the exact same problem, in my game, when making the 3D models i made the running models, walking models etc all upright and exported them like that, but for the swimming models i rotate the object to swimming position before exporting it, so in-game when you loop your walk animation, your objects is upright but when you loop the swim animation, your object automatically changes to swimming position withought having to go trhough any complex code or anything. hope u understood that ^_^

your birth was a blessing, sent to live and die on earth as a lesson, we each have a star all you have to do is find it, once you do, everyone who sees it will be blinded - DMX
Raize_k
22
Years of Service
User Offline
Joined: 4th Feb 2003
Location:
Posted: 2nd Mar 2003 03:34
u might wanna take a nice spot light, and make the light follow the position over him about 4 body lengths up and make it shine on him to create a sun and water depth effect.
the lower he goes in altitude dim the light to make it look like hes going deeper dynamically.


its all about good math, physics and dynamics that makes games really awsome.
Hope that gives u cool ideas.

Happy Gaming!

I only speak the truth....
The Darthster
22
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 2nd Mar 2003 22:49
xrotate object 1,90:fix object pivot 1?

What hexgear said is a good suggestion unless you are doing the animations at run-time.

Once I was but the learner,
now, I am the Master.

Login to post a reply

Server time is: 2025-08-08 20:40:00
Your offset time is: 2025-08-08 20:40:00