Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

AppGameKit for Python

Create games using AppGameKit and Python! · By Fascimania

Some newbie questions

A topic by Solarwclurru created Apr 27, 2020 Views: 392 Replies: 1
Viewing posts 1 to 2

This is wonderful work! I'm not familiar with Python at all, but the examples you show remain very easy to understand like the original AGK. I wish TGC would really consider releasing something like this for Studio. AGK script lacks some more "modern" traits. I wouldn't mind an official DLC.

Some questions:

1.What is the difference between create_window and Application()?

2.We can use Python standard library?

3.What are the limitations of importing modules?

Thank you so much for your great work!

Developer

Thanks!  I'm glad that you found this project and hope you will enjoy using it!

Here are some answers for you:

1. The Application class wraps the create_window and destroy_window calls to make them a little easier to work with.  

This:

with agk.Application():
    pass  # application code is here

is the same as:

try:
    create_window()
    pass  # application code is here
finally:
    destroy_window()

2) Yes!

3) As far as I know, you can import any modules you like.  (If I understand your question.)