Imiglikos
Member
Hi guys,
I tries to obtain the mirror image of the hero's sprite and possibly the back invisible wall in the mirror that is opposite the mirror
I use this solution, but it does not work well in my platfom game:
- all reflections of the hero's states and his sprite animations are missing. the hero when he comes to the mirror should see himself in the mirror image and every state of the animation. if I take out the weapon, the hero's sprite should appear in the mirror with the weapon drawn. e.t.c.
- mirror should work on the principle of stretching the mirror sprite, e.g. using a bbox and then in the part where I stretch this mirror sprite a mirror image of the sprite is created
- would it be possible to add a wall in this mirror that is on the opposite side of the mirror? it does not exist, but could it be generated with a sprite? that would give a depth effect in the mirror ..
This is how it should be ... this is a 2d platform game and the mirror is behind the protagonist ... when he approaches it, he sees his mirror image and all states of the animation.
I am asking you for any help ... I have no experience with surfaces ...
I tries to obtain the mirror image of the hero's sprite and possibly the back invisible wall in the mirror that is opposite the mirror
I use this solution, but it does not work well in my platfom game:
- all reflections of the hero's states and his sprite animations are missing. the hero when he comes to the mirror should see himself in the mirror image and every state of the animation. if I take out the weapon, the hero's sprite should appear in the mirror with the weapon drawn. e.t.c.
- mirror should work on the principle of stretching the mirror sprite, e.g. using a bbox and then in the part where I stretch this mirror sprite a mirror image of the sprite is created
- would it be possible to add a wall in this mirror that is on the opposite side of the mirror? it does not exist, but could it be generated with a sprite? that would give a depth effect in the mirror ..
This is how it should be ... this is a 2d platform game and the mirror is behind the protagonist ... when he approaches it, he sees his mirror image and all states of the animation.
GameMaker - Mirror effect, reflections without using shaders
I was wondering how to do reflexes without using shaders. wanted to do something like this: Thank you very much in advance
forum.yoyogames.com
I am asking you for any help ... I have no experience with surfaces ...
Last edited: