Specify launch device

Rob finally I have solved the problem. I had mistyped one part of the code in the config.lua file.

Lots of thanks for your help! [import]uid: 57891 topic_id: 35610 reply_id: 143967[/import]

My images are named filename@2x.png. For example, one of images is cloud.png (the non-retina file) and the retina file is named cloud@2x.png.

When I load the images I write:

local cloud = display.newImageRect( “cloud.png”, 100, 100 )

is that sintax correct?

Thanks for your help,
Borja [import]uid: 57891 topic_id: 35610 reply_id: 142783[/import]

That is the right syntax for the display.newImageRect() call assuming your image is 100x100 in size. I guess the other thing would be to post your config.lua and let us look for issues, because this scaling does work. [import]uid: 199310 topic_id: 35610 reply_id: 142812[/import]

My images are named filename@2x.png. For example, one of images is cloud.png (the non-retina file) and the retina file is named cloud@2x.png.

When I load the images I write:

local cloud = display.newImageRect( “cloud.png”, 100, 100 )

is that sintax correct?

Thanks for your help,
Borja [import]uid: 57891 topic_id: 35610 reply_id: 142783[/import]

That is the right syntax for the display.newImageRect() call assuming your image is 100x100 in size. I guess the other thing would be to post your config.lua and let us look for issues, because this scaling does work. [import]uid: 199310 topic_id: 35610 reply_id: 142812[/import]

Rob finally I have solved the problem. I had mistyped one part of the code in the config.lua file.

Lots of thanks for your help! [import]uid: 57891 topic_id: 35610 reply_id: 143967[/import]

Rob finally I have solved the problem. I had mistyped one part of the code in the config.lua file.

Lots of thanks for your help! [import]uid: 57891 topic_id: 35610 reply_id: 143967[/import]