Our great sponsors
-
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.
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
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
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
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
Related posts
- Problem with key events in terminal for (ascii game development): When a key is pressed and held it does not work as needed. For example if I want to move character when user press key the player (character) will move one step then stops then move fast like text curser.
- Writing a TUI physics engine that uses ASCII/Unicode animations.
- Making Games in Go for Absolute Beginners
- Ho did/do you remove cgo?
- Release v0.5.4 - TextInput updates!