Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by Zheka. 06/20/24 14:26
Lapsa's very own thread
by rki. 06/19/24 11:27
A simple game ...
by VoroneTZ. 06/18/24 10:50
Face player all the time ...
by bbn1982. 06/18/24 10:25
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,254 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mino, squik, AemStones, LucasJoshua, Baklazhan
19061 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Water #137204
06/20/07 07:05
06/20/07 07:05
Joined: May 2006
Posts: 69
Canada
L
Leaf Offline OP
Junior Member
Leaf  Offline OP
Junior Member
L

Joined: May 2006
Posts: 69
Canada
What im looking for is a script that tiles a spirte along the the x axis at on the 0y axis, also a fog that ahpears along the x satarting below 0y.


Im sure its out there I havent been able to fine the scripting yet. Can you pelase point me in the right direction

Re: Water [Re: Leaf] #137205
06/20/07 09:25
06/20/07 09:25
Joined: Jan 2003
Posts: 4,615
Cambridge
Joey Offline
Expert
Joey  Offline
Expert

Joined: Jan 2003
Posts: 4,615
Cambridge
could you explain that further? a sprite for fog?

Re: Water [Re: Joey] #137206
06/20/07 18:30
06/20/07 18:30
Joined: May 2006
Posts: 69
Canada
L
Leaf Offline OP
Junior Member
Leaf  Offline OP
Junior Member
L

Joined: May 2006
Posts: 69
Canada
Quote:

could you explain that further? a sprite for fog?





I want a sprite to tile along the Xaxis at 0 y axis.

and at the same time

I want fog below 0 y axis

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

The idea is to create a "sea level" so everywhere below 0 y axis is water.

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

should I post in scripting? I thought I saw something simlar a few weeks ago, but now I cant find it in the forum or AUM

Re: Water [Re: Leaf] #137207
06/20/07 21:02
06/20/07 21:02
Joined: Nov 2003
Posts: 523
Whitehorse, Yukon, Canada
Paul_L_Ming Offline
User
Paul_L_Ming  Offline
User

Joined: Nov 2003
Posts: 523
Whitehorse, Yukon, Canada
Hiya.

I don't think that is possible; fog in A6 is "spherical". What you could probably do is create/get a shader that does the same thing, then simply turn it off/on based on a distance from the waters serface. This shader would affect the players view; so when he's standing in water, he can see normally, but as soon as his head goes underneath, the shader kicks in.


^_^

"We've got a blind date with destiny...and it looks like she's ordered the lobster."

-- The Shoveler

A7 Commercial (on Windows 7, 64-bit)
Re: Water [Re: Paul_L_Ming] #137208
06/20/07 21:09
06/20/07 21:09
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
What about this:
fog_color = (camera.y < water_plane.y);

Re: Water [Re: Slin] #137209
06/21/07 00:18
06/21/07 00:18
Joined: May 2006
Posts: 69
Canada
L
Leaf Offline OP
Junior Member
Leaf  Offline OP
Junior Member
L

Joined: May 2006
Posts: 69
Canada
Quote:

What about this:
fog_color = (camera.y < water_plane.y);




ok, so how would I got a bout tileing the sprite along the water plane?


Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1