Jump to content
  • 0

Question

Can some one tell me how to use sprites please (I know this seems (and probably is) like a noob question and sorry if it is.

But please help?

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You need to store sprites somewhere in VRAM (just as you would define tiles) and then reference them in the Sprite Attribute Registers (https://github.com/commanderx16/x16-docs/blob/master/VERA Programmer's Reference.md#sprite-attributes) that are mapped to VRAM from $1FC00. You will also need to enable sprites by setting bit 6 in the DC_VIDEO register that is mapped to main RAM ($9F29).

I am going to be making a video about this in a few weeks, but until then you may want to catch up on the underlying concepts of development that I lay out in my YouTube tutorial series: 

Of particular relevance, past the introductory concepts of assembly programming, are episodes 9 ("Hello, VERA") and 12 ("Tiles"). Using sprites will be an extension of that.

Share this post


Link to post
Share on other sites
  • 0
4 hours ago, SlithyMatt said:

You need to store sprites somewhere in VRAM (just as you would define tiles) and then reference them in the Sprite Attribute Registers (https://github.com/commanderx16/x16-docs/blob/master/VERA Programmer's Reference.md#sprite-attributes) that are mapped to VRAM from $1FC00. You will also need to enable sprites by setting bit 6 in the DC_VIDEO register that is mapped to main RAM ($9F29).

I am going to be making a video about this in a few weeks, but until then you may want to catch up on the underlying concepts of development that I lay out in my YouTube tutorial series: 

Of particular relevance, past the introductory concepts of assembly programming, are episodes 9 ("Hello, VERA") and 12 ("Tiles"). Using sprites will be an extension of that.

Quote

Thank you very much I'll certainly take your advice. Peter

 

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Please review our Terms of Use