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 / Image Locations for OSX in XCode

Author
Message
PaulTR
11
Years of Service
User Offline
Joined: 25th Oct 2012
Location: Fresno, CA
Posted: 25th Oct 2012 21:17
Hello!

I have a game that works in Visual Studios, but I've just switched over to a Mac to get into iOS development. I have an AppGameKit template up and running, but when I try to use a sprite image it just gives me the Xed out square. In Visual Studios I could put the image in the /final folder, but I'm not sure where to put my images for OSX so that they display on the screen. Any guidance on this would be great. Thank you!
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 25th Oct 2012 22:15
Did you add the images to the Resources folder in your project?

Unless you do, they do not get included in the built project.

You right click on 'Resources' and select 'Add files to <your project>', navigate to where the files are and select all that you want to include.

Cheers,
Ancient Lady
AGK Community Tester
PaulTR
11
Years of Service
User Offline
Joined: 25th Oct 2012
Location: Fresno, CA
Posted: 26th Oct 2012 09:01
Awesome, that did it. Thank you very much.
Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 27th Oct 2012 20:16
Always glad to help. Especially when it's an easy one.

Happy Programming!

Cheers,
Ancient Lady
AGK Community Tester

Login to post a reply

Server time is: 2024-04-28 10:44:12
Your offset time is: 2024-04-28 10:44:12