Skip to content

Latest commit

 

History

History
82 lines (58 loc) · 2.48 KB

File metadata and controls

82 lines (58 loc) · 2.48 KB

Nonogram Advance

Nonogram game with 108 puzzles for the GBA

Screenshots

Screenshot of main menu Screenshot of 6x6 puzzle Screenshot of 22x12 puzzle

Player Usage

Download gba file from here and run in an emulator (mGBA recommended) or on an actual GBA

Tip

  • Use nonogram_advance_v0.9.5_sram.gba on SRAM carts or things like EverDrive, or emulators
  • Use nonogram_advance_v0.9.5_flash64.gba on 512KBit/64K Flash carts

Example Cartridge

https://shop.insidegadgets.com/product/gba-32mb-512kbit-flash-save-flash-cart/

Dev Usage

First follow instructions at https://agbrs.dev/book/setup/getting_started.html

Run

cargo run

(runs in mGBA)

Test

cargo test

(runs in mGBA)

Make gba file

agb-gbafix target/thumbv4t-none-eabi/release/nonogram_advance -o nonogram_advance.gba

Thanks/Tools

Lessons learned

  • Macros (include_aseprite, include_wav, etc) should be in a separate module as they seriously affect IDE syntax checking/linting speed
  • The sum of row clues should generally match the sum of column clues
  • Small puzzles (6x6, 8x8) have their sprites doubled, but this allows for 'subpixel' detailing (see 8x8 potion)
  • Don't make diagonal puzzles

Things to learn/solve

  • Scene management
    • enum of scenes instead of box
    • Stack of scenes
      • Issues: vram gets used up, solution might be to create backgrounds/sprites on init and drop backgrounds when backgrounded
  • Save structure
  • BGM across multiple scenes
  • Less repetitive sound setting checks (global sfx enabled check?)
  • Unit testing without needing mgba
  • How palettes are generated
  • Buzzing on music