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 / AppGameKit Version 2019.12.16

Author
Message
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 16th Dec 2019 14:26
I've uploaded a new version to Steam and the TGC downloads area with the following changes

* Fixed CopyNetworkMessage failing to copy messages that were created locally
* Added GetRendererName to return "OpenGL" on desktop platforms and "OpenGLES" on mobile platforms
* Added GetNetworkClientIP to return the IP address of a network client
* Added GetNetworkServerIP to return the IP address of the server
* Fixed edit boxes not being selectable if FixEditBoxToScreen and SetViewOffset are used
* Reverted fix to GetSpriteHitTest and GetSpriteHit which changed previous functionality, use the ScreenToWorld commands when using SetViewOffset instead
* Added commands to get the state of the fourth and fifth mouse buttons on Windows if available

Let me know if you have any problems
Amon
9
Years of Service
User Offline
Joined: 30th May 2014
Location: Shropshire, United Kingdom
Posted: 16th Dec 2019 14:30
Cool. Waiting for studio update but this is still a nice fix release. Especially the SetViewOffset. Cheers
Win 10 Pro - AMD RYZEN 7 3800X Octacore - 16GB DDR4 - RTX 2080TI 11GB
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 16th Dec 2019 16:50
Is this likely to work on older Macs?
OryUI - A WIP AGK2 UI Framework
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 16th Dec 2019 17:02
Quote: "Is this likely to work on older Macs?"

I updated XCode again, so there's a chance, but I don't know.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 16th Dec 2019 17:23
Thanks
fubarpk
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 16th Dec 2019 17:32
Thank you. I'll give it a go tonight
OryUI - A WIP AGK2 UI Framework
AliceSim1
5
Years of Service
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 16th Dec 2019 18:29
Gracias! Sigan desarrollando AppGameKit!
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 16th Dec 2019 20:49
Same issue as before. Don't worry though. I can still use an older version for now.

Check with the developer to make sure AGK2.2019.12.16 works with this version of macOS. You may need to reinstall the application. Be sure to install any available updates for the application and macOS.
OryUI - A WIP AGK2 UI Framework
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 16th Dec 2019 23:08
Ok, thanks for letting me know. Does the AppGameKit Player app work?
DavidAGK
AGK Developer
10
Years of Service
User Offline
Joined: 1st Jan 2014
Location:
Posted: 21st Dec 2019 21:41
Great, thanks for the update.
Using Tier 1 AppGameKit V2
Started coding with AMOS (Thanks Francois Lionet)
Jack
19
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 24th Dec 2019 13:59
Thank you Paul Great fix!

btw, I noticed a missing UDP byte to message command, does only work for strings/ ints - is this intended? For most work, this is no problem at all,
but I could release fully functioning ArtNet lib for AppGameKit in order to control various stage lights on a professional scale when the byte to udp message command is added

It works even now, but Is limited to a specific package length

[/url]

Moderator has changed your signature - max size of all images is 600x120px this includes multiple images grouped together.
Bengismo
6
Years of Service
User Offline
Joined: 20th Nov 2017
Location: Yorkshire, England
Posted: 26th Dec 2019 20:29
Hi Jack

I have an AppGameKit Artnet library which uses memblocks to store the entire packet so its easier to make byte changes to individual bytes. When making up a network packet to send the minimum size is a 4 byte int (as you know!) or use a string that will autoterminate on a 0 value so thats not much use.



I use it to control lighting effects across multiple DMX universes and have not had a problem send packets to 40+ DMX lights via a network. The artnet packet as two bytes to control how much data follows and so if they are set correctly then only the data bytes that are valid are set and if extra bytes appear in the UDP packet after the stated length then they tend to be ignored by actual art net hardware. So all the uDP packet sizes are rounded up to nearest 4 bytes.

This isnt as bad as it sounds really as the original Artnet UDP packet defined only even number of data bytes (for 16bit hardware) so the most number of additional bytes sent is only ever 2, and like I said, most hard ware just ignores data after the defined length sent in the packet. Ive not had any problems myself with the extra 2 bytes being sent but Ive only really tried a few manufacturers of artnet hardware.

I must admit...having a AddNetworkMessageByte() command would be nice though. I only used memblocks in my code above to make packing bytes easier
Virtual Nomad
Moderator
18
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 6th Jan 2020 00:34 Edited at: 6th Jan 2020 00:35
The Online Help page for Create3DPhysicsStaticPlane is currently missing:
https://www.appgamekit.com/documentation/Reference/3DPhysics/Create3DPhysicsStaticPlane.htm.

Current Offline version attached.

Attachments

Login to view attachments
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 14th Jan 2020 18:28 Edited at: 15th Jan 2020 06:53
not sure why but 512 * 512 app icons used to work now no matter what size I use
I get this error and AppGameKit 2019.12.16 then crashes.
If I don't use any app or notification icons it compiles fine

that's exporting to an APK issue

Got it working but its only a problem with classic and only when you use an icon.png
it works fine in studio so I still think its fixable. My workaround was to move my agk
folder to the root directory
MerryChristmas Everyone
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk

Attachments

Login to view attachments
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 16th Jan 2020 15:49
AddNetworkMessageByte and GetNetworkMessageByte have been added for the next version

Quote: "The Online Help page for Create3DPhysicsStaticPlane is currently missing"

Thanks, this should now be fixed

Quote: "not sure why but 512 * 512 app icons used to work now no matter what size I use "

I'm not sure why that would happen. There is setting in the Windows 10 privacy section that can disable access to the documents folder, but if that was the cause then I would expect the export to fail even without the icon. When you get the message, and before clicking ok, does the "build_tmp/resOrig/drawable-xxxhdpi" folder exist at that location? The folder will be deleted at the end of the export process.
fubarpk
Retired Moderator
19
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 16th Jan 2020 19:04
Thanks paul, I moved the folder hence the creation folder, its a strange behaviour as it only effects when I use an icon
and hence was unsure how a permission thing could be an issue. but the main thing I have it working for now creating
elsewhere
MerryChristmas Everyone
fubarpk on Itch...………...https://fubarpk.itch.io/
fubarpk on googleplay..https://play.google.com/store/apps/developer?id=fubarpk
funkyChris
4
Years of Service
User Offline
Joined: 25th Jan 2020
Location:
Posted: 25th Jan 2020 16:45
For your information, the Steam version of AppGameKit Classic that is on sale on Steam right now doesn't even start on either OSX 11 or OSX 13.
The problem is that on the Steam page, the system requirements are written as "Minimum : Mountain Lion 10.8 or better - Recommanded : Mountain Lion 10.9 or better".
So I just bought AppGameKit, the Bumper Pack Bundle, the Game Pack 2 and the Visual Editor yesterday because they were on sale, following the Steam system requirements, and now I find I can't use them.

I think it may be a problem if Steam advertise some system requirements and the reality is different.

Did you find a workaround?

Attachments

Login to view attachments
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 26th Jan 2020 21:10
I've uploaded a new version that should fix it, it should now work on 10.9 and above. I've also updated the requirements to reflect this.
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 6th Feb 2020 15:23
@Paul, thank you for updating the Mac version, only saw the post today saying it was updated, and can confirm that it now works on my old MacBook again. That saves me developing in 2019.05.22 and copying the project over to a second Windows laptop to compile it in the latest version for Android each time.
OryUI - A WIP AGK2 UI Framework
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 11th Feb 2020 13:27
Not a big problem, and probably isn't something that can be fixed but GetClipboardText() includes a value even if it's an image/screenshot in the clipboard.

To replicate the problem add this line to a project:

if (GetClipboardText() <> "") then print("clipboard has data")

Clear your clipboard completely and run the program. If your clipboard is empty the print line won't show. Take a screenshot and the print line will appear.
OryUI - A WIP AGK2 UI Framework
xGEKKOx
AGK Master
15
Years of Service
User Offline
Joined: 7th Dec 2008
Location: Italy
Posted: 13th Feb 2020 18:16
Hi all, testing the new AppGameKit for MAC....
There is a problem...

AVPlayer or WebView make AppGameKit flicker, if i use SWAP before RENDER it not flicker but i think is not a good idea.

Nobody found this issue?
Kevin Cross
20
Years of Service
User Offline
Joined: 15th Nov 2003
Location: London, UK
Posted: 21st Feb 2020 09:00
@Paul, on iOS this version stops any music/sounds you might be playing in another app when the AppGameKit app opens. This wasn't happening in version 2019.05.22. It also looks like clicking on local notifications is crashing the app on iOS. The app will open and then close.
OryUI - A WIP AGK2 UI Framework
AliceSim1
5
Years of Service
User Offline
Joined: 15th Oct 2018
Location: Barcelona
Posted: 21st Mar 2020 21:59
Paul wrote: "* Added GetNetworkClientIP to return the IP address of a network client
* Added GetNetworkServerIP to return the IP address of the server"

Problem Android export APK plataform:

when exporating the project to APK Androird: when using these functions, send BugCrash when running the app.
I have been able to locate the problem between Logcat and AGKmobile version v: 1.4.2 (which uses an older AppGameKit version) DOES NOT recognize these 2 new network commands.

if the AppGameKit Player v: 2019.12.16 (Google Store) works well to test, and if it is updated and these new network functions work.
nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 28th Mar 2020 20:14
[bug] There's a problem with playsound() which I would appreciate being looked at.

Play small looping sample details here

nz0
AGK Developer
16
Years of Service
User Offline
Joined: 13th Jun 2007
Location: Cheshire,UK
Posted: 20th Apr 2020 23:08
EdzUp
21
Years of Service
User Offline
Joined: 8th Sep 2002
Location: UK
Posted: 21st Apr 2020 06:53
@nz0: I do believe it's in maintenance mode meaning it will only get fixed no new updates at all.

It's a shame as I prefer AppGameKit Classic to Studio as I just want to code and don't want all the flashy bells and whistles. I'm currently awaiting the Pi4 version update if it's coming but pushing forwards with my own C++ engine whilst I'm waiting.
-EdzUp

Login to post a reply

Server time is: 2024-03-28 12:06:42
Your offset time is: 2024-03-28 12:06:42