I've uploaded a new version of AppGameKit 2.0 to the downloads area with the following changes
- Fixed crash when deleting a physics sprite while looping over another sprite's contacts with GetNextContact
- Fixed crash when deleting the most recently created sprite or text object
- Reduced memory leak when playing OGG files, but can't remove it completely, I recommend M4A or MP2 for royalty free music
- Completely new compiler that should solve a lot of tier 1 issues
- Types can now contain arrays
- Types and arrays can now be passed by reference into functions
- Types and arrays can now be passed by value into and out of functions
- Arrays can now be sorted and searched
- Completely new IDE that should help write tier 1 apps
- IDE now supports auto complete
- IDE now supports code folding for AGK specific structures
- IDE now has symbol parsing to show you what functions/types/variables exist in a file
- Compiler errors now appear in the IDE instead of in message boxes and can now show multiple errors at once
- Fixed a memory leak when loading and deleting Spine skeletons
This version has a lot of new things that need checking so I recommend all version 2 users download it and give it a go, it has been tested on XP, Vista, Windows 7, and Windows 8.1. The IDE doesn't work on Mac yet but hopefully we can port it over soon.
All the tier 1 projects have been upgraded to the new IDE project format (.agk), and they are now installed in your user folder (e.g. C:\Users\Me\AGK Projects) so it is UAC friendly. The IDE includes an import option in the project menu to convert your own projects to the new format, it will automatically save the new .agk file in the same place as the old project file. Right click on files in the project side bar to add and remove them from projects.
The Android interpreter is on the Google Play store
here or you can side load the version in the installer folder Players/Android. The online APK builder now works with this version. iOS users will have to compile the intepreter_ios project in XCode as usual. I accidentally included an old Mac interpreter in the build so I've added it as a separate download. For now I've left Blackberry out, if anyone is still using it can you say here so I can get an idea of how high a priority it should be.
With so many changes I've no doubt missed a few things so let me know here and I'll get them fixed.
Edit: Known issues
- The Compile/Run/Debug buttons should remain disabled until a project is opened.
- The compiler will sometimes fail with "Invalid path for CopyFile", this is a memory access error and should therefore be random, moving the project to a new location or restarting the IDE might fix it.