Collision beginnings

Collision beginnings

The player character can now detect collision with hexagon cells that the game world is composed of, so no more just walking through walls.

Above: Light bleeding through the mesh due to over penetration of character with mesh.

As you can see, the character can get too close to the walls. The physics simulation I’ve written here is also lacking any concept of inertia or friction.

Above: Light bleeding through the mesh.

Bean

Bean
I'm Bean. From BeanstalkBlue.
https://beanstalk.blue

Robust character collision!

Player character now detects collision. Continue reading

Collision beginnings

Published on March 24, 2017

Input Manager

Published on March 23, 2017