Posted: 4th Feb 2020 8:19
Thank you for the update, I will keep an eye on future updates
Posted: 14th Feb 2020 0:04
AppGameKit for Python v2019.12.16 rev 1 has been released!

?The Game Creators have given permission for the introduction logo and window caption text to be removed. By default, the AppGameKit logo is not shown, but can be enabled via the show_appgamekit_logo parameter in create_window.

This release also adds a PyInstaller example.

Installing the module has also changed slightly. Instead of adding the PYD and SO files individually, copy the "appgamekit" folder that's included in the ZIP download. This supports 32- and 64-bit Python 3 on Windows and 64-bit Python 3 on Linux out of the box.

Plus one or two minor bug fixes.
Posted: 6th Apr 2020 17:09
This is great, I had no idea there was an AppGameKit module for python. This year, my resolution was to learn as many different programming languages as possible. Last month I finished an online Javascript course and so yesterday I started learning python, just got through all the tutorials on the python.org site. Going to download this and start paying around with it Thank you!
Posted: 7th Apr 2020 0:10
@JLMoondog: You're welcome. Have fun!
Posted: 7th Apr 2020 15:04
That good!
I have a question: in the future would it be possible to export for Android APK?
Too bad the AGKplayer App (Only for Tier1 BASIC) does not work for Pyton .
Posted: 7th Apr 2020 21:10
@AliceSim1: I'm not sure. It'd have to look into it, but I have doubts. Basically the APK would have to wrap a Python interpreter.
Posted: 8th May 2020 20:37
AppGameKit for Python v2020.04.30 has been released!

This release brings the project up-to-date with AppGameKit Classic 2020.04.30.

The methods utilizing the Facebook SDK have been removed since they have been deprecated in AppGameKit Classic.

The appgamekit/__init__.py file has been modified to import everything from the internal appgamekit module, including items beginning with an underscore such as the __version__ variable.
Posted: 30th Jul 2020 4:15
Announcing agktk (AppGameKit for Python Toolkit)

I've started developing a library that organizes AppGameKit for Python commands into modules and classes so that code can by more Pythonic: It's a work-in-progress and it's liable to undergo dramatic changes as it gets developed. I haven't added 3D commands, shaders, plus some odds and ends.

Please feel free to give it a try, comment, criticize, or contribute. Documentation is non-existent, but I hope that those who know AppGameKit will understand it quickly enough without it (for now).

A very basic example:
+ Code Snippet
class SpriteTest(Game):
    def __init__(self):
        super().__init__()
        display.set_sync_rate(30, 0)
        self.sprite = Sprite(Image("ball.png"))

    def loop(self) -> Any:
        self.sprite.x += 4
        display.sync()
        if keyboard.is_key_pressed(KEY_ESCAPE):
            return True


SpriteTest().run()
Posted: 2nd Aug 2020 16:11
Ran into a problem with memblocks. Used this code to fill a memblock with the value 0xff00ffff, but I get an error.
+ Code Snippet
    for i in range(12,agk.get_memblock_size(image_buffer),4):
        agk.set_memblock_int(image_buffer,i,0xff00ffff)


The error reported is
+ Code Snippet
OverflowError: Python int too large to convert to C long


Python ver 3.8.3 64 bit
AGK for python ver 2020.04.30

Edit:
Found a solution by building an int from bytes, there has to be a faster way though.
+ Code Snippet
    for i in range(12,agk.get_memblock_size(image_buffer),4):
        agk.set_memblock_int(image_buffer,i,int.from_bytes([0xff,0x00,0xff,0xff],byteorder = 'big', signed = True))
Posted: 2nd Aug 2020 22:02
@TomToad: I'm sure this has to due with signed vs unsigned. I'll look into it. Thanks for letting me know.
Posted: 3rd Aug 2020 3:05
Fixed and will be in the next release, which should be soon.
Posted: 3rd Aug 2020 23:52
Version 2020.04.30 rev 1 is up at itch.io

Devlog entry
Posted: 4th Aug 2020 12:42
Thanks. Works great.
Posted: 4th Aug 2020 14:39
@TomToad: Thanks for letting me know about the problem and that it's fixed now.
Posted: 11th Aug 2020 22:46
Impessive work! Thanks for keeping it up to date
Posted: 6th Nov 2020 2:34
I guess I should comment so this thread doesn't automatically lock. Hope everyone's doing well.
Posted: 10th Dec 2020 6:07
Version 2020.11.16 is up at itch.io!

Devlog
Posted: 10th Feb 2021 1:09
I've been playing with it, and it's great, the performance is also great.
great job
Posted: 10th Feb 2021 4:17
@brunuu: Glad to hear that. Thanks!
Posted: 24th Feb 2021 12:18
@adambiser Hi Adam, I was wondering if you could please help me with a question regarding AppGameKit for Python?

I am close to finishing my first game using your excellent port, however, now comes the thorny question of asset protection (that old perennial AppGameKit issue). When Version 2021.02.10 came out I was initially hopeful that the CreateImageFromPNGMemblock would solve this issue, however, I know you have stated over in the Version 2021.02.10 release thread that you plan to update AppGameKit for Python when the 2021.02.10 release is settled. Given there are still issues regarding that release, and that TGC seem in no rush to fix these issues, this may take a while.

I therefore have to come up with another solution for protecting assets , and being very new to Python, I was wondering if the following (in theory) would work. Would it be possible to load a memblock direct into memory using Pythons Zip file handling, and then copy that to a memblock created with the relevant AppGameKit command?

Any thoughts on this would be greatly appreciated. Thank you