So I was wanting to use the ScaledSprite(PTR_IN, PTR_OUT) function in an ice program. I defined a sprite, but then instead of declaring a blank sprite, I just made one manually (allocated sprite area in bytes plus 2) because I forgot to do it the other way. It didn't work this way, but when I corrected myself later and used a blank DefineSprite, it did work. I am just wondering, what is the difference between what I did, and what DefineSprite does?
*what I did*
Code:
the second one doesn't display
*what I did*
Code:
DefineSprite(4,4,"...data...")->A
Alloc(66)->B
8->*{B}
8->*{B+1}
ScaleSprite(A,B)
det(0)
det(57,A,0,0)
det(57,B,160,0)
det(1)
the second one doesn't display