FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Upgrade to 1.3.5: Widgets and touches

2 posters

Go down

Upgrade to 1.3.5: Widgets and touches Empty Upgrade to 1.3.5: Widgets and touches

Post  andreassilva 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

Back to top Go down

Upgrade to 1.3.5: Widgets and touches Empty Re: Upgrade to 1.3.5: Widgets and touches

Post  sio2interactive 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
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Upgrade to 1.3.5: Widgets and touches Empty Re: Upgrade to 1.3.5: Widgets and touches

Post  andreassilva 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

Back to top Go down

Upgrade to 1.3.5: Widgets and touches Empty Re: Upgrade to 1.3.5: Widgets and touches

Post  sio2interactive Thu Mar 26, 2009 4:49 am

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

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

http://sio2interactive.com

Back to top Go down

Upgrade to 1.3.5: Widgets and touches Empty Re: Upgrade to 1.3.5: Widgets and touches

Post  andreassilva 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

Back to top Go down

Upgrade to 1.3.5: Widgets and touches Empty Re: Upgrade to 1.3.5: Widgets and touches

Post  sio2interactive 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;
sio2interactive
sio2interactive

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

http://sio2interactive.com

Back to top Go down

Upgrade to 1.3.5: Widgets and touches Empty Re: Upgrade to 1.3.5: Widgets and touches

Post  andreassilva Thu Mar 26, 2009 6:36 am

for sure:)
thank you

andreassilva

Posts : 22
Join date : 2009-02-19

Back to top Go down

Upgrade to 1.3.5: Widgets and touches Empty Re: Upgrade to 1.3.5: Widgets and touches

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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