Jump to content
  • 0
Hugo4IT

How to display sprites?

Question

Hello people,

I have been doing some trial&error lately on how to get the Commander X16 into graphics mode and displaying sprites.
Currently, my code is this and it outputs this. I use the ACME Cross Compiler if thats any special. I have tried to find it out myself by looking at the documentation but i haven't been able to make it work.
I have also tried looking at the source code of other games but most of the games with sprites are made in BASIC (I want to make it in Assembly) or aren't open source.
I have also searched online and searched on this forum but could not find anything regarding displaying sprites in assembly

 

 

Edited by Hugo4IT

Share this post


Link to post
Share on other sites

Recommended Posts

  • 0
Posted (edited)

That's a cool demo  @StephenHorn !   But, is there a limit then to what number of the 128 sprites can be displayed on a single line?

Edited by desertfish

Share this post


Link to post
Share on other sites
  • 0
2 minutes ago, desertfish said:

That's a cool demo  @StephenHorn !   But, is there a limit then to what number of the 128 sprites can be displayed on a single line?

I've previously described the limits over here:

 

Share this post


Link to post
Share on other sites
  • 0

No worries, I'm not entirely certain how searchable that specific thread would have been anyways, but for me remembering an exact phrase I used in the response. 😛

Share this post


Link to post
Share on other sites
  • 0
Thanks Stephen, sorry for not searching first. [mention=1241]Hugo4IT[/mention]: myself is discovering how it all works too. For now I've only discovered how the bitmap graphics modes of the Vera work. I don't have a clue yet about tiles or sprites.  This page is helpful although very concise https://github.com/commanderx16/x16-docs/blob/master/VERA Programmer's Reference.md

 I remember starting out with VERA a long, long time ago (= more than a year). I tried to figure out what concepts like tiles and layers even meant. In those days there were no tutorials by Dusan, very few programs with source code to study, but luckily I had great help of Stephen’s legendary, unofficial documentation. This is the true story of how the West was won, or maybe not, but definitely a story of how a new interest in assembly programming was found.
  • Like 3

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