Skip to content

Commit

Permalink
Update plans
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmMoltony committed Feb 4, 2024
1 parent 8d042e3 commit 4124685
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions plans.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,12 @@ The next major update (*beta1.8*) is planned to release in **February 2024**.

## Changes

- Store world's last played and creation date in `world.meta`
- Show last played date in world select screen
- Redesign settings menu with stuff like categories such as
- Settings categories:
- General
- Visual
- Audio
- Misc aka Settings that idk where to put them
- Binary file formats instead of text - binary is faster and smaller than text

## Q of L (quality of life) Features

Expand Down
3 changes: 2 additions & 1 deletion source/player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2487,10 +2487,11 @@ Player::UpdateResult Player::updateGameplay(s16 oldX, s16 oldY, Block::List *blo
falling = jumping = false;
velY = 0;
y = block->getRect().y - 32;
// TODO refactor fall damage
if (airY >= 44) // if we fall too much
{
s16 damage = airY / 44;
if (airY - 44 >= 9) // TODO figure out what 44 is and move it into like a define or smth
if (airY - 44 >= 9)
damage += (airY - MAX_AIM_DISTANCE) / 9; // do some complicated tomfoolery
if (damage > 0) // if we got fall damage
doDamage(damage, camera);
Expand Down

0 comments on commit 4124685

Please sign in to comment.