Advertisement

Latest controls Activity

enigma_dev
February 06, 2022 03:33 PM
DevBlog 15 - Binary Camera Collision

How to stop a camera from clipping into models; without using raycasts (because my engine doesn't have easy an easy generic ray cast system).

My firsts idea was to just slap a collision shape around a camera, but this has some issues.

By surrounding the camera with an OBB (oriented bounding box), we …

9,784 views
Advertisement

In short:

How do 2D, top-down games usually handle things like speed-boosts or speed-affecting currents?

To explain:

I'm working on a 2D, top-down game at the moment. As things stand, movement works more or less as follows:

  • Each character (player or NPC) has a velocity-vector
  • When moving under their own…
4,113 views
Advertisement
Advertisement