My suggestion is learn to use the debugger and find why your character start at this odd place. Using a debugger is really not that hard.
My game's beta is finished but it won't run on other comptuers
Clearly the problem is the position of the object. So the only thing you have to do is set breakpoints at the end of the constructor and inside the setter function for the position. Then you go through all hits until you see the position is being set to a position you don't like. Then you look at the call stack to see what function is messing with the position. Then you can go from there.
Done it works. All variables has been successfully initialized.
I assume you confused the notion of "declaring" variables with "initialising" variables?
A word of advice - *always* assume the initial values of variables are random junk unless you explicitly tell them otherwise!
I think I might have mixed up the terms. I still have a long ways to go. Anyways here is the game ready to be played.
https://www.mediafire.com/?9natkpirh64aded
Step 1: Extract files zip file
Step 2: Open prototype folder
Step 3: Open second prototype folder
Step 4: Open third prototype folder
Step 5: Find "Prototype" Application file within the mess of other files
Step 6: Double click and run
Just FYI my browser says "prototype.zip" is malicious and has been blocked. Not saying you had bad intentions lol.
I assume most of the executables that we people create and don't have signed officially by MS might be blocked by AV's or Chrome.
Hi all,
I tested your game Laurent, it worked and I did liked
It remembered to me when i was younger and I programmed some games and it made me feel so nice.
I just entered the door and played Tic Tac Toe winning two times in the same game to the IA.
Thank you so much for this beta game guy