Hello Guy & Gals,
I am new to AppGameKit and just purchased it on steam as I thought I would like to know how to program for fun.
I have been watching a tutorial online at https://www.youtube.com/watch?v=a0NLfhVCC5o&list=PLh8r_gWUKl8m4J79BlJ3s788x0M8F9Xtz
and at time stamp 11:54 of the video I entered the code line for line in agk and I keep getting an error. The error says "main.agc:15 error: Unexpected token "var", variable must be followed by an assignment" I have verified the code line by line and letter by letter so not sure of whats going on?
Sometime I get 3 errors when i try to compile the same code a couple times in a row.
i am attaching two picture of the code with both sets of errors.
Can anyone tell me what I am doing wrong as the code matches line for line and there is an image in the project\media folder.
The code on youtube vid works when the person compiles and runs it yet for me its only errors.
Is this a problem with changes in agk or a windows 8.1 issue and if so how do I fix it please?
I am running account as admin so not sure what is up.
Your help would be greatly appreciated.
Thanks in advance
Gren