🤑 Indie game store🙌 Free games😂 Fun games😨 Horror games
👷 Game development🎨 Assets📚 Comics
🎉 Sales🎁 Bundles

Fascimania

12
Posts
1
Topics
58
Followers
37
Following
A member registered Jun 24, 2014 · View creator page →

Creator of

Recent community posts

You're welcome.

I've added a file called appgamekit.html which is a pydoc-generated list of all functions and descriptions modified to have a categorized listing at the top similar to how The Game Creator's help documentation is done.  It can be downloaded and viewed locally.

An updated PYD was also posted so that the appgamekit module can be imported in IDLE's Python Shell and interactive help used there.

Yes, the PYI holds a full list of the commands and constants.  There is currently no online help like TGC has.

If you use PyCharm, it performs syntax coloration on the PYI to make things a little more readable.  It also has code completion and context-sensitive help (using the PYI file).

Python does include a help command that can be used against anything to get its documentation.  It works in the Python console of PyCharm, but I see now that importing the pyd in IDLE throws and error about not determining the read path, which I'll need to change.  With this help command, one can import appgamekit then call help(appgamekit) to get all commands or help(appgamekit.create_window) to get help on a specific command.

The TGC help site can be used to get an understanding of how AppGameKit works.  The Python commands are similar, but have been changed to the Python naming convention.  You can then use the function help to see whether the parameter order has changed (mainly a concern for functions that allow one to assign their own ID to things).

I've posted a couple of tutorials at https://itch.io/t/203931/getting-started

Created a new topic Getting Started
(Edited 2 times)

This tutorial is geared toward those who are completely new to Python development.  If you have any questions, please ask away.

Installing Python

The first thing you'll want to do is download and install the latest version of Python 3 onto your system.  At time of writing, that version is 3.6.4.  Version 3.3 or greater is required.

Since AppGameKit for Python currently only supports Windows x86, be sure to download and install either "Windows x86 executable installer" or "Windows x86 web-based installer" listed at the bottom of the page.

The default install settings are fine to use.

Developing with IDLE

Python comes with its own minimal IDE called IDLE.  These steps will get you started developing with IDLE.

First, be sure to have downloaded the appgamekit.pyd file.  (Note that the filename cannot be changed.)

  1. Start IDLE.  This opens the "Python Shell" window.
  2. File -> New File.  This creates a new script file.
  3. Write your script.  For this example, just copy/paste the basic "Hello, World" script from the project page under "Installation and Usage".
  4. File -> Save.  Save the script file into the same folder that your appgamekit.pyd file is located.
  5. Run -> Run Module.  This runs your script and you should now see "Hello, World!" in an AppGameKit window.

Developing with PyCharm Community Edition

PyCharm Community Edition has more features than IDLE, such as easier integrated help and type checking.  To use both of these features, download the appgamekit.pyi file into the same folder as the pyd file.

Before we begin, download and install PyCharm Community Edition.  The default settings are fine.

  1. Start PyCharm.  if this is your first time running PyCharm, you'll need to accept its license, decide whether to share anonymous usage statistics or not, and select your UI theme.  If you want, you can "Skip Remaining and Set Defaults", but you may also want to go through all the steps and see what features PyCharm provides.
  2. Create New Project.
  3. Set the location of your project.  Before clicking "Create" click on "Project Interpreter" right below the location.  Here you can choose to use a Virtualenv, which is a localized copy of Python's files that will be created specifically for your project, or we can use an existing interpreter.  For this example, let's use the installed interpreter rather than a virtualenv.
  4. Click "Existing Interpreter".  If this is the first time PyCharm has been run, the interpreter line might be blank.
    1. Click the gear button and select "Add Local..."
    2. Select "System Interpreter" and find the location where you installed Python 3.6.  PyCharm should find it pretty easily itself.
    3. Click OK.
  5. Now click "Create"
  6. In the window that opens, select File -> New, then select "Python File" and call the file "main.py"
  7. Make sure that the appgamekit.pyd and appgamekit.pyi files are in the same folder as your main.py file.
  8. Write your script.  For this example, just copy/paste the basic "Hello, World" script from the project page under "Installation and Usage".
  9. Run -> Run... then select "main" in the drop down that opens.  After running it the first time, you'll be able to select "Run 'main'" from the Run menu.

Note

The PYI file is only needed while developing.  PYI files are only used by IDEs and contain no code.

Hi, 

Thanks for the suggestion.  I'll post a tutorial soon.

Adam

Thanks for the information. Now to see if I can duplicate what's going on and fix it.

Thanks again!

XP, 7, 10? 32-bit, 64-bit?

On what system did you play the game when you made the video? I notice that the game background doesn't clear as it should. (The title background shouldn't be visible at the top at all while playing the game.)

I'm glad you enjoyed it! Thanks for checking it out and for sharing your video here.

I answered on Steam, but will post this here, too:

Usually the key is a link. However, if it's just the key (a bunch of random letters) try adding this to the beginning: https://fascimania.itch.io/kilgazar/download/ If that doesn't work, contact me at support@fascimania.com and I'll help you out. Please let me know either way.

I believe they are found on your my purchases page. You might have to click the "download" button in order to open up the game information. None of my purchases here have keys, so I don't know this for certain.

If the purchase was part of Groupees Build a Greenlight Bundle 44, the key will be found on that site not this one. If you got an itch.io key for the game via trade, ask the person to give you their Steam key as well.

Those who purchase or have purchased the game through this site will get a key here. Those who got the game through Groupees Build a Greenlight Bundle 44 will get their key through Groupees.