#gamedev #console #modelled #imaginary #game

bin+lib gsa

Game development library modelled after an imaginary console

3 unstable releases

0.2.1 Jul 27, 2023
0.2.0 Jul 27, 2023
0.1.0 Jul 22, 2023

#1515 in Game dev

0BSD license

67KB
591 lines

gsa

Game Skunk Advance

Game development library modelled after an imaginary console

Changelog

Specs

  • Resolution: 304x176 (19x11 tiles)
  • Colors: 256 (indexed out of a possible 24-bit)
  • Tilesize: 16x16 (or 8x8 for half-tiles)
  • Tileset: 65536 tiles, indexed via 0xYYXX
    • rectangle(not id range) of 0x7000 to 0x7F7F semi-reserved
  • Sprites: 256 of size 16x16 (pondering allowing larger sprites)
  • Backgrounds: 4 of size 1024x1024, scrollable

Getting started

cargo install gsa

gsa new my_project

cd my_project

cargo run

Features not yet implemented

  • Background effects
    • Rotation? Scaling?
    • Mosaic?
    • Mode7?
  • Sprite Effects
    • Rotation? Scaling?
    • Mosaic?
  • Sound (no samples)
    • Synth
    • Speech
  • Savegames
  • Helpers
    • Gamepad text keyboard input
    • Menus

License: 0BSD


lib.rs:

Game Skunk Advance

Game development library modelled after an imaginary console

Changelog

Specs

  • Resolution: 304x176 (19x11 tiles)
  • Colors: 256 (indexed out of a possible 24-bit)
  • Tilesize: 16x16 (or 8x8 for half-tiles)
  • Tileset: 65536 tiles, indexed via 0xYYXX
    • rectangle(not id range) of 0x7000 to 0x7F7F semi-reserved
  • Sprites: 256 of size 16x16 (pondering allowing larger sprites)
  • Backgrounds: 4 of size 1024x1024, scrollable

Getting started

cargo install gsa

gsa new my_project

cd my_project

cargo run

Features not yet implemented

  • Background effects
    • Rotation? Scaling?
    • Mosaic?
    • Mode7?
  • Sprite Effects
    • Rotation? Scaling?
    • Mosaic?
  • Sound (no samples)
    • Synth
    • Speech
  • Savegames
  • Helpers
    • Gamepad text keyboard input
    • Menus

Dependencies

~8–22MB
~324K SLoC