ARG i did a mistake in my test (testing with my main project was not a good idea :-p) in fact paste sprite is as fast as "original" sprite (or negligeable difference).
So they is no more problem, paste sprite does what i need faster than i thought...
But the error was from backdrop desactiveted in part of code and not in other (that s why i've found a fps difference)... but nothing exteriory seeable, no graphic difference...
In fact i just saw backdrop was completly useless when a sprite is created (even if it's hide)
It's necessary to desactivate it to see sprites when they're are drawn 1st, but it's still good if they're drawn at last.
Result : around 2-3% fps constantly gained with backdrop off in a program witch uses dbp sprites
sync on : sync rate 0
create bitmap 1,512,512
box 0,0,512,512,rgb(255,0,0),rgb(0,255,0),rgb(0,0,255),rgb(0,0,0)
get image 1,0,0,512,512
for i = 1 to 10
sprite i,i*10,i*10,1
set sprite alpha i,32
hide sprite i
next i
set current bitmap 0
make object cube 1,10
backdrop=1
do
yrotate object 1,wrapvalue( object angle y(1)+0.1 )
if shiftkey()
if shk=0
if backdrop=0
backdrop on : backdrop=1
else
backdrop off : backdrop=0
endif
shk=1
endif
else
shk=0
endif
text 100,85,"Shiftkey = switch backdrop on/off (backdrop = "+str$(backdrop)+" )"
if upkey()
if upk=0
draw sprites first
upk=1
endif
else
upk=0
endif
text 100,115,"upkey = sprites 1st"
if downkey()
if dwk=0
draw sprites last
dwk=1
endif
else
dwk=0
endif
text 100,130,"downkey = sprites last"
IF returnkey()
if rtk=0
for i=1 to 10
hide sprite i
next i
rtk=1
endif
for i=1 to 10
paste sprite i,i*10,i*10
next i
ELSE
if rtk=1
for i=1 to 10
show sprite i
next i
rtk=0
endif
ENDIF
text 100,100,"Returnkey = hide sprites and use paste sprite"
text 0,0,"fps : "+str$(screen fps())
sync
loop