TheGameCreators / AGK-Studio

3 stars 1 forks source link

AGK Player Jun 9 2021 doesn't seem to work with AGK Studio 2021.09.16 #883

Closed KevinCrossDCL closed 2 years ago

KevinCrossDCL commented 3 years ago

A basic fresh/new project will crash and close the Jun 9 2021 AGK Player on Android when streaming from the latest version of Studio 2021.09.06. There's no update on Play Store for a later version of Player.

The same code below will run fine from Studio 2021.06.14


// Project: PlayerTest 
// Created: 21-09-25

// show all errors

SetErrorMode(2)

// set window properties
SetWindowTitle( "PlayerTest" )
SetWindowSize( 1024, 768, 0 )
SetWindowAllowResize( 1 ) // allow the user to resize the window

// set display properties
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 )

do
    Print( ScreenFPS() )
    Sync()
loop```
VirtualNomad19 commented 3 years ago

in the meantime, all Sept 2021 players except the iOS player can be found on your hard drive @ ...\AppGameKit Studio\Players. the new Android version found there worked fine for me.

funkmaster5k commented 3 years ago

This should be fixed with the new update, if I am not mistaken.