Sprited max sprites

More
2 weeks 7 hours ago #159 by ludojoey
Sprited max sprites was created by ludojoey
Hi!

Thanks for the new version 0.7.8

Just a question :

SPRITED is limited in the UI to 19 sprites.
I see in the source code , in your comments, that it should be 55.

However, the var "end" on line 55 has a value of 19.

If I change this value to 55, it seems that I can edit 55 sprites (instead of 19)

Is it sufficient to change the "end" var to edit to 55 spirtes with SPRITED ?

Thanks!

Please Log in or Create an account to join the conversation.

More
2 weeks 6 hours ago - 2 weeks 6 hours ago #160 by Franck
Replied by Franck on topic Sprited max sprites
The end variable is indeed the default ending of the current edited set. You can increase it. You can also increase/decrease from the UI by adding/removing sprites.

The sprite editor was initially developped on a prototype board that only had 128 KiB of RAM. Hence the limitation to 56 (0-55) sprites. I need to update the code so that it can work with the full 256 sprite set but I did not have time to do so for this release.

Meanwhile if you need more sprites, you can load multiple smaller sets in your application.
Last edit: 2 weeks 6 hours ago by Franck.
The following user(s) said Thank You: ludojoey

Please Log in or Create an account to join the conversation.

More
2 weeks 6 hours ago #161 by ludojoey
Replied by ludojoey on topic Sprited max sprites
Thanks!
55 sprites is more than enough!

Please Log in or Create an account to join the conversation.

Time to create page: 0.168 seconds
Powered by Kunena Forum