Game Development Community

Water/heat effects

by Bill Shillito · in Torque Game Engine · 10/06/2006 (7:09 pm) · 1 replies

So, I just discovered Torque 2D and it looks quite nice. I'm considering getting it, because I've had an idea for a Sonic fangame for quite a while now. However, there are some things I need to know if it could do...

1) Rotating palettes... like for neon signs. See Casino Night Zone, Sonic 2, especially the boss.
2) Water wave/heat wave effects. These would have to potentially only take up part of the screen.
3) Translucency, so I wouldn't have to make a separate palette for Sonic underwater or something.

If I think of any more I might add these later.

About the author

Recent Threads


#1
10/07/2006 (2:35 am)
This is actually in the wrong forum. There's a T2D/TGB public discussion area. :p

1. Out of the box, I don't recall TGB having any built-in functionality for palletised sprites, so rotating palletes may not be doable without some changes to source (don't quote me on this), though you could probably fake it with some hackery in script.
2. I don't believe TGB supports pixel shader effects out of the box, though with source, you could implement them through GL shaders.
3. Translucency is easy peasy, no worries about that. You could take a blue-tinted rectangle, scale it to size, and overlay it on top of your scene.