Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/magnetrwn/tetris-tornado
A game submission for the Lazy Jam Summer 2024 edition.
https://github.com/magnetrwn/tetris-tornado
box2d physics raylib tetris
Last synced: 30 days ago
JSON representation
A game submission for the Lazy Jam Summer 2024 edition.
- Host: GitHub
- URL: https://github.com/magnetrwn/tetris-tornado
- Owner: magnetrwn
- License: bsd-3-clause
- Created: 2024-06-21T09:35:22.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-30T21:37:17.000Z (7 months ago)
- Last Synced: 2024-11-11T19:14:51.702Z (3 months ago)
- Topics: box2d, physics, raylib, tetris
- Language: C++
- Homepage:
- Size: 10.8 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tetris Tornado
**A game for the Lazy Dev 2024 Summer Jam.**
![Gameplay Sample GIF](media/gameplay_sample_sm.gif)
## Quick Start
You can download the latest release from **[here](https://github.com/magnetrwn/tetris-tornado/releases/latest)**.
Otherwise, if you want to build for your platform, do the following:
+ `git clone https://github.com/magnetrwn/tetris-tornado`
+ `cd tetris-tornado`
+ `./build.sh `
+ get the distributable zip in the `dist/` folderWhere `` is one of the following:
+ `windows`
+ `linux`## Gameplay
You start with a small base to drop tetrominoes on. During the game, there will be random gusts of wind, indicated by red arrows to prepare the player before they pick up speed. The player can then prepare for the pieces to be moved in the direction of the wind and adjust their strategy accordingly.
The main objective of the game is to make as big of a tower as possible. The game is **endless**, with the score being the maximum number of pieces that have been kept for a certain amount of time (score rises only once blocks stop blinking, and if the total amount goes above the displayed value).
## Controls
+ Move the mouse to handle the placement cursor.
+ `LMB` to place the piece.
+ `RMB` to rotate the piece.
+ `P` to pause the game.If the tetromino has been placed, there will be a short delay before the next piece is allowed to be spawned, indicated by the cursor turning red.
## Dependencies
+ [Raylib](https://www.raylib.com/), tested with v5.0-1
+ [Box2D](https://box2d.org/), tested with v2.4.1-2If you were looking for the cross-compilation toolchain, it's [this one](https://github.com/mstorsjo/llvm-mingw). This project expands from a template wrapper I made around Raylib and Box2D, including the correct static libraries to link against **on Windows**, that were built using the toolchain. If you are interested in where the compiled libraries come from please tell me.
**Note:** on Linux the libraries are linked dynamically, so you will need to have them installed on your system! This way the final executable is smaller and easier to distribute.
## Bugs
+ You can place pieces inside of each other.
+ There's a bunch more.## License
This simple game is licensed under the BSD 3-Clause License. See the [LICENSE](LICENSE) file for more information.
Asset licenses are located at each asset folder and are not included in the game's license. Their credits are as well.
## Screenshots
![Game Screenshot](media/screenshot_game.png)
![Start Screenshot](media/screenshot_start.png)