How to make advanced reflections

Post here your demos and examples with the source files.
Forum rules
Always post the games with a screenshot.
The file must have the ged and data files (complete game source)
Use the forum attachment to post the files.
It is always better to use the first post to put the game files

How to make advanced reflections

Postby Hblade » Thu Sep 10, 2009 5:47 pm

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 1522 times

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

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

r-4.png
r-4.png (4.5 KiB) Viewed 1522 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
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: How to make advanced reflections

Postby savvy » Tue Sep 15, 2009 12:50 pm

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.
--> For my help, i ask for a simple +1 if it helps! ^-^
--> I dont code, I type art which you dont understand.
--> I keep winning the 3D model challenge at college, teacher says: "you keep winning im not giving you prizes".
User avatar
savvy
 
Posts: 494
Joined: Wed Jun 03, 2009 11:55 am
Location: England
Score: 44 Give a positive score

Re: How to make advanced reflections

Postby Hblade » Tue Sep 15, 2009 2:14 pm

Thats... what I did o.o
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: How to make advanced reflections

Postby j2graves » Wed Sep 16, 2009 2:13 am

this could come in handy in the game I'm working on ;)
No games to my name...
User avatar
j2graves
 
Posts: 1302
Joined: Thu Aug 16, 2007 6:42 pm
Location: on the other side of infinity
Score: 19 Give a positive score


Return to Game Demos

Who is online

Users browsing this forum: No registered users and 1 guest