Skip to content

Sprites abstract (brain strom) #4

@YouDirk

Description

@YouDirk
  • Sprite module should be a 'Structure' constructed with Sprite_new() and ticking with Sprite_tick()
  • Global sprite settings goes into a new Graphix_buffer_sprites_t, such like sprite enable bits at 0xd015
  • Think about where to place the sprite buffers, think about replacing VICBANK (VIC-II DMA access), 0xc000 currently.
  • Graphix_rasterline_isr() must be adapted for sprite animations
  • Implementing a $> c64nonsense-cook -t sprite-gif my-character.gif -t music-goattracker music.sng -t level-png the-bigcastle.png assets.rel
  • AssetLoader module which is able to load assets from assets.rel
  • Adapting repository directory structure: assets-game/ makeinc/ src/ src-cook/ src-game/ trunk/
    • src-cook/ shall be compileable without to have cc65 installed
    • src/ make target is a src/c64nonsense.lib
    • src-game/ builds das-produkt.prg which is static linked to the src/c64nonsense.lib, which hopefully reduces prg file size (linker optimization)
    • assets-game/ runs the cooking process ../src-cook/c64nonsense-cook -t [...] das-produkt.rel
    • dependencies: src-cook/: gcc, src/: cc65, assets-game/: src-cook/c64nonsense-cook, src-game/: src/c64nonsense.lib assets-game/das-produkt.rel
  • Think about a concept for sprite multiplexing ...

Metadata

Metadata

Assignees

Labels

WiPWork-in-Progress, we are working on itfeature requestNew feature or requesttodoUnsorted self-reminder

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions