Log In  

Cart #watertest-0 | 2020-09-16 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
2

Controls:
Z changes modes between drawing height for tiles, and simulating the water

X when pressed or released, toggles the control scheme.

In Draw mode, holding X allows you to change tile heights with the UP and DOWN arrows.
In Sim mode, you control the Log object with the arrows, but holding X allows you to change the water's base height.

The log will float up to meet the water level or fall with it. The log hasn't been programmed to interact with the tiles at the moment.
This whole thing is just a test to show how a more 2.5D feel could be achieved through using a mask to determine the height values in an image and using that to determine where to draw water.

P#81891 2020-09-16 08:29 ( Edited 2020-09-16 08:38)


[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-09-20 01:40 | 0.017s | 2097k | Q:33