D3D 1100
DBP 2400
i guess they fixed the slow text issue they had on the last dbp update.
althought i still recommend using D3D cuz the box/cisrcle/dot 2D commands are faster still..
btw, its not that healthy to your screen to force update it more than it designed to.
the optimal update screen rate is 60, you updating the screen
small update:
make sure u use randomize timer() before u work with RND
cuz the 1st RND output will be the same number if you wont use "randomize tiemr()"
`%Project Title%
`%Source File Name%
`======================
sync on
randomize timer()
D3d_Init
set text font "Tahoma"
set text size 11
d3d_font 1,"Tahoma",11,0,0,0
method = 0
make object cube 1,1
do
yrotate object 1,object angle y(1)+0.1
if scancode() <> 0 and down = 0
down = 1
inc Method
if Method = 2 then Method = 0
endif
x = (screen width())
y = (screen height()-140)
if Method = 1
a$ = "[DBP]"
for n = 0 to 100
ink rgb(2.55*n,255-(2.55*n),2.55*n),0
text rnd(x),100+rnd(y),"Hello World"
next
endif
if Method = 0
a$ = "[D3D]"
d3d_startText
for n = 0 to 100
d3d_text 1,rnd(x),100+rnd(y),0,"Hello World",rgb(2.55*n,255-(2.55*n),2.55*n)
next
d3d_endText
endif
if scancode() = 0 then down = 0
text 0,0,"Press Any Key to change Method: "+a$+" "+str$(screen fps())
sync
loop