Do you want coke with that
So it's definitely no spaces, which is just as well because the current AppGameKit compiler has zero spaces and works nicely too! As to ID removal, AppGameKit will allow you both approaches:
LoadImage ( 1, "hello.png" )
CreateSprite ( 1, 1 )
SetSpritePosition ( 1, 50, 50 )
Or:
yourimage = LoadImage ( "hello.png" )
CreateSprite ( 1, yourimage )
SetSpritePosition ( 1, 50, 50 )
Or even:
yourimage = LoadImage ( "hello.png" )
yoursprite = CreateSprite ( yourimage )
SetSpritePosition ( yoursprite, 50, 50 )
Also, it's also another good example why I prefer not to pre-declare my variables. I cut and paste my variables a lot to avoid typos and I can knock out this code two lines quicker than:
yourimage As Integer
yoursprite As Integer
yourimage = LoadImage ( "hello.png" )
yoursprite = CreateSprite ( yourimage )
SetSpritePosition ( yoursprite, 50, 50 )
As a side note, we're adding a compiler flag to force pre-declaration of variables, switch-able in the IDE so everyone gets what they want
I drink tea, and in my spare time I write software.