ITGB Development Best Practices
by Dave Young · in iTorque 2D · 01/09/2009 (5:01 am) · 3 replies
I am brand new to deving for the iPhone and in TGB really, though I've owned it for quite a while. It appears I am going to be doing quite a bit of iPhone dev for work here at Gamesville and I thought I would start a Best Practices thread to build on my own experiences and draw in others in this fledgeling iTGB community.
So, if you have a development process Best Practice to add in, something you've scientifically or empirically or even at the very least anecdotally seen to work well, please post it here.
So, if you have a development process Best Practice to add in, something you've scientifically or empirically or even at the very least anecdotally seen to work well, please post it here.
#2
1. You can't use resources. So don't create the resources folder, it causes the verification error.
2. You have to do a full clean build/re-add the files everytime or it might miss some things. I haven't found a good work around for this yet.
Note: Bret is totally on cue for #2, it seems to be the only reliable way to do it.
As far as importing resources go, the next best thing is to copy over the images you need into the project's game/data/images folder and import the image yourself as an imagemap and/or animation. Alternatively you could probably copy over the datablock definition itself from the original resource's folder into your project's datablocks.cs but you would need to change the path names to the images more than likely.
01/09/2009 (10:22 am)
From Bret Patterson:1. You can't use resources. So don't create the resources folder, it causes the verification error.
2. You have to do a full clean build/re-add the files everytime or it might miss some things. I haven't found a good work around for this yet.
Note: Bret is totally on cue for #2, it seems to be the only reliable way to do it.
As far as importing resources go, the next best thing is to copy over the images you need into the project's game/data/images folder and import the image yourself as an imagemap and/or animation. Alternatively you could probably copy over the datablock definition itself from the original resource's folder into your project's datablocks.cs but you would need to change the path names to the images more than likely.
#3
01/17/2009 (3:21 pm)
I've gotten XCode to "refresh" my resource folder by deleting/recompiling all my DSOs
Torque 3D Owner Dave Young
Dave Young Games
So now I keep a working copy of my folder as often as possible. Until a more sniper based way of fixing the nasty deploy-to-device things that come up, it's going to serve me well.