Jump to content
JazGaming

Can't figure out why the code isn't recognizing my address for the CLUT

Recommended Posts

Finally decided to try and learn the CLUT, but when I declare the address it reads it as not being declared in this scope. I tried categorizing it as a Dimension, but just brought up more problems.

alucard (2).zip

Share this post


Link to post
Share on other sites

You've told the builder that its a 16bit sprite:

For 16-bit and 24-bit graphics no clut is created (because there isn't a need for one).

For graphics conversion you can use "gfx_clut" or "gfx_noclut" to convert a .BMP file into jaguar raw format and optionally export the paletter or not (clut=yes, noclut=no).

This applies to 1-, 2-, 4- and 8-bit graphics only.



ABS,spr_alu,gfx_clut16,assets\gfx\alu1.bmp

 

When, in fact, its a 4bpp sprite:

image.png.84e60c738e55141e56894e53c025b29b.png

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, CyranoJ said:

You've told the builder that its a 16bit sprite:

For 16-bit and 24-bit graphics no clut is created (because there isn't a need for one).

For graphics conversion you can use "gfx_clut" or "gfx_noclut" to convert a .BMP file into jaguar raw format and optionally export the paletter or not (clut=yes, noclut=no).

This applies to 1-, 2-, 4- and 8-bit graphics only.



ABS,spr_alu,gfx_clut16,assets\gfx\alu1.bmp

 

When, in fact, its a 4bpp sprite:

image.png.84e60c738e55141e56894e53c025b29b.png

sorry got all caught up in it and never said thanks for the help, appreciate it :)

  • Like 1

Share this post


Link to post
Share on other sites

No problem, also you helped find a typo in the documentation :)

"paletter" lol.

  • Haha 1

Share this post


Link to post
Share on other sites

Hmm...Are you using the Alucard sprite to write a platformer test? (Just curious)

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