From the look of it, fantastic work as ever. You've come a long way since the first Ben Jordan (which was brilliant too by the way)
[/quote]
Thanks! I just copy/pasted some code from A Golden Wake so it wasn't too tough
[/quote]
Curious about how it works. I've done mirrors before, don't have my scripting handy, but my basic method was:
The mirror is against the back wall. There is a walkable area within the wall with walk behinds on either side, above and below the mirror. When the player enters a region in front of the mirror (but much larger than it), a character (the mirror image) is triggered to appear in the wall walkable area. It then mimics the player's movement (but only visible when not under the walk behind) by resetting its x and y co ordinates to that of the player plus or minus various amounts depending on distance from mirror etc. The view of the mirror image character is essentially the same as that of the player but with front and back images transposed.
It works okay, but does have one noticeable issue: As the mirror image moves by re calculating the x and y co ordinate based on that of the player character, the mirror image appears to glide stiltingly along as opposed to walking. But of course if use the walk function, it tends to lag fractionally and the arm swing, leg positioning etc gets out of sync with the player. These issues are even more noticeable than the stilting glide issue.
Any quick tips on this one? Sorry to ask for a tip here and not in the general help forums, but its more a curiosity seeing as we are talking mirrors here.
[/quote]
Thanks! I just copy/pasted some code from A Golden Wake so it wasn't too tough

[/quote]
Curious about how it works. I've done mirrors before, don't have my scripting handy, but my basic method was:
The mirror is against the back wall. There is a walkable area within the wall with walk behinds on either side, above and below the mirror. When the player enters a region in front of the mirror (but much larger than it), a character (the mirror image) is triggered to appear in the wall walkable area. It then mimics the player's movement (but only visible when not under the walk behind) by resetting its x and y co ordinates to that of the player plus or minus various amounts depending on distance from mirror etc. The view of the mirror image character is essentially the same as that of the player but with front and back images transposed.
It works okay, but does have one noticeable issue: As the mirror image moves by re calculating the x and y co ordinate based on that of the player character, the mirror image appears to glide stiltingly along as opposed to walking. But of course if use the walk function, it tends to lag fractionally and the arm swing, leg positioning etc gets out of sync with the player. These issues are even more noticeable than the stilting glide issue.
Any quick tips on this one? Sorry to ask for a tip here and not in the general help forums, but its more a curiosity seeing as we are talking mirrors here.