Skip to content

Zheny-mc/Res-Collision

Repository files navigation

What is ResCollision?

ResCollision is a Go library for handling 2D collisions in arcade games. Its simple architecture makes it possible to adapt approaches to any languages and platforms. The tool takes over the routine of collision detection, and you implement the physics details yourself — in accordance with the idea of the game.

ResCollision has no external dependencies. It requires Go version 1.20 or higher.

How to use it?

There are several ways to use ResCollision. One way is to simply create shapes and then use functions to check for intersections.

If you want to get more information, feel free to check out the examples in the examples folder. In the platformer example, you can switch between demo scenes with the go run command.. To change the scene, press Q or E in the open folder with examples.

About

Go library for handling 2D collisions in arcade games

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages