Hallo you all !!
Now a day it´s not so important but trying to set animation in Dbpro, like
set object keyframe of old Darkbasic Clasic command, I made a piece of code that can help somehow to do the same. Try it and see if it´s useful.
cheers.
rem chafari´s SET OBJECT KEYFRAME
autocam off
sync on
_floor=1000
make object box _floor,300,2,300
color object _floor,rgb(0,155,0)
make object box 1,10,10,10
color object 1,rgb(100,0,0)
position camera -100,100,-100
point camera 0,0,0
do
`setting animation -----------------------------------------------
loop object 1,1,10 //like a normal animated object
fr=object frame(1)
set object speed 1,2 //setting speed
if fr=1 then move object up 1, 0.3
if fr=3 then move object 1,0.4
if fr=5 then move object down 1,0.3:perform csg difference _floor,1
`------------------------------------------------------------------
sync
loop
oh my god