SDK problems with new project and adding .sio2

View previous topic View next topic Go down

SDK problems with new project and adding .sio2

Post  Justin McCrea on Fri Mar 13, 2009 12:55 pm

Hello,
It seems that I am unable to get the template file to work with a new .sio2 file. I dont know much about xcode or the SDK. Basically I just want to start a new build with something I have exported out of blender with SIO2. Any help would be great...thanx
J

Justin McCrea

Posts : 6
Join date : 2009-03-13

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  meteors on Fri Mar 13, 2009 12:57 pm

You're not providing very much info. Are you getting a black screen?

Peek inside the exported folder and make sure you actually have exported your objects *and* your camera(s).



Best,
-j
avatar
meteors

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

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  Justin McCrea on Fri Mar 13, 2009 1:03 pm

sorry, yep I am just getting a black screen, In the iso2 it has all the objects/ and cameras, I drag the iso2 export into the Resources and I get nothing. I have also tried deleting this file in on the works and nothing happens...I am confused on how the SDK works.

Justin McCrea

Posts : 6
Join date : 2009-03-13

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  meteors on Fri Mar 13, 2009 1:05 pm

Are you modifying tutorial02? You need to load the proper .sio2 file in the temple.mm file.


-j
avatar
meteors

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

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  Justin McCrea on Fri Mar 13, 2009 1:10 pm

Yes i was trying to modify the tutorial files, i have a sio2 file but how do i load it into template.mm file.
thanx


Last edited by Justin McCrea on Fri Mar 13, 2009 2:24 pm; edited 1 time in total

Justin McCrea

Posts : 6
Join date : 2009-03-13

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  meteors on Fri Mar 13, 2009 1:16 pm

Time for you to watch the tutorials.

Template.mm is where most of the action takes place.


Best,
-joshua
avatar
meteors

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

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  Justin McCrea on Fri Mar 13, 2009 1:18 pm

got the template.mm, it seems when I add the sio2 to the resources it is not adding to the template.mm....so how do i get .sio2 data into the template.mm?

Justin McCrea

Posts : 6
Join date : 2009-03-13

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  sio2interactive on Fri Mar 13, 2009 5:06 pm

Drag and drop the .sio2 within the resource directory is not enough, check in the code for sio2ResourceLoad and modify the filename for your .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 : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  Justin McCrea on Mon Mar 16, 2009 1:45 pm

Is it sio2ResourceLoad?


Last edited by Justin McCrea on Tue Mar 17, 2009 7:54 am; edited 1 time in total

Justin McCrea

Posts : 6
Join date : 2009-03-13

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  meteors on Mon Mar 16, 2009 2:10 pm

I think the function name you want is actually 'sio2ResourceOpen'.

Do an edit>find for that name in Template.mm


-j
avatar
meteors

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

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  sio2interactive on Mon Mar 16, 2009 4:35 pm

ouppppps sorry my mistake Wink sio2ResourceOpen not Load Wink

_________________
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 : 38
Location : Shanghai

View user profile http://sio2interactive.com

Back to top Go down

Re: SDK problems with new project and adding .sio2

Post  Justin McCrea on Tue Mar 17, 2009 7:54 am

Got it, that works...thanx for your help.

Justin McCrea

Posts : 6
Join date : 2009-03-13

View user profile

Back to top Go down

Re: SDK problems with new project and adding .sio2

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