Skip to content

Package tilecollider provides collision detection for tile-based games in Go language.

License

Notifications You must be signed in to change notification settings

setanarut/tilecollider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc

tilecollider

A simple 2D tile-based collision detection package for Go.

screen

Features

  • Fast tile-based collision detection
  • Easy integration with game engines like Ebitengine
  • Generic tile map support with any Integer type [y][x]T
  • Support for non-square tiles (different width and height values)
  • Adaptive iteration count based on movement speed (anti-tunneling)

Installation

go get github.com/setanarut/tilecollider

Usage

See the examples directory for usage example.

Run Ebitengine example on your machine

go run github.com/setanarut/tilecollider/examples/demo@latest

About

Package tilecollider provides collision detection for tile-based games in Go language.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages