Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Unfortunately, despite passing the camera position in real-time via the step event as suggested (tried both obj_camera.x/y and cam_get_view_xy), the water ripple distortion still shifts with camera movement - exactly as shown in the GIF. Clearly I'm missing something critical here. 🤦‍♂️

Hmmm idk but it looks right in my eyes (?), but maybe it was necessary to look at it another way.  See the example of "layers" in the .yyz project, I implemented the camera offset there

After uncommenting the PP_DISPLACEMAP_OFFSET code at the location you specified, I observed that it was also affected by the camera. Upon closer inspection, the PP_SINE_WAVE_OFFSET effect is actually camera-dependent as well. The shaking amplitude intensifies when obj_player moves. Please check if this matches the phenomenon I described? If so, does this meet your expectations?

Yes, the offset is specifically used so that the effect uses the camera as the added position, preventing the effect from also moving when the camera moves.