All Projects → tyfkda → galangua

tyfkda / galangua

Licence: MIT license
2D shoot 'em up game, written in Rust

Programming Languages

rust
11053 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to galangua

Civone
An open source implementation of Sid Meier's Civilization.
Stars: ✭ 176 (+433.33%)
Mutual labels:  sdl2
Engine
A basic cross-platform 3D game engine
Stars: ✭ 208 (+530.3%)
Mutual labels:  sdl2
Super-Mario-Bros-game
The remake of Super Mario Bros (1985) made with C++ and SDL2 library.
Stars: ✭ 39 (+18.18%)
Mutual labels:  sdl2
Flextgl
OpenGL and Vulkan header and loader generator.
Stars: ✭ 180 (+445.45%)
Mutual labels:  sdl2
Vcmi
Open-source engine for Heroes of Might and Magic III
Stars: ✭ 2,514 (+7518.18%)
Mutual labels:  sdl2
Nothing
A simple platformer about nothing
Stars: ✭ 249 (+654.55%)
Mutual labels:  sdl2
Bstone
Unofficial source port for Blake Stone series
Stars: ✭ 170 (+415.15%)
Mutual labels:  sdl2
helloworld-sdl2-opengl-emscripten
Basic program that uses SDL2+OpenGL, compiling both locally and via emscripten
Stars: ✭ 71 (+115.15%)
Mutual labels:  sdl2
42 cheatsheet
Also referred to as "The C Man"
Stars: ✭ 204 (+518.18%)
Mutual labels:  sdl2
SDL image
Image decoding for many popular formats for Simple Directmedia Layer.
Stars: ✭ 325 (+884.85%)
Mutual labels:  sdl2
Ck2dll
Crusader Kings II double byte patch /production : 3.3.4 /dev : 3.3.4
Stars: ✭ 186 (+463.64%)
Mutual labels:  sdl2
Freej2me
A free J2ME emulator with libretro, awt and sdl2 frontends.
Stars: ✭ 203 (+515.15%)
Mutual labels:  sdl2
Tmxlite
lightweight C++14 parser for Tiled tmx files
Stars: ✭ 248 (+651.52%)
Mutual labels:  sdl2
Gwork
Skinnable GUI with useful widget collection. Fork of GWEN.
Stars: ✭ 179 (+442.42%)
Mutual labels:  sdl2
hypseus-singe
Hypseus is a SDL2 version of Daphne and Singe. Laserdisc game emulation.
Stars: ✭ 86 (+160.61%)
Mutual labels:  sdl2
Dino Rush
🌋 Endless runner game
Stars: ✭ 173 (+424.24%)
Mutual labels:  sdl2
Haskanoid
A breakout game in Haskell using SDL and FRP, with Wiimote and Kinect support.
Stars: ✭ 242 (+633.33%)
Mutual labels:  sdl2
nox-decomp
Unofficial Nox (2000) port to Linux using decompiled code from https://playnox.xyz
Stars: ✭ 21 (-36.36%)
Mutual labels:  sdl2
ray-tracing
This is a go implementation of the "Ray Tracing in One Weekend" book
Stars: ✭ 37 (+12.12%)
Mutual labels:  sdl2
Dome
A lightweight game development environment where games can be written in Wren
Stars: ✭ 251 (+660.61%)
Mutual labels:  sdl2

Galangua

2D shoot 'em up game, written in Rust.

screenshot

Play in browser

How to play (Control)

  • Arrow key : Move left or right
  • Space key : Shoot a bullet

Requirement

  • Rust, Cargo
  • SDL2

MacOS

  • brew install sdl2 sdl2_image sdl2_ttf sdl2_mixer
  • Set SDL2, SDL2_image, SDL2_mixer lib paths to LIBRARY_PATH environment variable.
SDL2=/opt/homebrew/Cellar/sdl2/2.0.X
SDL2_IMAGE=/opt/homebrew/Cellar/sdl2_image/2.0.X
SDL2_MIXER=/opt/homebrew/Cellar/sdl2_mixer/2.0.X
export LIBRARY_PATH="$LIBRARY_PATH:$SDL2/lib:$SDL2_IMAGE/LIB:$SDL2_MIXER/lib"

Windows : Install SDL2 libraries

  • Download SDL2-devel-2.0.x-VC.zip from SDL2, SDL2_image-devel-2.0.x-VC.zip from SDL2_image, and SDL2_mixer-devel-2.0.x-VC.zip from SDL2_mixer libraries
  • Unpack zip files and copy libraries into C:\Users\{Your Username}\.rustup\toolchains\{current toolchain}\lib\rustlib\{current toolchain}\lib

Build

$ cargo build --release

Run

$ cargo run --release

Command-line options

  • -s : Specify window scale (default: 3)
  • -f : Use fullscreen
  • --oo : Run object-oriented version

Browser version

Requirement

Build

$ cd galangua-wasm
$ make  # wasm-pack build
$ make start-server  # Start local server on port 8080

Release build

$ cd www
$ npm install
$ npm run build

Files are generated in galangua-wasm/www/dist

Assets

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].