Display an object independent of "scale"

Hello, I made a “runner” game with zoomEven dynamic scaling and it works fine in all the different devices.

However I would like to add some initial scenes, for example a “logo image” and I want it to be exactly in the center of the screen.

Is there any way to display an object as a function of the actual sizes of width and height of the screen, without applying any scale?

Take a look at this excellent tutorial by Matt Webster, a.k.a. “HoraceBury”. I learned a lot from it to do with displaying images with different scale, location etc.http://www.coronalabs.com/blog/2013/01/22/implementing-pinch-zoom-rotate/

Thanks ksan, But I’ve readed most of the articles about “scaling” and Matt’s tutorial work around multitouches.

My question is easy. I have a app working perfectly with the internal content scale.
Is there any way to display an object deactivating the scale only for that object in order to place it on the center of the screen?

You can always use display.contentCenterX and display.contentCenterY can’t you?

Yes, thanks, I think is the same but yesterday I recalculated the new coordinates,

[lua]

     screenW=display.contentWidth
     screenH=display.contentHeight    
     viewaW=display.viewableContentWidth
     viewaH=display.viewableContentHeight    
    – 0,0 Real (on this device)
    OY=screenH-viewaH
    OX=screenW-viewaW[/lua]

with content I could get the same solution. Thank you so much!

Take a look at this excellent tutorial by Matt Webster, a.k.a. “HoraceBury”. I learned a lot from it to do with displaying images with different scale, location etc.http://www.coronalabs.com/blog/2013/01/22/implementing-pinch-zoom-rotate/

Thanks ksan, But I’ve readed most of the articles about “scaling” and Matt’s tutorial work around multitouches.

My question is easy. I have a app working perfectly with the internal content scale.
Is there any way to display an object deactivating the scale only for that object in order to place it on the center of the screen?

You can always use display.contentCenterX and display.contentCenterY can’t you?

Yes, thanks, I think is the same but yesterday I recalculated the new coordinates,

[lua]

     screenW=display.contentWidth
     screenH=display.contentHeight    
     viewaW=display.viewableContentWidth
     viewaH=display.viewableContentHeight    
    – 0,0 Real (on this device)
    OY=screenH-viewaH
    OX=screenW-viewaW[/lua]

with content I could get the same solution. Thank you so much!