Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Why does the size of the image change?
Started by fferraro67 Nov 25 2018 09:10 AM

2 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

fferraro67

[GLOBAL: userInfoPane.html]
fferraro67
  • Contributor

  • 240 posts
  • Corona SDK

I need to show an image that exceeds the limits of the device. It is an image that is moving. I find that the image shrinks, makes a kind of auto scaling without anyone touching anything. I wanted to know why this happens? First I had put smaller images and this did not happen. Images that jutted out of bounds, but were not that big. Now that the image should be a bit longer, it's like Corona shrinks it. Why is this happening?

[TOPIC: post.html]
#2

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 368 posts
  • Corona SDK

My code doesn't work. Guess why?

Technically speaking, it is impossible to exceed a device's limits, so I'm not sure what you mean by that, or really by anything else.

 

You really need to provide sample code and clearer explanation of what you are actually doing, what you expected to happen and what actually happened. Your current explanation is simply unintelligible. 



[TOPIC: post.html]
#3

roaminggamer

[GLOBAL: userInfoPane.html]
roaminggamer
  • Corona Geek

  • 7,380 posts
  • Corona SDK

Yes. I second that request. 

 

  1. Please provide us with a zip file containing a tiny sample project we can run.
    • Important: This project must RUN so we can examine it without extra effort.  It should contain main.lua, config.lua and the image asset you are talking about.
  2. Attach the zip file to this post (click 'more reply options' button next top orange post button below).
  3. Then tell us:
    1. What you did.
    2. What you saw.
    3. What you expected so see.
    4. Why you think what you saw is wrong.

 

With this, we can much more easily help you.  i.e. Help us to help you by making it easy for us to reproduce the issue.

 

If it helps, you can use my starter project here, but please rename it before uploading your modified version:

https://github.com/roaminggamer/RG_FreeStuff/raw/master/AskEd/askEdStarter.zip


Edited by roaminggamer, 25 November 2018 - 10:01 AM.



[topic_controls]
[/topic_controls]