libcross2d-examples icon indicating copy to clipboard operation
libcross2d-examples copied to clipboard

A few cross2d examples

  • texture: drawing a simple texture...
  • font: drawing some text
  • input: handle inputs (gamepads, keyboard on linux)
  • fps: all about timing (fps, time, delta)
  • config: handle a configuration file
  • configbox: draw a configuration to screen
  • filer: a file manager example
  • crazy: some tweeny stuff...
  • physics: basic box2d support

Build and run...

See libcross2d-template repository

Please note that this example repository does not contain platform specific data (to run on switch, vita, ps4...). You'll have to copy them from the "libcross2d" data directories if you want to run the examples on these devices.