running in exloded mode

View previous topic View next topic Go down

running in exloded mode

Post  josgraha on Mon Apr 13, 2009 11:53 am

Wondering if there was a switch or flag or something in the export script to run the .sio2 file in exploded mode. I wanted to play around with some Lua scripts and it seems like the best way to do that is directly off the filesystem (instead of inside blender). I think someone already had this but was too lazy to scrub the posts (sorry for being lazy). Thanks!

josgraha

Posts : 19
Join date : 2008-12-09

View user profile

Back to top Go down

Re: running in exloded mode

Post  meteors on Mon Apr 13, 2009 2:06 pm

I know nothing about this, but doesn't blender allow you to include external scripts?


-j
avatar
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

View user profile

Back to top Go down

Re: running in exloded mode

Post  sio2interactive on Mon Apr 13, 2009 4:23 pm

Can you give more information about what you want to do exactly?

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: running in exloded mode

Post  josgraha on Mon Apr 13, 2009 4:34 pm

my bad, didn't explain very well. I wanted to run the exporter so it will export the scene but not zip up the folder, just leave all the files expanded and then run the xcode project against that folder structure (not the .sio2 zip file). That way I can just work on the lua scripts inside xcode (or textmate) against the folder structure so I don't have to keep exporting the zip file every time i touch a lua script.

josgraha

Posts : 19
Join date : 2008-12-09

View user profile

Back to top Go down

Re: running in exloded mode

Post  sio2interactive on Mon Apr 13, 2009 4:41 pm

Just drag and drop the .LUA within your project directory (same as Im doing with resources) it'll be added inside the .app and you can load it with sio2Stream... when you edit the LUA script the changes will be reflected on the next Build & Go.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: running in exloded mode

Post  josgraha on Mon Apr 13, 2009 4:46 pm

Ah okay I was thinking more along the lines of what you were doing in tutorial 10 where you were binding the lua script to an event but I guess I could pre-load them or something.

josgraha

Posts : 19
Join date : 2008-12-09

View user profile

Back to top Go down

Re: running in exloded mode

Post  sio2interactive on Mon Apr 13, 2009 4:51 pm

Up to you... another way is to simply select the object that the script is attached to and update the .SIO2 within blender to update the changes that you've made... the "updated" .LUA will be bundled within the .SIO2.

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 37
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: running in exloded mode

Post  josgraha on Mon Apr 13, 2009 5:08 pm

ah that's another good suggestion. i didn't think about that but the idea is just for xcode to pick up the 'touched' resource file for the next build & go. i suppose keeping it all zipped up is an easy way to avoid weird caching issues inside xcode. i just noticed i typoed exploded, oops.

josgraha

Posts : 19
Join date : 2008-12-09

View user profile

Back to top Go down

Re: running in exloded mode

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum