AGK Studio

Started by Steve Elliott, July 25, 2019, 08:41:13

Previous topic - Next topic

Steve Elliott

Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Qube

I think it was released too early as there are missing features & new bugs that weren't even present in the alpha.

Only tested on Mac so far but I'm not impressed as I now have stuttering jerky movement to which I'll have to create mini example as bugs reports. The IDE now also sometimes sticks for a few seconds when you right click / copy ( not always so need to pin down how / when )

Also, arrggghh Vulkan is beta for Windows only atm. NOT what they advertised for the pre order cash influx.

Yet still on release day TGC promote Studio with fake advertising :

QuoteThe rendering system in AppGameKit Studio supports both OpenGL and Vulkan rendering pipelines. When an app is run on a device that supports Vulkan, AppGameKit Studio will choose this fastest solution over the default OpenGL renderer.

PC, Mac and Linux versions are all included, and they have been extensively tested by the pre-order owner who gained access to the first alpha builds.
FAKE!!! There currently is no Vulkan renderer for Mac or Linux. Why TGC just can't be upfront in their marketing I do not know.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Steve Elliott

#2
Quote
The IDE now also sometimes sticks for a few seconds when you right click / copy ( not always so need to pin down how / when )

There is definitely a delay of about a second on PC.

Quote
Only tested on Mac so far but I'm not impressed as I now have stuttering jerky movement

I don't get that on PC.

Quote
FAKE!!! There currently is no Vulkan renderer for Mac or Linux.

That should be made clear, definitely.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Qube

Hmm, something odd going on with AGKStudio on the Mac ( not tested Windows yet ).

Anyone with AGK Studio or indeed any version of AGK could you test the below please. Leave it running for a couple of minutes and watch to see if it judders at any point.

On my Mac If I run the below constantly then occasionally it'll stutter and miss the odd frame. This never happened in AGK Classic. Yes, I've tried FPS run and also without the IDE being open too.

Be interesting to see the results of Mac and Windows. Oo, don't forget to save the ball.png and shove it in the media folder :)


SetErrorMode( 2 )
SetWindowSize( 1920, 1080, 1 )
SetVirtualResolution( 1920, 1080 )
SetDisplayAspect( 1920.0 / 1080.0 )
SetOrientationAllowed( 0, 0, 1, 1 )
EnableClearColor( 1 )
SetRawMouseVisible( 0 )
SetRandomSeed ( GetUnixTime() )
SetVsync( 1 )
SetClearColor( 0, 0, 0 )
SetDefaultMinFilter( 0 )
SetDefaultMagFilter( 0 )

Type tBall
x As Float
y As Float
speed As Float
size As Integer
EndType

Local ball As tBall
Local balls As tBall[]

Local tempImage, ballSprite

tempImage = LoadImage( "ball.png" )
ballSprite = CreateSprite( tempImage )

For count = 1 To 200
ball.x = Random( 0, 1919 )
ball.y = Random( 0, 1079 )
ball.speed = Random( 1, 6 ) + ( Random( 1, 50 ) / 100.0 ) // silly way to create a float based random speed
ball.size = Random( 32, 32 * 4 )

balls.insert( ball )
Next

// press ESC to quit this exciting thing

Repeat
For count = 0 To balls.length
SetSpritePosition( ballSprite, balls[ count ].x, balls[ count].y )
SetSpriteSize( ballSprite, balls[ count ].size, balls[ count ].size )
DrawSprite( ballSprite )

Inc balls[ count ].x, balls[ count ].speed * ( GetFrameTime() * 60 ) // cheap and cheesy 60FPS update delta time
If balls[ count ].x > 1920 Then balls[ count ].x = 1920 - balls[ count ].x - balls[ count ].size
Next

Swap()
Until GetRawKeyPressed( 27 )
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Amon

Yo. Just tried it and left it running for about 5 minutes and encountered no stuttering or jittering.

When first run I did get an error message stating EnableClearColour was deprecated and did nothing. Clicking OK still went to the spaceballs fullscreen mesmerizing app. :)
edit/// This is running on Windows with AGKStusio 1.0

Steve Elliott

I find that a bit jittery, yes;  certainly not silky smooth.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Qube

QuoteYo. Just tried it and left it running for about 5 minutes and encountered no stuttering or jittering.
Interesting, thanks.

@Steve, could you remove the "* ( GetFrameTime() * 60 )" and try again?, thanks.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

Steve Elliott

Better, but I still detect jitter.  Will install on mac and see how it runs.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Qube

Quote from: Steve Elliott on July 26, 2019, 00:17:43
Better, but I still detect jitter.  Will install on mac and see how it runs.
Ahh right, so there is a jitter. Sorry to be a pain but could your try the code with the oldest version of AGK Classic you have and see if it does the same? - For me AGK Classic works flawless.
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

LineOf7s

AGK Classic here.  No jitter after many minutes.
"Life's biggest obstacles are your greatest opportunities to excel"

Steve Elliott

I uninstalled non Studio versions, sorry.  And their website doesn't seem to like my mac so I'll try again tomorrow.
Win11 64Gb 12th Gen Intel i9 12900K 3.2Ghz Nvidia RTX 3070Ti 8Gb
Win11 16Gb 12th Gen Intel i5 12450H 2Ghz Nvidia RTX 2050 8Gb
Win11  Pro 8Gb Celeron Intel UHD Graphics 600
Win10/Linux Mint 16Gb 4th Gen Intel i5 4570 3.2GHz, Nvidia GeForce GTX 1050 2Gb
macOS 32Gb Apple M2Max
pi5 8Gb
Spectrum Next 2Mb

Qube

Quote from: LineOf7s on July 26, 2019, 00:25:46
AGK Classic here.  No jitter after many minutes.
Thanks for testing :) - As thought, AGK Classic works fine
Mac Studio M1 Max ( 10 core CPU - 24 core GPU ), 32GB LPDDR5, 512GB SSD,
Beelink SER7 Mini Gaming PC, Ryzen 7 7840HS 8-Core 16-Thread 5.1GHz Processor, 32G DDR5 RAM 1T PCIe 4.0 SSD
MSI MEG 342C 34" QD-OLED Monitor

Until the next time.

LineOf7s

Quote from: Qube on July 26, 2019, 03:40:50
Quote from: LineOf7s on July 26, 2019, 00:25:46
AGK Classic here.  No jitter after many minutes.
Thanks for testing :) - As thought, AGK Classic works fine
...which is exactly why I've felt precisely no compunction to "upgrade" to the new one.
"Life's biggest obstacles are your greatest opportunities to excel"

MikeHart

Qube, it could be that the MoltenVK path will be an invalid solution in the next OSX release, which is scheduled for September 2019. If TGC is smart, their will go for Metal2 directly.


What I find more disturbing is that theiy said that AGKS 1.x is only about the IDE and the vulkan renderer. New features will  be added in V2.x which was a payed upgrade in AGKC. As the vulkan render doesn't give that much advantage, it would be smart and IMHO cheaper to wait for  V2 if someone wants to upgrade from AGKC.



MikeHart

Did they provide Tier2 projects and libs in AGKs?