Make the Hero
Make the Hero
Game Source Code: https://github.com/not-elm/make_the_hero_easy_type
bevy_flurx GitHub: https://github.com/not-elm/bevy_flurx
This game have been created for the demonstration of bevy_flurx. I would be happy if I could provide solutions to questions such as how to write the game's process flow, and how to use a Reactor.
Game rules
The condition for stage clear is to ensure that only one cell with the same number as goal exists that on the stage.
All cells can be moved only once. If another cell exists at the destination, calc or swap operation is performed on the two cells. which operation is performed depends on the direction of movement.
- The direction calc performed: left up, right up, right down and left down
- The direction swap performed: left, up, right, and down
calc
calc
uses two cells, applies four arithmetic operations that differ according to the direction of movement , and create the new cell has the number with resulting number.
The new cell will be placed at the move destination and the two old cells will be deleted.
move dist = md move source = ms
move direction (if ms is zero, can't move) | operation |
leftup | md / ms |
rightup | md * ms |
leftdown | md - ms |
rightdown | md + ms |
swap
swap
swaps md
and ms
.
For important point, ms
is determined to have moved, but md
is determined not.
key or mouse | operation |
R | Retry this stage |
G | Generate a new stage |
P | Play answer |
Cell click | Select or deselect the cell to be moved |
How many times can you clear a stage?
Updated | 8 days ago |
Published | 16 days ago |
Status | In development |
Platforms | HTML5 |
Author | not_elm |
Genre | Puzzle |
Made with | Rust |
Tags | 2D, bevy, bevy-engine, Open Source, Puzzle-Platformer, rust, Short, Singleplayer |
Code license | MIT License |
Average session | A few seconds |
Languages | English |
Inputs | Keyboard, Mouse |
Links | Source code, bevy_flurx repository |
Development log
- Easier to play! (v0.2.0)8 days ago
Leave a comment
Log in with itch.io to leave a comment.