- That would make sense if there was a single absolute max for the sprite, but I see this happening:
a. I set a sprite to Depth 15, V Cylinder: Example A. Note that this sprite can go up to 18.
b. I click "adjust," leave the sprite, and then return. It says 14, as you suggested. Example B
c. I change the sprite entry (say, to H Cylinder), click "adjust," but then change it back to Cylinder. When I leave and return, Depth is changed to 13. Example C
If I keep doing that in order:
H Cylinder > Adjust > V Cylinder > Adjust > leave sprite > click on sprite
the Depth goes down by 1 each time. Eventually it went to 0 and then returned "Array index is out of range."
I don't think it's specifically a math effect. When I enter Depth of 100, it will correctly change to 18. Other than that, it always decreases by 1: I think that's a bug. The pattern should only truncate if the number exceeds the maximum; it shouldn't always decrease by 1 after each Adjust. - Sure. Here's the main sprite with a Char pattern, rendering in full: Char
Here, I change it to H Cylinder. The sprite's mouth disappears. H Cylinder
Changing it to V Cylinder, the mouth is still missing. V Cylinder
Notice how his eyes are a separate entity. They have to be, because they use a different palette. This glitch only seems to happen to characters that have eyes as a separate entity. Sometimes parts of a helmet are missing, sometimes a shoulder, etc. In the examples for Part 1 above, you can see the top of his head is missing. - Unfortunately, your advice does not work. Here's an example:
The start of Elec Man's stage looks okay.
I reach a part that has holes in it
I change pattern to V Cylinder, then back to Full Cube.
I return to the beginning of the stage. The floor now has holes in it.
Viewing post in Frequent sprite glitches
Thanks for invaluable feedbacks
1. That's interesting. I will review the code.
2. I will review the code too but i guess it's probably a current technology limitation rather than bug.
3. Then if you click the floor , it say cube or cylinder? Whatever it may say, change to cube and press Adjust again. What will happen then? You should also try the Delete button. It will delete the sprite then try to regenerate it. It's best to use in situations when 3dnes do the wrong sprite segmentation ( one correct sprite is cut into small parts or two sprites are seen as a wrong big sprite.
I've tried your new #3 multiple times and it ultimately results in the same effect. Fixing the floor in one area damages it in another.
I've uploaded the .3dn file in the Repository in case you want to play around and try to reproduce the problem.