Strange Issues with multiple tutorials... is it me?

I’ve noticed this with the last few tutorials I’ve tried.

I use their settings EXACTLY… but when the screen is supposed to be filled with either a texture or color, in the simulator it only fills the upper left quadrant.

Is there something that I’m doing wrong?  Or some configuration in the simulator I should be tweaking?

The config is set for landscape 480x360 in most and in the simulator I choose iphone.  If I choose a different phone, it displays the same amount of the texture, etc. but proportionately smaller - since my other options have larger screens.

This is really frustrating.

Hello @ookami007,

Most likely, these tutorials were written before Corona released the Graphics 2.0 engine. With that release, the “anchor point” of objects and groups changed, so to help mimic the previous behavior, you should use Compatibility Mode. That is described here:

http://docs.coronalabs.com/guide/graphics/migration.html

Take care,

Brent

But can’t you only use compatibility mode if you have Enterprise?

Compatibility mode works with all tiers.

Thanks… oddly, I’m seeing that all of my programs seem to default the image referencepoint/anchor to the middle of the image whereas it seems to expect the top left corner to be the origin point.

If I put in the obj.anchorX / Y set to 0 and 1 respectively, most of the stuff seems to work better.

Still playing around.

I’ve even looked on Amazon for a book, but I can’t tell which ones are using 2.0 and which ones aren’t.  Annoying really.

Graphics 2.0 came out a approximately November 2013.  so use that to gauge which us books use Graphics 2.0.  Try learning the Flappy Bat example it uses Graphics 2.0 as well as Composer which is the ‘scene replacement’ replacement of Storyboard.  good stuff to know!

Hello @ookami007,

Most likely, these tutorials were written before Corona released the Graphics 2.0 engine. With that release, the “anchor point” of objects and groups changed, so to help mimic the previous behavior, you should use Compatibility Mode. That is described here:

http://docs.coronalabs.com/guide/graphics/migration.html

Take care,

Brent

But can’t you only use compatibility mode if you have Enterprise?

Compatibility mode works with all tiers.

Thanks… oddly, I’m seeing that all of my programs seem to default the image referencepoint/anchor to the middle of the image whereas it seems to expect the top left corner to be the origin point.

If I put in the obj.anchorX / Y set to 0 and 1 respectively, most of the stuff seems to work better.

Still playing around.

I’ve even looked on Amazon for a book, but I can’t tell which ones are using 2.0 and which ones aren’t.  Annoying really.

Graphics 2.0 came out a approximately November 2013.  so use that to gauge which us books use Graphics 2.0.  Try learning the Flappy Bat example it uses Graphics 2.0 as well as Composer which is the ‘scene replacement’ replacement of Storyboard.  good stuff to know!