Hi guys,
short question. Are you going to add folders to the Outlaw?
Thanks, Max. [import]uid: 144771 topic_id: 35333 reply_id: 335333[/import]
Yes. At some point. Right now you can drag a folder from Finder into a Project and be able to use it that way.
Jay
[import]uid: 9440 topic_id: 35333 reply_id: 140498[/import]
Thank you, I know this, but it doesn’t help [import]uid: 144771 topic_id: 35333 reply_id: 140635[/import]
Xcode deals with it very good. You have flat files structure on your disk, but in Xcode you can have convenient folders for classes and assets. [import]uid: 144771 topic_id: 35333 reply_id: 140676[/import]
Create an empty folder on your hard drive. Drag it into your Outlaw Project. Now you have a folder in Outlaw that you can drag assets into. The assets you drag in (inside Outlaw) won’t appear in the folder on your hard drive, that stays empty unless you actually put something in it.
No, not as clean as Xcode, but you end up with mostly the same thing.
Jay [import]uid: 9440 topic_id: 35333 reply_id: 140695[/import]
Yes. At some point. Right now you can drag a folder from Finder into a Project and be able to use it that way.
Jay
[import]uid: 9440 topic_id: 35333 reply_id: 140498[/import]
Thank you, I know this, but it doesn’t help [import]uid: 144771 topic_id: 35333 reply_id: 140635[/import]
Xcode deals with it very good. You have flat files structure on your disk, but in Xcode you can have convenient folders for classes and assets. [import]uid: 144771 topic_id: 35333 reply_id: 140676[/import]
Create an empty folder on your hard drive. Drag it into your Outlaw Project. Now you have a folder in Outlaw that you can drag assets into. The assets you drag in (inside Outlaw) won’t appear in the folder on your hard drive, that stays empty unless you actually put something in it.
No, not as clean as Xcode, but you end up with mostly the same thing.
Jay [import]uid: 9440 topic_id: 35333 reply_id: 140695[/import]
I am having a slight problem with this. I created a sub-folder in my actual project folder on the hard disk. I called this assets. I then moved all my art-work in there. I then drag & dropped assets into the project in Outlaw. Now I see a folder in my project called assets. Its checked. I can expand it and I can see the art-work files in assets. They are all checked as well. When I run the project I get errors telling me the art-work is not seen by the compiler. Any clues?
ksan, sorry for the delay, I missed seeing this message.
When you hit the Launch button, hold down Shift+Control. That will open a new window that shows the sandbox where your code is being launched by the simulator (you’ll have to switch back to Outlaw to click an OK button).
After the launch has finished you’ll be able to see exactly what files are being passed to the simulator. Check that and make sure the art assets are all being copied to the sandbox.
Also, if you were not using a folder for images and now you are, be sure you change your code:
display.newImage(“myPic.png”) should now be display.newImage(“images/myPic.png”)
I know, I’m probably the only one who makes *that* mistake.
Jay
Got it a while back and forgot to post back here. Sorry about that. I for some reason thought Outlaw would take care of the subdirectory path but looking at other samples with similar sub-directories and how the image file references were coded helped me realize my mistake. Its working well. Thanks much!!!
I am having a slight problem with this. I created a sub-folder in my actual project folder on the hard disk. I called this assets. I then moved all my art-work in there. I then drag & dropped assets into the project in Outlaw. Now I see a folder in my project called assets. Its checked. I can expand it and I can see the art-work files in assets. They are all checked as well. When I run the project I get errors telling me the art-work is not seen by the compiler. Any clues?
ksan, sorry for the delay, I missed seeing this message.
When you hit the Launch button, hold down Shift+Control. That will open a new window that shows the sandbox where your code is being launched by the simulator (you’ll have to switch back to Outlaw to click an OK button).
After the launch has finished you’ll be able to see exactly what files are being passed to the simulator. Check that and make sure the art assets are all being copied to the sandbox.
Also, if you were not using a folder for images and now you are, be sure you change your code:
display.newImage(“myPic.png”) should now be display.newImage(“images/myPic.png”)
I know, I’m probably the only one who makes *that* mistake.
Jay
Got it a while back and forgot to post back here. Sorry about that. I for some reason thought Outlaw would take care of the subdirectory path but looking at other samples with similar sub-directories and how the image file references were coded helped me realize my mistake. Its working well. Thanks much!!!