timleader / gba-demo

tech demo for the gameboy advance
MIT License
2 stars 0 forks source link

Entity palette write once #76

Open timleader opened 2 years ago

timleader commented 2 years ago

At the moment model entities write their palettes every frame, just do this once,

Considering overlap of entity palettes, how do we handle this. Maybe one universal palette for all entities

timleader commented 2 years ago

Level will define a palette to be shared across all entities in that level of the game

timleader commented 10 months ago

Maybe a Graphics State (that tracks what palettes are set etc. and prevents any duplicate copys)