Game development/design experiments
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
heidezomp 570850927e Use std.builtin instead of @import("builtin") 4 months ago
data Add drop shadow to title 5 months ago
src Use std.builtin instead of @import("builtin") 4 months ago
.gitignore Revert "ignore spurious zig-cache/ in subdirectories as well" 4 months ago
README.md Revert "tweak README" 4 months ago
build.zig Revert "rename project to Zomptuin" 4 months ago

README.md

Spelspul

Spelspul is my attempt at some game development experiments using the Zig programming language with the Simple DirectMedia Layer C library.

There isn't actually much to see here yet, only a simple title screen.

Dependencies

Spelspul has only been tested on Linux for now, but it should in theory work on other operating systems as well. Cross-compilation isn't supported yet.

To build Spelspul you will need:

  • A recent build of the Zig master branch (Since Zig is is still in the pre-1.0 phase, there are still breaking changes to the compiler and standard library being made. Spelspul tracks those changes closely, so although there exist pre-1.0 releases of Zig, they will not work for this project.)
  • SDL2 development files (e.g. the libsdl2-dev package on Debian/Ubuntu)
  • pkg-config

Building and running

In the Spelspul source tree, run zig build run to build and run a debug build, or zig build run -Drelease-fast to build and run a release build with safety features turned off. After building, the binary is located at ./zig-cache/bin/spelspul by default. See zig build --help for more options.

Controls

  • F11 toggles fullscreen
  • Escape quits the program
  • ...more to come!

License

To be determined.

Contact

You can find my email address on my GitHub profile.