Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sprites abstract (brain strom) #4

Open
2 of 13 tasks
YouDirk opened this issue Apr 14, 2021 · 0 comments
Open
2 of 13 tasks

Sprites abstract (brain strom) #4

YouDirk opened this issue Apr 14, 2021 · 0 comments
Assignees
Labels
feature request New feature or request todo Unsorted self-reminder WiP Work-in-Progress, we are working on it

Comments

@YouDirk
Copy link
Owner

YouDirk commented Apr 14, 2021

  • 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 ...
@YouDirk YouDirk added feature request New feature or request todo Unsorted self-reminder WiP Work-in-Progress, we are working on it labels Apr 14, 2021
@YouDirk YouDirk self-assigned this Apr 14, 2021
@YouDirk YouDirk mentioned this issue Apr 14, 2021
8 tasks
YouDirk added a commit that referenced this issue May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request todo Unsorted self-reminder WiP Work-in-Progress, we are working on it
Projects
None yet
Development

No branches or pull requests

1 participant