Using Tiled and Phaser, how do you make water in a platformer? I’m talking complete code example here guys! When I tried it earlier it didn’t work right.
Preferably using Tilemaps and Typescript. How do you even do it?
Using Tiled and Phaser, how do you make water in a platformer? I’m talking complete code example here guys! When I tried it earlier it didn’t work right.
Preferably using Tilemaps and Typescript. How do you even do it?
For complete code you’re going to have to find a tutorial.
Get tile at player’s world position, check tile index, decrease player gravity and increase drag.
I actually figured it out. It’s too simple. I don’t know why I didn’t figure this out earlier.
Feel free to share it back for others stumbling across