Quote: "1) [win/android] SetRenderToImage() and drawbox()/DrawEllipse()/DrawLine()
I have "blue" square on the box and the ellipse with this code :
"
Fixed for the next version, you didn't provide source for the second image but hopefully it's covered by the same bug. I'll have a look at your other bugs.
Quote: "Found a bug. You can't return an object from a function and pass it directly into another as a reference. AppGameKit crashes/starts misbehaving."
Tested and works here, need more code.
Quote: "main.agc:9: error: "test" is being used without being defined or initialised"
Using the variable with Inc or Dec was being unnecessarily strict on the initialisation, the next version will let you initialise it below it's usage in inc/dec.
Quote: "I see some strange behaviour around for-next loops. sometimes interpretator just skips it. I think it is bug."
Thanks for the detailed example, I don't think I would have found the bug without it. It only happens if a particular For loop is run in the negative direction and then the positive direction, it didn't update it's comparison check back to positive. Fixed for the next version.
Quote: "new project template has CR-LF terminated lines but further when you paste some lines from anywhere IDE saves those pasted lines as LF terminated ones."
The IDE has a preferred line ending setting in the preferences->files section, but I don't know if it proactively changes the endings.
Quote: "You can't have a type contain itself (which is expected since we don't have pointers within types) BUT you should be able to have an array of the same type within it."
Sounds like you are playing with fire! The compiler and interpreter were designed under the assumption that recursive definitions wouldn't exist so if it does work then it is accidental and may break at any time.
Quote: "After doing array.remove() and resizing again with Array.Length=Array.Length+1
The last index keeps the old value and is not emptied."
Fixed for the next version.
Quote: "None of the "AddSpriteShape" commands work... "SetSpriteShape" commands seem fine."
AddSpriteShape requires physics to be turned on for the sprite.
Quote: "Another bug here. Attemting to use #insert and getting
main.agc:13: error: Unexpected token "#insert""
Fixed for the next version, turns out there were two bugs on #insert.
Quote: "infact niether is setsyncrate(60,1)"
Using a value of 60 is a special case and turns on VSync, this was because early versions of AppGameKit didn't have the VSync command so this was the only way to do it. using a value of 59 or 61 will return you to timer based syncing.
Quote: " does blackberry not support .bmp?"
Android and Blackberry do not support BMP, it wasn't a high priority since PNG is better in nearly every way.