I have been away a while and recently bought another copy of Pro, I wrote a simple test piece just to get back up to speed, but I have immediately hit a snag, I have a quad core i7 running at 3.4ghz, 8 gig of ram and a GeForce GTX660 graphics card, running Win7.
should be powerful enough imo, but my simple test app is stuttering markedly on the screen updates.
I am including the code (needs no media)
sync on
sync rate 60
hide mouse
set display mode 1280, 720, 32, 1
set window off
autocam off
position camera 0,0,-50
point camera 0,0,0
make object cube 1,1
scale object 1,400,100,100
position object 1,0,-25,0
make object sphere 2,1
position object 2,0,0,0
make object plain 3,100,100
position object 3,0,0,3
color object 3,rgb(255,255,255)
ghost object on 3
make object plain 4,150,100
position object 4,0,0,15
color object 4,rgb(0,0,0)
for i=100 to 125
size=rnd(3)+1
make object cube i,size
color object i,rgb(rnd(255),rnd(255),rnd(255))
position object i,(-35+rnd(50)),(-25+rnd(50)),15
next i
Ball_X# = 0.25
Ball_Y# = 0.25
do
for i=100 to 125
turn object left i,1
next i
if leftkey()
position object 1,object position x(1)-.5,-25,0
endif
if rightkey()
position object 1,object position x(1)+.5,-25,0
endif
position object 2,object position x(2)+Ball_X#,object position y(2)+Ball_Y#,0
if object position x(2)>35 then Ball_X# = 0-Ball_X#
if object position x(2)<-35 then Ball_X# = 0+abs(Ball_X#)
if object position y(2)>25 then Ball_Y# = 0-Ball_Y#
if object position y(2)<-25 then Ball_Y# = 0+abs(Ball_Y#)
sync
loop
why doesn't it run smoothly? code error? or have I misunderstood Vsync?, I don't recall this happening a few years back when I was playing about with Pro on a much less powerful machine.
what I am seeing is both the ball and the bat halt/glitch as they move on a regular cycle, it's not apparent every frame, about every half second.
any suggestions welcome.