• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Reflection in Game Maker 2

T

TomatoFantasyStudio

Guest
Hello guys!
Can someone help with the question.
How can I make a reflection in the Game Maker 2, as in the picture? Reflection of everything, except that the main character is on one side of reflection and the enemy is on the other?
1.png
 

CloseRange

Member
2 ways. Make a script using draw_sprite_ext. Change the yscale to -image_scale and change the y value to increase by the differance of y and the reflection line.
Apply that script to any object who needs a reflection

That's the easy way but the efficiant way is to draw everything to a surface than flip the surface
 
Top