Nicknack
08-16-2009, 03:22 PM
everything tested with ppl 2.0 on desktop and 1.53 on ppc:
1. spritechildren still returns sprites which have been already deleted :
proc main
s$=newsprite(null);
p$=newsprite(null);
Setspriteparent(p$, s$);
delsprite(p$);
showmessage(spritechildren(s$, &l$));
end;
set sprite's parent to null or use clearspritechildrens can help, but without them would be more compfortable and comprehensible.
2. wrap can't handle small or big number differences:
showmessage(wrap(5, 1,2, true)); //returns 4
showmessage(wrap(26, 1,6, true)); //returns 21
3. some ailing comparisons:
showmessage(1/4==0.25);
showmessage(1==0.75+0.25);
only produces error with 1.53, is it corrected for 1.6?
dim(point$,3,3);
b$,c$=5,4;
point$[1,1]=4;
btw the pathsprite demo doesn't work anymore for both ppl versions and the benchmark test only works with 2.0
hope you can sort them out kornalius ;)
1. spritechildren still returns sprites which have been already deleted :
proc main
s$=newsprite(null);
p$=newsprite(null);
Setspriteparent(p$, s$);
delsprite(p$);
showmessage(spritechildren(s$, &l$));
end;
set sprite's parent to null or use clearspritechildrens can help, but without them would be more compfortable and comprehensible.
2. wrap can't handle small or big number differences:
showmessage(wrap(5, 1,2, true)); //returns 4
showmessage(wrap(26, 1,6, true)); //returns 21
3. some ailing comparisons:
showmessage(1/4==0.25);
showmessage(1==0.75+0.25);
only produces error with 1.53, is it corrected for 1.6?
dim(point$,3,3);
b$,c$=5,4;
point$[1,1]=4;
btw the pathsprite demo doesn't work anymore for both ppl versions and the benchmark test only works with 2.0
hope you can sort them out kornalius ;)