day two: automatic hot reload, smashing jump, player states

31 May 2025 · Mania devlog

Date: 31.05.2025

Session Duration: 18:00 - 20:30

Progress

  1. Automatic Hot Reloads
  1. Player States and Targeted Jump
PlayerState :: union {
    PlayerStateNormal,
    PlayerStateJumping,
    PlayerStateSmashing,
    PlayerStateDashing,
}

PlayerStateNormal :: struct {
}
PlayerStateJumping :: struct {
}
PlayerStateSmashing :: struct {
    smash_start_pos: Vec2,
    smash_progress:  f32,
    target_tile:     ^Tile,
    smash_peak:      Vec2,
}

Notes

Next Steps

Letter :: struct {
    id: int,
    content: string,
    mood: Mood,
    read_count: int,
    player_response: string,
}
.........................
.........................
.........................
...............B.........
...............B.........
...............B.........
.........B.....B#........
.........B.....B#........
.........B##...B#........
.........B.....B#........
....L....B##...B#........
....#############........
....#....................
.S..#L............X......
#########################