Why the images end up adjusting to the iPad screen? What parameter should I change what does not happen? I had already gone through this problem before but can not remember what it was that I changed. It was long ago.
Are you using display.newImage() or display.newImageRect()?
Are the images bigger than the iPads screen?
Rob
I’m using display.newImage ().
Yes, the images are larger than the screen.
display.newImage() loads in the image at full resolution. You are responsible to scale the image to what you want using the :scale() method if you want something different. I personally prefer to use display.newImageRect() which takes a width and height parameter to load the image at the size you want it.
Rob
Does it always was? I think not. If I export an image from Adobe Illustrator in png format and the image is larger than the ipad screen, logically would have to exceed the size of the screen is what I’m looking for because that is the background image and is shifting. That does not happen, the image fits the screen so climb. I do not remember, but before this option was changed from one of the two files are in the folder of the application. I’m pretty sure it was so.
There is an option to display.newImage() thats either true or false which controls if it loads at full resolution or if it scales to the screen size.
Rob
Are you using display.newImage() or display.newImageRect()?
Are the images bigger than the iPads screen?
Rob
I’m using display.newImage ().
Yes, the images are larger than the screen.
display.newImage() loads in the image at full resolution. You are responsible to scale the image to what you want using the :scale() method if you want something different. I personally prefer to use display.newImageRect() which takes a width and height parameter to load the image at the size you want it.
Rob
Does it always was? I think not. If I export an image from Adobe Illustrator in png format and the image is larger than the ipad screen, logically would have to exceed the size of the screen is what I’m looking for because that is the background image and is shifting. That does not happen, the image fits the screen so climb. I do not remember, but before this option was changed from one of the two files are in the folder of the application. I’m pretty sure it was so.
There is an option to display.newImage() thats either true or false which controls if it loads at full resolution or if it scales to the screen size.
Rob