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
Codedropdown 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 variableslist, find thePathvariable, select it, then clickEdit. - Press
New, and type out the path to theEmscriptenfolder (e.g.C:\dev\Emscripten). - Press
Okto 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 updatefollowed byemsdk install latest. - You can now just run
build_web.batinside this project to build the game. The output goes intobin/web/. - Run
run_web.batto 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.slnin 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.exeAlternatively, 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.12This 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-macos11The 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.shThe 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 PictomageThe 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 ([email protected]) | 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.
