I can't understand next phenomenon.
I had loaded animated 3D-object. It’s first frame - _startframe. Last frame - _endframe. Here is the part of my code:
do
...
if upkey()=1
loop object _num_obj, _startframe, _endframe
move object _num_obj, _step_obj#
endif
...
sync
loop
Compiled code gives the different result by Dark Basic and by DB Pro.
By DB:
When "Arrow Up" key is pressed the object is moving with the step _step_obj# and animating from the _startframe to _endframe frames.
By DB Pro:
When "Arrow Up" key is pressed the object is moving with the step _step_obj# and remains motionless. But when the "Arrow Up" key is not pressed the object is animating from the _startframe to _endframe frames.
What's wrong?
Kadmium.