Using the Go port of Chipmunk2d in a tile based game

This page summarizes the projects mentioned and recommended in the original post on /r/ebiten

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • cp-examples

    Chipmunk2D examples ported to Go

  • Hey there! I've been working on a 2d platformer game and wanted to share some helpful stuff I learned when working with the Go native Chipmunk2d library. I use this library for collision detection and physics. There is an example in the ebiten repository which is helpful for seeing it used within the context of ebiten. That along with the player example in the cp-examples repo will help give you an idea of how it might be used in a 2d platformer. I suggest pulling the cp-examples repo down and running them locally - then you can see how they work by running them with go run player/player.go

  • cp

    A pure Go physics library with no dependencies. Unofficial Chipmunk2D port.

  • Hey there! I've been working on a 2d platformer game and wanted to share some helpful stuff I learned when working with the Go native Chipmunk2d library. I use this library for collision detection and physics. There is an example in the ebiten repository which is helpful for seeing it used within the context of ebiten. That along with the player example in the cp-examples repo will help give you an idea of how it might be used in a 2d platformer. I suggest pulling the cp-examples repo down and running them locally - then you can see how they work by running them with go run player/player.go

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • Ebiten

    Ebitengine - A dead simple 2D game engine for Go

  • Hey there! I've been working on a 2d platformer game and wanted to share some helpful stuff I learned when working with the Go native Chipmunk2d library. I use this library for collision detection and physics. There is an example in the ebiten repository which is helpful for seeing it used within the context of ebiten. That along with the player example in the cp-examples repo will help give you an idea of how it might be used in a 2d platformer. I suggest pulling the cp-examples repo down and running them locally - then you can see how they work by running them with go run player/player.go

  • cp-ebiten

    example physics in ebiten using chipmink port

  • I forget where I left off on getting a fixed timestep working well with ebiten, but feel free to browse this repo too for ideas https://github.com/jakecoffman/cp-ebiten

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts