A top-down 2D puzzle-shooter game. Made in 1 week for the Raylib 5K gamejam. Play it from your browser on itch.io, or download a native binary from the Releases page.
- WASM capable web browser (for the browser version).
- 1 GHz 64-bit CPU.
- 256 MB of RAM.
- OpenGL 3.3 / DirectX 10 capable GPU.
This all assumes you are using Windows 10. You will need the Emscripten SDK:
- Go to the emsdk github page.
- Click on the green
Code
dropdown and thenDownload ZIP
. - Extract the zip to a folder called
Emscripten
, and put that folder wherever you want. - In the start menu search bar, search for
path
. Then click onEdit the system environment variables
. - In the
System variables
list, find thePath
variable, select it, then clickEdit
. - Press
New
, and type out the path to theEmscripten
folder (e.g.C:\dev\Emscripten
). - Press
Ok
to close all the open windows. - To make sure everything worked, open up a new command prompt, and run
emsdk
. It should sayMissing command; Type 'emsdk help'..
- In the same command prompt, run
emsdk update
followed byemsdk install latest
. - You can now just run
build_web.bat
inside this project to build the game. The output goes intobin/web/
. - Run
run_web.bat
to run the game in your browser.
- You need to download and install Visual Studio 2022.
- When you need to select which components to install, make sure
Desktop development with C++
is ticked. - Open up
Pictomage.sln
in Visual Studio and click the run button at the top. The output goes intobin/windows/
Open a command line at the root of the project, and compile the code like this:
$ gcc -L./lib src/*.c -lraylib_windows_x64 -lwinmm -lgdi32 -o Pictomage.exe
Alternatively, you can run build_windows.bat
, which will compile the code, and also embed the icon into the executable.
Open a terminal at the root of the project, and compile the code with clang:
$ clang -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL src/*.c -L./lib -lraylib_mac_x64 -o Pictomage -target x86_64-apple-macos10.12
This will produce an x64 executable, Pictomage
, that you can run. If you want to compile for arm64 (Apple M1), run the following instead:
$ clang -framework CoreVideo -framework IOKit -framework Cocoa -framework GLUT -framework OpenGL src/*.c -L./lib -lraylib_mac_arm64 -o Pictomage -target arm64-apple-macos11
The build_mac.sh
script will compile the code for both targets, package it into a universal binary, make an app bundle, as well as a DMG installer. Run it like this:
$ chmod +x macbuild.sh
$ ./macbuild.sh
The output will be in bin/mac/
.
Open a terminal at the root of the project, and compile the code like this:
$ gcc -Wno-unused-result -L./lib src/*.c -lraylib_linux_x64 -lm -ldl -lpthread -lGL -lX11 -o Pictomage
The coding and level design was done by Blat Blatnik. The art was made by Olga Ważny. Many thanks to all the friends that playtested the game!
name | filename | original author | source |
---|---|---|---|
Explosion | explosion.wav |
EFlexMusic (boyermanproductionz@gmail.com) | freesound.org |
Glass shatter | shatter.wav |
Profispiesser | freesound.org |
Camera flash | snap2.wav |
HughGuiney (@LordPancreas) | freesound.org |
Release | eject.wav |
Iridiuss | freesound.org |
Turret hit | turret-destroy.wav |
TROLlox_78 | freesound.org |
Turret shot | long-shot.wav |
morganpurkis | freesound.org |
Bullet hit | bullet-wall.wav |
FilmmakersManual | freesound.org |
Ear ringing | ringing1.wav |
ArrowheadProductions | freesound.org |
Teleport 1 | teleport.wav |
steaq | freesound.org |
Teleport 2 | teleport.wav |
krzysiunet | freesound.org |
Teleport 3 | teleport.wav |
DWOBoyle | freesound.org |
The game was made with Raylib. Raylib was made by Ray (@raysan5) and many open source contributors.