sheamkennedy wrote:
Thanks for sharing!
This also just lead me to another idea I had awhile back regarding faking transparencies. I was just thinking, what would happen if I used this code to make a foreground map layer flicker on, and off at a specified rate (example. every tick). I presume it would make it appear that the tiles on that layer would be 50% transparent. Now what if I made the map tiles on that layer look like clouds. This should make it appear as if my character is semi-visible while passing below these clouds. It could make for a nice effect, but I fear it may also slow down the game immensely depending on the size of the map.
I have seen people do rain-like effects in their games without noticeable slow downs though, so I could be wrong. I'll have to give it a try, but unfortunately don't have time at the moment.
This also just lead me to another idea I had awhile back regarding faking transparencies. I was just thinking, what would happen if I used this code to make a foreground map layer flicker on, and off at a specified rate (example. every tick). I presume it would make it appear that the tiles on that layer would be 50% transparent. Now what if I made the map tiles on that layer look like clouds. This should make it appear as if my character is semi-visible while passing below these clouds. It could make for a nice effect, but I fear it may also slow down the game immensely depending on the size of the map.
I have seen people do rain-like effects in their games without noticeable slow downs though, so I could be wrong. I'll have to give it a try, but unfortunately don't have time at the moment.
It'd work, but as James mentioned it'd be really jarring visually and coupled with OHRRPGCE's relatively low framerate it'd look pretty bad.
An alternative would be to overlay some crosshatch/checkerboard pixels over the walkabout/NPC layer. I did an experiment with this by having animated maptiles with crosshatched pixels that toggle in an alternating pattern every 1 tick. Honestly, it didn't look very good. I think it might be feasible if OHRRPGCE's framerate gets increased down the line though, because the flickeriness would be greatly reduced.




