Carpy Breakout - a simple game written in Go using SDL and OpenGL.
 
 
 
Go to file
Sean Hickey 387384eaca Update to git.wisellama.rocks, fix some linter issues 2023-02-25 23:35:40 -08:00
pkg Update to git.wisellama.rocks, fix some linter issues 2023-02-25 23:35:40 -08:00
.gitignore Rename stuff. Collisions don't work right 2022-06-18 23:00:11 -07:00
Attribution.md Fix license. 2021-11-21 23:36:51 -08:00
License.md Add golangci-lint and fix errors found 2022-04-25 00:22:04 -07:00
Makefile Rename stuff. Collisions don't work right 2022-06-18 23:00:11 -07:00
Readme.md Rename stuff. Collisions don't work right 2022-06-18 23:00:11 -07:00
build_cross_windows.sh Fix license. 2021-11-21 23:36:51 -08:00
game.conf Use gosimpleconf. Pull stuff out of main.go 2022-06-18 13:27:50 -07:00
go.mod Update to git.wisellama.rocks, fix some linter issues 2023-02-25 23:35:40 -08:00
go.sum Update to git.wisellama.rocks, fix some linter issues 2023-02-25 23:35:40 -08:00
main.go Update to git.wisellama.rocks, fix some linter issues 2023-02-25 23:35:40 -08:00

Readme.md

Carpy Breakout

This project depends on SDL2. This library should be available for nearly any system you can find.

  • Debian - libsdl2-dev
  • pkgsrc - devel/SDL2

Then simply run make to build.

Launch the game with ./carpy-breakout.

Press F to toggle fullscreen.

Press L to toggle wireframe mode.

Press K to toggle freelook mode.

Coordinate System

For the code, I was using the right-hand rule (turned around) for the 3d coordinates. If you were looking straight ahead, forward is -Z, right is +X, and up is +Y.

Why "Carpy"?

Because it's a funny misspelling of "Crappy". This was originally going to be a bad, crappy game for me to learn Golang and re-learn SDL and OpenGL stuff. It ended up being a bit nicer than I expected.

This project is licensed under the 2-Clause BSD License, a permissive open source license. Essentially you can use this code for any purpose so long as you acknowledge me for creating it. You can find the full text in License.md.

Another file called Attribution.md contains links to the other projects used to build this one.