Expand description
Game Skunk Advance
Game development library modelled after an imaginary console
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
Macros
- Creates main function, includes gfx.gif, and calls run
Structs
- Tilemap which will be rendered on screen
- Complete state of GSA
- RGB Color
- Sprite which will be displayed on screen, unless tile=0
Constants
- X and y dimensions of maps in Gsa::bgs
- DOWN on dpad
- LEFT on dpad
- RIGHT on dpad
- UP on dpad
- Tile considered empty (never drawn even if has contents)
- B on nintendo, A on microsoft, CROSS on sony
- Y on nintendo, X on microsoft, SQUARE on sony
- A on nintendo, B on microsoft, CIRCLE on sony
- X on nintendo, Y on microsoft, TRIANGLE on sony
- Tile id of bold default font
- Tile id of thin default font
- Width and height of a tile in half-tile mode
- left shoulder button
- Amount of tile maps in Gsa::bgs
- Amount of sprites in Gsa::sprites
- right shoulder button
- Screen Height in pixels
- Screen Width in pixels
- select button
- start button
- Width and height (in tiles) of tileset
- Width and height of a tile
- Palette index which is treated as transparent
Functions
- This is called by run!
Type Definitions
- Bitmask of button states