So I updated to the latest T1 AppGameKit build hoping to get some of the bugs out of my project. However I ran into a few problems that hopefully some one might be able to explain more on.
The first is a compiler error: "declaration name '100)' is not valid at line whatever."
When I checked out the line associated with the error it is always a variable declaration like so
global flyersrnd as integer = random(0, 100)
.
Not sure why its happening but I was able to find a fix around it by randomizing the variable after its declared.
global flyersrnd as integer
flyersrnd = random(0, 100)
The secound is a little odd because once the application is finished compiling it will tell me that it failed to load any of my images/music/create sprites and etc because there ID must be greater than 0 at line whatever. I always declare my ID's as
global exampleID as integer = 1
,so i had no idea what was causing the problem. I tired removing "as integer" and it seemed to fix the problem. Is there some new rule to declaring ID's or something that I missed out on?
So once I got these problems fixed I was finally able to compile (which takes some time but I know that's being worked out) and launched the game. Although afterwards nothing happened, just a black screen with nothing happening.So i have no idea what going on here. Help?
I was sure to uninstall the last build of AppGameKit before upgrading and etc,although I have to ask if I should be using control panel to uninstall or the uninstaller provided with AppGameKit?.
Just to clarify I'm using windows 8, and running AppGameKit in compatibility mode for windows 7 with administrator permissions.
Lastly I tried making a new project and testing it out but I still got the same two errors as before, although the new application started fine and had to problems afterwards. So I'm thinking that my old project is getting corrupted or something? I also tried copying and pasting all my code into a new project but still got the same black screen with nothing happening. At this point I'm just lost and figuring to convert back to V1076, which was always stable for me.
//simpleprogram
Programming and video games, what else could you need?