Skip to content

neophob/ganother-world

Repository files navigation

Screenshot

GOAL

  • Learn GO and implement "something fun"
  • "something fun" - interpret the old game another world and create a web version (WASM)!

Another World References

ARCHITECTURE

  • Split Backend (parsing, interpreting) and Frontend (rendering audio & video).
  • Backend should build as lib so it can be reusable in a web app (WASM target) or SDL2 app
  • Local assets are here for dev purpose only - they will go away. thread them as they will be downloaded

golang elements to check

  • iota
  • Channels
  • interface
  • Method (bound functions?)

Getting started

  • Install make (autotools on linux, xcode on OSX)
  • Install latest go version from https://golang.org/dl/
  • Check out repo
  • Run ./scripts/osx-install.sh to install/download dependencies or make sure SDL2 (sdl2, sdl2_gfx, sdl2_image, sdl2_mixer, sdl_net) and pkg-config are installed correctly
  • Run make to build, if it's green you're good
  • Use make help for more