Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yopox/ld52
mad veggies: a puzzle game made for the LD52
https://github.com/yopox/ld52
bevy ld52 ludum-dare puzzle-game rust
Last synced: 2 months ago
JSON representation
mad veggies: a puzzle game made for the LD52
- Host: GitHub
- URL: https://github.com/yopox/ld52
- Owner: yopox
- License: cc0-1.0
- Created: 2023-01-07T01:40:24.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-10T17:25:05.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T04:41:31.633Z (2 months ago)
- Topics: bevy, ld52, ludum-dare, puzzle-game, rust
- Language: Rust
- Homepage: https://yopox.itch.io/mad-veggies
- Size: 8.08 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
[![LD52](https://img.shields.io/badge/Ludum%20Dare-52-orange.svg)](https://ldjam.com/events/ludum-dare/52/mad-veggies) [![bevy](https://img.shields.io/badge/bevy-v0.9-blue.svg)](https://github.com/bevyengine/bevy) [![itch](https://img.shields.io/badge/itch.io-play-green.svg)](https://yopox.itch.io/mad-veggies)
> It's winter, time to plan our future garden to get the best harvest possible!
>
> *mad veggies* is a puzzle game about interactions between vegetables. Some interactions are inspired from irl gardening, and some are made up to add some challenge ;)
- **Title screen**: Click on a button
- **Level selection**: Click on `?` for tutorials and `o` for levels.
- **Puzzle**: Drag the veggies in the grid and find a solution to make them all happy!
- **Level editor**: Type your name, create a level and click on *save level*. It is possible to load any level to see its solution.
- [yopox](https://mstdn.social/@yopox): code (CLion 2022.3, Rust, Bevy), graphics (Aseprite), levels
- [jmen_balec](https://soundcloud.com/jmen_balec): music, sounds effects (Ableton Live)
- **you?**: custom levels
Triple click on a code to select it:
- @yopox:
- ```VCVWVx8F)Z{cqScI+WB```
- vicortie:
- ```TDnDDzU```## changelog
### 10/01/23
- data: Surround level codes with ``` to avoid complications with **"** and **`** when sharing codes here, replace bad `“` with `"` on loading
### 09/01/23
- audio: make existing music and sounds effect play, don't repeat the music when two screens have the same BGM
- tutorial: fix typos
- misc: fix game states `push`/`pop`
- puzzle: fix displayed level number
- levels: remove duplicated level## veggies
| Veggie | Constraints |
|-----------------------------------|---------------------------------------------------------------------------------------------------------------|
| ![Strawberry](promo/veggies1.png) | - **invasive:** Loves being next to other strawberries |
| ![Carrot](promo/veggies4.png) | - **pure:** Hates being next to a rock |
| ![Garlic](promo/veggies6.png) | - **dry:** Hates being next to water |
| ![Apple](promo/veggies3.png) | - **foliage:** Its leaves bother adjacent veggies |
| ![Mint](promo/veggies7.png) | - **tangled:** Its roots bother adjacent carrots and garlic |
| ![Tomato](promo/veggies2.png) | - **protected:** Loves being next to garlic or carrots |
| ![Cherry](promo/veggies5.png) | - **pairs:** Loves being next to exactly one cherry
- **alone:** Hates apple trees in its line and column |## Build, Run
`mrmotext` tileset is required as well as the crate `bevy_text_mode`.
### Run locally
```bash
cargo run
```### Build for the web
```bash
trunk build --release
```At this point the build can be tested with:
```bash
basic-http-server dist
```**Important:** To make the `dist/` folder compatible with itch.io, make sure all links in `dist/index.html` are prefixed with `./`.