Jump to content
IGNORED

cc7800, a C compiler dedicated to the Atari 7800


bsteux

Recommended Posts

13 hours ago, bsteux said:

No, unfortunately the doc is still missing. I'm currently refactoring the examples. In the process, I'll try to add some docs and explanation. In the meantime, don't hesitate to ask for help.

Thanks. I've been trying to modify the example_tiled2.c example to use my own 8x16 square tiles (160P mode), but trying to add my own tiles gives some unexpected results. And I'm not sure I exported my tiles properly using sprites7800. Or did I take the wrong approach? Note that I am not interested in sparse tiling, regular tiling works well for me.

Edited by l12n
Link to comment
Share on other sites

On 10/15/2024 at 5:39 AM, bsteux said:

No, unfortunately the doc is still missing. I'm currently refactoring the examples. In the process, I'll try to add some docs and explanation. In the meantime, don't hesitate to ask for help.

My next question would be around sprites: what's the best way to dynamically determine the sprite to draw when calling multisprite_display_sprite (e.g. use different versions of the sprite when a character walks)? I looked at the include files and found a bunch of sprite functions (BTW what's the downside of multisprite_display_sprite_fast vs multisprite_display_sprite?) but nothing which takes an offset inside the sprite sheet.

I tried declaring an array of pointers containing my_sprite, my_sprite+32, my_sprite+64, etc. but the compiler doesn't seem to like this.

Link to comment
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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...