Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Configuration file not copied to AGK Player on iPad

Author
Message
MobileCreator
13
Years of Service
User Offline
Joined: 1st Jun 2011
Location: Ottawa - Canada
Posted: 4th Sep 2011 01:41
I managed to install the AppGameKit Player in my iPad and I can deploy my game to it. However I'm facing a problem.

My game has a subfolder under media called "levels/1.txt".

This file is read every level to set my sprites position on the stage. It works on my PC, I can see the sprites properly placed, etc...

On the iPad, the sprites that are dependend on this file don't show up. Actually when I close my game on the player, it shows: "Last error. Could not read file".

Here is the way I'm open the file and read the file:



As I said, it works on my PC, but not on iOS. The "level" variable is an integer passed as parameter, and I checked the filename contains: "levels\1.txt".

My local directory structure is:

gamedir -> media -> levels

Anyone has an idea what is happening?

Thanks

----------
Paulo
http://www.mobilecreators.com
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 4th Sep 2011 02:04
I actually just got done fixing this issue.

Change


to



Back-slashes don't seem to work with the IOS player, the simple solution is to just use forward-slashes

Login to post a reply

Server time is: 2024-11-21 17:25:03
Your offset time is: 2024-11-21 17:25:03