So this was SUPPOSED to be a platformer! But then the code wasn't really working! So I ended up with this! But I suppose you can use this as water in a platformer! Use arrow keys.
I used code from @griffpatch_tutor, @AccountLiker and _Sunstrike_. Only a bit of the code was by me. I guess mixing up several tutorials made a huge mess! So don't try it like me! You may use the code as long as you give credit!