Page 1 of 1

How to make advanced reflections

PostPosted: Thu Sep 10, 2009 5:47 pm
by Hblade
Hi guys - Since I dont have my PC anymolre for a while I wont be abel to use game editor btu taht dosnt mean I wont still make tutorials :D Anyway, yeah heres how to make advanced reflections

Copy your character
Copy your character in Gimp, in this case, some crappy mac paint program... Anyway it's decent so yeah. I found the lil icon guy and used him. Flip him once horrizontally, then once virtically. Then, in the gimp, (or this crappy mac program), make him wave like this... I forgot how in Gimp, but on this program you jsut right click - Select Efects - Select Ripple,
r-1.png
r-1.png (4.76 KiB) Viewed 1525 times

r-2.png
r-2.png (4.84 KiB) Viewed 1525 times

r-3.png
r-3.png (4.6 KiB) Viewed 1525 times

r-4.png
r-4.png (4.5 KiB) Viewed 1525 times


Then, after you draw your map, make the water simi-transparrent, then, make the reflection character. In Draw Actor, put this:
Code: Select all
x = player.x;
y = player.y + height;

this will place him Right under the character. Now, make his Z index lowest, (unless you have a panorama, then you have to have a black area above the panorama but below the water), then walk near the water! Now you can see your reflection waving in the water.
rv2screen.png

Re: How to make advanced reflections

PostPosted: Tue Sep 15, 2009 12:50 pm
by savvy
couldnt you just do that, and have the rippled ver slightly below the charachter, and have it behind the water with the water semi transparent.

Re: How to make advanced reflections

PostPosted: Tue Sep 15, 2009 2:14 pm
by Hblade
Thats... what I did o.o

Re: How to make advanced reflections

PostPosted: Wed Sep 16, 2009 2:13 am
by j2graves
this could come in handy in the game I'm working on ;)