oh, I'm not going to start with memblock now yet.
but stil can't get it to work, no mather how much I tune the interpolation.
sync on: sync rate 60
hide mouse
player=1:load object "objects\player\miko.x",player
rotate object player, -90,0,0
position object player,0,-50,0
fix object pivot player
frame#=1
interpolation#=100
set object interpolation player,interpolation#
Do
rotate object player,0,(object angle y(player)+1),0
if scancode()=199 then frame#=0
if scancode()=207 then frame#=total object frames(player)
if returnkey()=1 then frame#=rnd(total object frames(player)):wait 100
if scancode()=78 then inc interpolation#
if scancode()=74 then dec interpolation#
if scancode()=201 then inc frame#,1000
if scancode()=209 then dec frame#,1000
if upkey()=1 then inc frame#,100
if downkey()=1 then dec frame#,100
if rightkey()=1 then inc frame#,10
if leftkey()=1 then dec frame#,10
set object frame player,frame#
print "interpolation: ";interpolation#
print "frame: ";frame#:
print "fps: ";screen fps()
set text size 8
text 0,0,"arrow & pgup & pgdown keys to set frame"
text 0,10,"+ & - to change interpolation"
text 0,20,"enter to set random frame"
sync
loop
works good as an animation viewer though, LOL
btw; the miko.x is found in the media folder of dbpro
- Kjetil