Upgrade to 1.3.5: Widgets and touches

View previous topic View next topic Go down

Upgrade to 1.3.5: Widgets and touches

Post  andreassilva on Thu Mar 26, 2009 3:46 am

Hi there,

I just upgraded from version 1.3.1 to 1.3.5.

Some problems have come with it:
After update my code to the new functions and fix all errors:
The widgets with images disapper;
The touches don't behave the same way: at the simulator it works good (after some modifications) with but on the iPod it have a different behavior (using sio2->_SIO2window->touch[0].x );

I would like to know what are the version differences that could be causing this problems.

Thank you

andreassilva

Posts : 22
Join date : 2009-02-19

View user profile

Back to top Go down

Re: Upgrade to 1.3.5: Widgets and touches

Post  sio2interactive on Thu Mar 26, 2009 4:06 am

For the widget there's now:

void sio2InitWidget( void );

void sio2ShutdownWidget( void );

And for the touches check the latest tutorial05

_________________
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: Upgrade to 1.3.5: Widgets and touches

Post  andreassilva on Thu Mar 26, 2009 4:34 am

Sorry, I was using version 1.3.2 not 1.3.1 like i said.

sio2InitWidget already exits on 1.3.2 any other tip? I didnt change any code for my widgets,
must have a difference.
I must say that I'm using a image as the material for the widgets. Any changes on the images or material?

Thank you for reply

andreassilva

Posts : 22
Join date : 2009-02-19

View user profile

Back to top Go down

Re: Upgrade to 1.3.5: Widgets and touches

Post  sio2interactive on Thu Mar 26, 2009 4:49 am

nope... double check your code with tutorial07 and tutorial17....

_________________
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: Upgrade to 1.3.5: Widgets and touches

Post  andreassilva on Thu Mar 26, 2009 5:12 am

Ok i fixed the widget problem:
on the new sio2WidgetRender function i was passing 1 instead of 0 as the _usematrix parameter

andreassilva

Posts : 22
Join date : 2009-02-19

View user profile

Back to top Go down

Re: Upgrade to 1.3.5: Widgets and touches

Post  sio2interactive on Thu Mar 26, 2009 5:36 am

ahhhhhh Wink

maybe use the transform matrix type for a clearer code:

typedef enum
{
SIO2_TRANSFORM_MATRIX_NONE = 0,
SIO2_TRANSFORM_MATRIX_BIND,
SIO2_TRANSFORM_MATRIX_APPLY

} SIO2_TRANSFORM_MATRIX_TYPE;

_________________
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: Upgrade to 1.3.5: Widgets and touches

Post  andreassilva on Thu Mar 26, 2009 6:36 am

for sure:)
thank you

andreassilva

Posts : 22
Join date : 2009-02-19

View user profile

Back to top Go down

Re: Upgrade to 1.3.5: Widgets and touches

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