PROGRESS! (of a sort)
I did more tests with streamlined code (see below). When compiled with
AGK Studio on my work computer, it had the same random jitter problems on the new 10th gen i3 laptop.
However, when I compiled the exact same code on my same work computer using
AGK Classic,
IT RAN FINE on the new i3! There's apparently something unique about how AppGameKit Studio compiles it that's causing the problem!
// Setup
SetWindowTitle( "Test" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window
SetVirtualResolution( 1024, 768 ) // doesn't have to match the window
SetOrientationAllowed( 1, 1, 1, 1 ) // allow both portrait and landscape on mobile devices
SetSyncRate( 30, 0 ) // 30fps instead of 60 to save battery
SetScissor( 0,0,0,0 ) // use the maximum available screen space, no black borders
UseNewDefaultFonts( 1 )
a$="version 1"
// Setup
SetClearColor(0,0,0)
DrawLine(0,0,99,0,255,255,255)
DrawLine(99,0,99,99,255,255,255)
DrawLine(0,99,99,99,255,255,255)
DrawLine(0,0,0,99,255,255,255)
GetImage(1,0,0,100,100)
for g=1 to 4
CreateSprite(g,1)
SetSpritePosition(g,0,2000)
next
SetSpriteColor(1,255,0,0,255)
SetSpriteColor(2,0,255,0,255)
SetSpriteColor(3,0,0,255,255)
SetSpriteColor(4,255,255,255,255)
CreateText(1,"You clicked the mouse")
SetTextPosition(1,400,400)
SetTextSize(1,32)
SetTextColorAlpha(1,0)
i=0
// Main loop
do
Print(a$)
click=GetPointerState()
Print("Memory usage = "+str(GetImageMemoryUsage()))
Print("Random number = "+str(random(10,99))+chr(10))
if click
i=255
SetTextPosition(1,GetPointerX(),GetPointerY())
endif
if i>0 then i=i-5
SetTextColorAlpha(1,i)
for g=1 to 4
h=GetSpriteY(g)
if h>668
SetSpritePosition(g,random(0,924),random(0,668))
endif
SetSpritePosition(g,GetSpriteX(g),GetSpritey(g)+10)
next
Sync()
loop