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 Classic Chat / [STICKY] AppGameKit Version 2020.04.30

Author
Message
Paul Johnston
TGC Developer
17
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 30th Apr 2020 15:06
I've uploaded a new version to Steam and the TGC downloads area with the following changes

* Added clipboard support to the Linux version
* Increase max local notifications to 100
* Fixed CopyNetworkMessage failing to copy messages that were not fully read
* Copied network messages can now be read and added to
* Added AddNetworkMessageBye and GetNetworkMessageByte
* Added an error if the Mod command is used with a divisor of 0 to avoid a crash
* Added SetSoundDeviceMode for iOS to choose between exclusive audio allowing audio from background apps to continue
* iOS now defaults to allowing audio from background apps to continue
* iOS Tier 2 projects have been updated to use launch storyboards instead of images
* iOS export has been updated to use a launch logo instead of a splash image, the logo will be centered on screen in any orientation
* Fixed SetShadowCascades not applying the given values
* Updated Android to target API 29 as required by Google
* Added FixCameraToObject command
* Added GetCameraWorldX/Y/Z commands to get the world coordinates of cameras attached to objects
* Fixed SetObjectReceiveShadow being set to 0 still overwriting object texture stages with shadow maps
* Fixed a crash when running a Spriter animation that had a different number of keyframes per varying value
* Spriter image pivots can now be animated
* Spriter animations now support negative scales
* Spriter files no longer need to have the same bone structure across all their animations
* Numerous other small fixes to improve Spriter support
* Removed Facebook SDK in favour of the ShareText/ShareImage commands
* Updated AdMob SDK to version 7.58.0 on iOS
* Updated Chartboost SDK to version 8.1.0 on iOS
* Updated AmazonAds SDK to version 3.0.0 on iOS
* Updated Firebase SDK to version 6.22.0 on iOS
* Android apps resuming from background will now resume faster

The AppGameKit Player apps on the iOS and Android stores are now using the AppGameKit Studio version. This new version is backwards compatible with AppGameKit Classic and we have no plans to introduce any changes that will break this compatibility. However, this does mean that apps broadcast to these players may behave slightly differently to apps which you export from the AppGameKit Classic IDE. If you wish to continue broadcasting AppGameKit Classic apps to the AppGameKit Classic player then you will need to side load the AppGameKit Player app from your AppGameKit Classic installation.

Let me know if you have any problems.
Scraggle
Moderator
17
Years of Service
User Offline
Joined: 10th Jul 2003
Location: Yorkshire
Posted: 1st May 2020 08:59
Thanks for the fixes Paul.
When can we expect the fixes to be implemented in the Android Player?
theblackbones
1
Years of Service
User Offline
Joined: 31st Jan 2019
Location: France
Posted: 1st May 2020 12:53
Thanks for the update.
JosephB
14
Years of Service
User Offline
Joined: 12th Sep 2006
Location:
Posted: 1st May 2020 21:29
I receive the following error when I try to download the latest AGKC version 2020.04.30 from the products page:

Just receive a page with the following wording: "Whoops, looks like something went wrong."
Qugurun
Valued Member
5
Years of Service
User Offline
Joined: 8th Dec 2014
Location: Tyumen, Russia
Posted: 1st May 2020 22:01
The post https://forum.thegamecreators.com/thread/226188 says that version 30b is available, but in my account it is indicated that version 30, and when I download it I get a message like JosephB. "Whoops, looks like something went wrong."
nz0
AGK Developer
13
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 1st May 2020 23:56
Is it possible to have the sound volume value precision as float?
Paul Johnston
TGC Developer
17
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 2nd May 2020 01:48
Quote: "When can we expect the fixes to be implemented in the Android Player?"

The player will be updated when the next version of Studio is released. I don't know when that will be. An alternative would be to side load the player from the Players folder for Android, or export the player from the IDE for iOS.

Quote: "I receive the following error when I try to download the latest AGKC version"

Fixed, the new file hadn't been copied to all versions of the product.

Quote: "Is it possible to have the sound volume value precision as float?"

We have no plans to do this
sarewtw
User Offline
Joined: 4th May 2020
Location:
Posted: 4th May 2020 05:20
very nice
EdzUp
18
Years of Service
User Offline
Joined: 8th Sep 2002
Location: Citadel Cyberspace
Posted: 13th May 2020 04:05
The Pi version still has issues on the Pi4 is there a plan to fix this one?

Basically all it does is compile them nothing, with legacy drivers we get a black box which hangs and does nothing.
-EdzUp
Scary Little Rabbit
11
Years of Service
User Offline
Joined: 4th Aug 2009
Location: Chelyabinsk, Russian Federation.
Posted: 16th May 2020 13:35 Edited at: 16th May 2020 13:38
Paul Johnston wrote: "Let me know if you have any problems."

https://forum.thegamecreators.com/thread/226108
error #1:
'too many stars, too many stares. disembody.'
Blast Born: Cars N' Guns
MikeHart
17
Years of Service
User Offline
Joined: 9th Jun 2003
Location:
Posted: 22nd Jun 2020 16:42
When trying to build with Android Tier 2 in release mode, you will not succeed:

Part of the log:

Quote: "> Task :FacebookSDK:packageReleaseAssets
D:\CerberusX\Cerberus\examples\agk\ship\ship.buildv2020-06-22\appgamekit_android\AGKTemplate\apps\template_android_google\AGK2Template\build.gradle: Error: commons-logging defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternative libraries that don't have the same problem (for example, for httpclient use HttpUrlConnection or okhttp instead), or repackaging the library using something like jarjar. [DuplicatePlatformClasses]
D:\CerberusX\Cerberus\examples\agk\ship\ship.buildv2020-06-22\appgamekit_android\AGKTemplate\apps\template_android_google\AGK2Template\build.gradle: Error: httpclient defines classes that conflict with classes now provided by Android. Solutions include finding newer versions or alternative libraries that don't have the same problem (for example, for httpclient use HttpUrlConnection or okhttp instead), or repackaging the library using something like jarjar. [DuplicatePlatformClasses]

Explanation for issues of type "DuplicatePlatformClasses":
There are a number of libraries that duplicate not just functionality of
the Android platform but using the exact same class names as the ones
provided in Android -- for example the apache http classes. This can lead
to unexpected crashes.

To solve this, you need to either find a newer version of the library which
no longer has this problem, or to repackage the library (and all of its
dependencies) using something like the jarjar tool, or finally, rewriting
the code to use different APIs (for example, for http code, consider using
HttpUrlConnection or a library like okhttp).

2 errors, 0 warnings
"

BITBITBIT
3
Years of Service
User Offline
Joined: 2nd Apr 2017
Location:
Posted: 26th Jun 2020 18:20 Edited at: 26th Jun 2020 18:22
[BUG REPORT]
Hello. I would like to report a bug, and if possible would like to request a fix.

The bug lies with SaveImage( iImageIndex, filename ) command on Android.
When that command is called on Android, the saved image would lose it's transparency data. The transparency would be replaced with black opaque color.
However, the command works fine without exhibiting this bug if used on Windows. The transparency is preserved on Windows.

I wish AppGameKit developer will fix this as soon as they are able to fix this in their already tight schedule. There's an app that I wish to put online, but as long as this bug is not fixed yet, I can't do so.
I apologize for the inconveniences.

I have atttached the code that will reproduce this bug on Android.
I will also paste it here if anybody wanted to take a quick look:

In this example app, the app will prompt you to choose an image. Please choose an image with transparency from your Android device to see the bug



Link to a thread that report the bug:
https://forum.thegamecreators.com/thread/226505
adambiser
AGK Developer
5
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
xGEKKOx
AGK Master
11
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 23rd Sep 2020 16:35
Hi Paul, is much i don't write on forum, how are you?
I found this bug submitting an app on MAC at Apple

Terminating app due to uncaught exception 'NSXError', reason: 'Error Domain=NSMachErrorDomain Code=-536870174 "(iokit/common) not permitted" UserInfo={reportingLine=219, reportingMethod=-[DDHidDevice openWithOptions, reportingFile=/Users/paulj/Downloads/DDHidLib-master/lib/DDHidDevice.m, origin=(*mDeviceInterface)->open(mDeviceInterface, options)}'
terminating with uncaught exception of type NSException

I downloaded the last branch of DDHidLib and rebuilded AppGameKit for MAC and now i'm sending again to see if it work.

I'm investigating also in AppGameKit MAC files to see where is called...

Login to post a reply

Server time is: 2020-10-22 01:36:08
Your offset time is: 2020-10-22 01:36:08