Help with Shaders

Started by SilencePhil, September 15, 2015, 20:38:41

Previous topic - Next topic

quew8


SilencePhil

Oke, i will use then the GL_DYNAMIC_DRAW thing i think.
The last 2 problems are my collision detection,i can get the chunk i am in and i can get the block from the chunk where i am, but with my collision detection i don't know how to set the players position exactly to the edge.
My tiles are 32x32 and my player is 32x32 in size too.

The second problem is to implement a kind of gravity and be able to jump. With my impl, the player flashes up and then down and it doesn't look good at all.