Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Studio Chat / Studio Version 2021.09.20

Author
Message
Orvillian
TGC Developer
5
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 20th Sep 2021 15:59 Edited at: 20th Sep 2021 16:55
A new version is available on Steam and TGC servers. Changes -

iOS
Fixed a crash on iOS when attempting to restore purchases

Android
Updated Android export to enable exporting to an App Bundle for Google Play
The Java Development Kit (JDK) must now be installed prior to exporting an APK or App Bundle. You can download it from here; https://www.oracle.com/java/technologies/java-se-glance.html
APKs are now signed with both V1 and V2 signatures to support future versions of Android
Fixed Google Service App ID field in Android Export dialog being limited to 12 characters

AGK Core fixes
Fixed array FromJSON() crashing when converting an empty string into an integer or float
Fixed a problem with the print command not dealing with more than 20 digits in a float. Previously anything greater than this would cause a silent crash
Fixed a crash when using SetMusicLoopTimesOGG
Added a new find feature for unsorted arrays called IndexOf. An example of it use would be: index = array.IndexOf ( 123 ) – so index will be assigned the index of the array if it can find the value 123, otherwise it will be -1
SetEditBoxTextSize command reference updated
Updated command reference for Len and ByteLen
Additional information added to the tips section of the documentation explaining about case sensitivity and tier 1 apps and their bytecode

IDE
Fixed an issue when using a # character in a search field and blank in the replace field that locked up the IDE
Fixed selecting a word, then search and replace goes haywire
Fixed duplicated button ids with multiple scenes
Fixed a search and replace issue that affected unrelated parts of the source code
Fixed HTML export not remembering previous directory information
Fixed an issue where using a dot (.) in search and replace makes changes that don't match the search criteria
Fixed the debug variable being right justified and hiding the value
Fixed the IDE keymapping for zoom in/zoom not working
Disabled font resizing/zooming with the Command key and trackpad swipes on Mac
Fixed APK export from failing with Firebase integration
Added auto folding of user defined types
Order of tabs now remembered between saves
Fixed the issue of search and replace in all project files not replacing instances in the first line of the source file
Fixed the undo button not working after duplicating a line with Ctrl+D
Added the ability to add text objects to an array group in the scene editor
Fixed an issue when a Function & Type both had the same name they would not appear in the drop down list together in the IDE
Virtual Nomad
Moderator
15
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 20th Sep 2021 16:14
thanks for the update! btw, you have a couple PMs
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
CatfoodMcFly
6
Years of Service
User Offline
Joined: 24th Jan 2015
Location: Stoke-on-Trent
Posted: 20th Sep 2021 16:19
Hello there, thanks for the update as ever but since this one I can no longer export an .apk from Studio. It throws up an error: "Error: failed to check for java".

I've uninstalled any old versions of Java and installed the latest update, but no luck. It's not the end of the world as I can just open up AppGameKit classic and export my app from there, which works fine. Something that needs fixed though, unless it's just me (entirely possible)!
PartTimeCoder
AGK Tool Maker
6
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 20th Sep 2021 16:21 Edited at: 20th Sep 2021 16:23
Quote: "- Added a new find feature for unsorted arrays called IndexOf."


Nice, that will come in handy

Is this my net or your server?
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee

Attachments

Login to view attachments
Virtual Nomad
Moderator
15
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 20th Sep 2021 17:03 Edited at: 20th Sep 2021 17:04
Quote: "Is this my net or your server?"
is that on steam? mine downloaded in ~10-15 seconds.

meanwhile, orvillian updated the first post to include ALL of the updates.
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
Ranietz
AGK Gold Backer
17
Years of Service
User Offline
Joined: 2nd Sep 2004
Location: Norway
Posted: 20th Sep 2021 17:16
Quote: "Fixed a crash when using SetMusicLoopTimesOGG"


I can confirm that this is now fixed (at least for me). Thank you.
PartTimeCoder
AGK Tool Maker
6
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 20th Sep 2021 17:19
No, from TGC, it starts, stalls then fails with a network error, Ill try again later.

I wanted to test if the "Refresh" button is fixed in the assets window (add a directory and it fails) ... been broken since forever

a fair few of my gripes were addressed in this update, Thank you TGC.
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Virtual Nomad
Moderator
15
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 20th Sep 2021 17:23
@orvillian,

is .IndexOf referenced anywhere in the help files? i see the new Arrays Enhanced guide but no reference to .IndexOf
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
Orvillian
TGC Developer
5
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 20th Sep 2021 17:43
The only reference to it is in the what's new section. Need to add some extra documentation to cover it.
TamBam
9
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 20th Sep 2021 20:17 Edited at: 20th Sep 2021 20:18
I download and install Java and even I try my 2 PC (Win10) and 1 Laptop (win7) all shows same error . You all just tell me you all ok with new update or not ?? error is " Fail to chk for java " when export .apk
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 20th Sep 2021 22:01
I've installed the latest Java from the link provided and I also get the "Error: failed to check for java". This looks like another broken update.
Virtual Nomad
Moderator
15
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 20th Sep 2021 22:23
Quote: "Error: failed to check for java"

same here; WIN64 JDK-17.

i thought there might be a new prompt within Build Options or Export dialogue to direct to the JDK folder that i missed but i see nothing, there. perhaps Studio isn't finding it on its own (and we can't help it).

meanwhile, i've perused the updated help files but nothing new for Tier 1 Android Publishing that might help, either.
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 20th Sep 2021 22:41 Edited at: 20th Sep 2021 23:29
Hopefully it will be sorted tomorrow. Does anyone know why we have to install Java for this update anyway? is it because of the google bundle option?

Update: I'm also having a problem broadcasting to my android phone and get an error message saying 'could not find permission'

Is this because the playstore app needs updating?
Dark Raven
7
Years of Service
User Offline
Joined: 27th Jul 2014
Location: United States
Posted: 20th Sep 2021 23:29
I will confirm that none of the android export settings work so it isn't just google bundle option that is giving this error. And just to put it out there I've also installed java 1.8 which is actually Java 8 (an earlier version) and I got the same error message so it really has nothing to do with the java version as some one had suggested installing in another thread. I also tried using Openjdk and the version downloaded from the link above and no go. So something in Studio is the problem or someone needs to show the steps to installing jdk for Studio to recognize it. Without this it seems Android export from the windows studio version is non existent.
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 20th Sep 2021 23:32
Can you broadcast to an android device ok?
psyche1979
User Offline
Joined: 13th Dec 2020
Location:
Posted: 20th Sep 2021 23:36
I also have a problem with exporting to Android due to a java error. I tried different versions of java. Java works without problems. Any version. The studio does not recognize her. Windows 10 Professional x64. Updated with everything realized by Microsoft.
Fix it as soon as possible with a small patch. Let's not wait for months. Thanks.
Dark Raven
7
Years of Service
User Offline
Joined: 27th Jul 2014
Location: United States
Posted: 21st Sep 2021 00:11
I can't even broadcast to AppGameKit Player on the phone. I've tried multiple example programs and I get error messages that seem to be weird. Now usually when an update is released a new player is released but I'm not showing any update available and it pretty much crashes the player and gives me error messages. I tried the spaceshooter game and gave me text 1 not found errors for particle functions. And then gives me image error messages when loading images into sprites. Also tried sprite collision and got crash and error message on image loading into sprite that makes no sense. So it looks like android development got messed up somewhere beyond just the export functions.

Is there a player update for android that hasn't gotten pushed yet or is a version from June.

I don't do IOS so I don't know if it is messed up or not but android is. Windows export seems to work though I hadn't tried debugging or anything.
Virtual Nomad
Moderator
15
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 21st Sep 2021 00:45 Edited at: 21st Sep 2021 01:13
Quote: "text 1 not found errors for particle functions."

so, i'm not the only one receiving non-sensical errors:


the only direct font command i'm using is the default UseNewDefaultFonts( 1 ) - (nothing for the Text objects)


add:
Quote: "Is there a player update for android that hasn't gotten pushed yet"

nothing new on google play but there is a 09/16/21 player found under .../AppGameKit Studio/Players/Android that i installed on my phone and it DOES broadcast fine from Studio.

using it with Classic hasn't worked (getting similar "non-sensical" errors referenced above).

add:
Android Export issue was reported @ Github. i've tagged it up... tho, i don't know that we need to go beyond this thread to report issues with the update, yet.
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]

Attachments

Login to view attachments
Dark Raven
7
Years of Service
User Offline
Joined: 27th Jul 2014
Location: United States
Posted: 21st Sep 2021 02:07
well I can't seem to get it installed on my phone. I keep getting app not installed error when trying to install it.
Orvillian
TGC Developer
5
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 21st Sep 2021 07:08
Apologies for the problems many of you have encountered. I'm working on fixes and will provide a new build as soon as possible. In the meantime you may want to revert to the previous build.
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 21st Sep 2021 08:11 Edited at: 21st Sep 2021 09:12
While fixing the issues can you also program the code folding to remember the fold state when the file is saved? Thanks
Qube_
7
Years of Service
User Offline
Joined: 21st Oct 2014
Location: Omnipresent
Posted: 21st Sep 2021 08:34
I may of missed something but is Orvillian now the lead developer of AppGameKit? Has Paul stepped back?
Orvillian
TGC Developer
5
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 21st Sep 2021 08:46
Paul is still the lead developer of AGK. I'm involved as well now and will be making some fixes and putting the builds together.
TamBam
9
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 21st Sep 2021 09:27 Edited at: 21st Sep 2021 09:31
@Orvillian that's sound great you both work together . I already install previous version . You take time sir no problems for that but please active daily or one after another day in community so we never feel helpless or lonely . Because after corona situation this AppGameKit is my 2nd source of income , I make small games for my clients and they pay me . So please keep touch always in community . And also make a notification system in community so if someone answer my thread must sent a mail to my mail box will be very helpful . Thank-you .
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 21st Sep 2021 09:48
Yes, it would be good if a TGC Developer had more of an active role on the forums.
hosch
Developer
User Offline
Joined: 25th May 2021
Location:
Posted: 21st Sep 2021 10:06
Hi guys,

I have a question regarding the Upload Key for the Play Store AAB format. AppGameKit had the option to generate the Keystore file under the tools section. AAB requires an Upload Key. Currently I can't find any option in AppGameKit to generate it. Do I need to install and generate it in Android Studio or am I missing something? Thanks.

Of course I tried the new build as well:

- can't broadcast to my phone with the player from Google Play Store
- can't export AAB files (no error thrown, the file simply isn't generated)

So nothing that has not been reported yet.
Kevin Cross
18
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 21st Sep 2021 11:23 Edited at: 21st Sep 2021 11:27
I think you mentioned on GitHub that you fixed the iOS exporting/Apple approval issues with the tracking/ads privacy that the last version had, but it's not listed in the list of changes above. I won't be exporting iOS and requesting approval from Apple for probably a long time now, but would be good to know if it's definitely sorted, and tested. The last version pretty much made iOS apps with ads or using GetDeviceID() impossible to get approved by Apple, and even without ads and GetDeviceID() you had to take your Tier 1 app through the Tier 2 export process because the Tier 1 export gets rejected by Apple
Orvillian
TGC Developer
5
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 21st Sep 2021 12:21
I ran some tests and was able to confirm the plist was correct when the advert checkbox was not ticked but didn't get round to uploading an app. I'll do some more tests while working on the update.
Virtual Nomad
Moderator
15
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 21st Sep 2021 16:05 Edited at: 21st Sep 2021 16:07
@PTC,

was this feature request for text arrays addressed in this update?
Quote: "Added the ability to add text objects to an array group in the scene editor"


i saw THIS report and closed it. i expect yours was a duplicate that didn't get labelled as such.

i'm trying to confirm some of the issues as "fixed" @ the repo and close them.
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
TamBam
9
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 21st Sep 2021 17:24
@Virtual Nomad Text assign to array group already added in 20-09-2021 update .
Virtual Nomad
Moderator
15
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 21st Sep 2021 19:30 Edited at: 21st Sep 2021 19:30
Quote: "Text assign to array group already added in 20-09-2021 update."
fair enough. issue closed.
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
TamBam
9
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 23rd Sep 2021 09:41
@Orvillian sir any update about your changes ? we are all waiting for a small message from your side Thank-you
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 23rd Sep 2021 11:18
Is there anyway to roll back to a previous version on steam? Obviously the current version is now broken.
TamBam
9
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 23rd Sep 2021 11:43
@Zaxxan I don't think steam version not possible , I have buy direct from TGC website so good thing is previous version they always keep on their website .
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 23rd Sep 2021 12:08
Fortunately I own the TGC version as well.
adambiser
AGK Developer
6
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 23rd Sep 2021 15:09
@Zaxxon, yes, you can go back to the previous, or other versions.

Right click the program in the Steam IDE, properties -> Betas tab. Previous versions are in the betas drop down.
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 23rd Sep 2021 15:38 Edited at: 23rd Sep 2021 19:14
@adambiser, ok thanks. It saves me having to reinstall the TGC version.

Orvillian
TGC Developer
5
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 24th Sep 2021 09:25
I am making progress on fixing the bugs introduced in the last version. Expect to see new builds available next week.
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 24th Sep 2021 12:26 Edited at: 24th Sep 2021 13:00
Ok thanks. Any chance you can release a version that doesn't need Java installing? Or is it a critical part of the update now?
Orvillian
TGC Developer
5
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 24th Sep 2021 15:25
Java is an essential component for exporting an APK. There's nothing we can do to change that.
TamBam
9
Years of Service
User Offline
Joined: 29th Nov 2011
Location: India
Posted: 24th Sep 2021 15:49
@Orvillian Thank-you for this response.
Zaxxan
AGK Developer
1
Years of Service
User Offline
Joined: 17th Nov 2020
Location: UK
Posted: 24th Sep 2021 20:55 Edited at: 24th Sep 2021 20:55
@Orvillian Java isn't required for the current builds to export an APK, so what has changed?
PartTimeCoder
AGK Tool Maker
6
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 24th Sep 2021 23:44
Quote: "so what has changed?"


Ever changing Google developer requirements, the apk is now the app bundle thing and requires another toolchain that uses java
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Virtual Nomad
Moderator
15
Years of Service
Recently Online
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 25th Sep 2021 02:11
I still just want to build APKs. And android doesnt require bundles, right? Its a google play thing, right? If bundles require JDK, "ok". But shouldn't *need* JDK for APK export? i can live with studio's "requirement" for APK, but is it necessary?
[My Itch.io Home] [AGK on Itch.io]
[AGK Resource Directory] [TGC @ GitHub]
[CODE lang=agk] YOUR CODE HERE [/CODE]
[VIDEO=youtube] VIDEO ID [/VIDEO]
[AGK Showcase][Google Forum Search]
Kevin Cross
18
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 25th Sep 2021 09:47 Edited at: 25th Sep 2021 09:48
We need a new version of Player released with this one because streaming a project from the latest Studio version crashes the Jun 9 2021 Player. Reported here: https://github.com/TheGameCreators/AGK-Studio/issues/883

I can't see any update available for the Player on the Play Store.
PartTimeCoder
AGK Tool Maker
6
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 25th Sep 2021 09:48 Edited at: 25th Sep 2021 09:49
@Virtual Nomad

Well previously the build tools were bundled within AppGameKit install path so no external libs needed, its clear Google have been trying to push Android development to Android Studio for a while now so this does not surprise me in the slightest most other apps that compile APK's already have a external dependency on the JDK and NDK, point is, there is only so much "bits and pieces" of an SDK you can rip out and bundle before it starts breaking things, I would say at a guess the apk compile tool now also has an external dependency in the JDK so can no longer be ripped out and bundled without breaking some functionally.

Maybe an option to build a "side-load" only apk with the old system ?? I don't see TGC going for that TBH as the export stuff HAS to be current and fully functional .... on that note... any news on a fix?
Open Source plugins
Cl - DnD Plugin
Buy Me A Coffee
Kevin Cross
18
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 25th Sep 2021 12:35 Edited at: 25th Sep 2021 12:35
Quote: "I ran some tests and was able to confirm the plist was correct when the advert checkbox was not ticked but didn't get round to uploading an app. I'll do some more tests while working on the update."


Just thinking about this some more. What happens if they have no ads (so don't check the ads box) but use GetDeviceID()? Should there be a check box for tracking data on the export window that will update the plist accordingly to show that the app is tracking data etc.?
hosch
Developer
User Offline
Joined: 25th May 2021
Location:
Posted: 25th Sep 2021 14:55
I want to ask my question regarding the Upload Key for the Play Store AAB format again.

AppGameKit had the option to generate the Keystore file under the tools section. AAB requires an Upload Key. Currently I can't find any option in AppGameKit to generate it. Do I need to install and generate it in Android Studio or am I missing something? Thanks.
Bloodwire
5
Years of Service
User Offline
Joined: 26th Dec 2015
Location:
Posted: 26th Sep 2021 13:52
This new version is broken for me.

- Redhat Linux 8,
- Steam Edition
- Kernel 4.18.0-305.el8.x86_64
- glibc 2.28

The output error is:

>>> Adding process 75657 for game ID 1024640
GameAction [AppID 1024640, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
/home/pale/.local/share/Steam/steamapps/common/AppGameKit Studio/AgkStudio64: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /home/pale/.local/share/Steam/steamapps/common/AppGameKit Studio/AgkStudio64)
GameAction [AppID 1024640, ActionID 3] : LaunchApp changed task to Completed with ""
Game removed: AppID 1024640 "", ProcID 75657
Uploaded AppInterfaceStats to Steam
Exiting app 1024640
No cached sticky mapping in ActivateActionSet.[2021-09-26 14:45:26] Background update loop checking for update. . .

Apparently the app doesn't run unless I install glibc2.29, which isn't really feasible as it is a core component of the OS.
Abiz
9
Years of Service
User Offline
Joined: 14th Nov 2012
Location: Amsterdam
Posted: 26th Sep 2021 14:42
I installed the JDK 17 as recommended, but no dice, still get the JAVA error.
I'm going back to the June version.

James

Login to post a reply

Server time is: 2021-11-27 04:49:47
Your offset time is: 2021-11-27 04:49:47