maxfish / go-b2dJson

Loader, written in Go, for scenes created by the R.U.B.E Box2D editor.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-b2dJson

Loader, written in Go, for scenes created by the R.U.B.E Box2D editor.

Usage

// [...] Game init
scene := NewB2DJsonSceneFromFile("scenes/scene.json")
b2World := scene.World

// [...] Game loop
b2World.Step(1/scene.StepsPerSecond, scene.VelocityIterations, scene.PositionIterations)

Links

About

Loader, written in Go, for scenes created by the R.U.B.E Box2D editor.

License:MIT License


Languages

Language:Go 100.0%