when trying to scale the object down on both axis the image will look skewed like, stretching more on 1 axis. I called object.Xscale=-1 to flip it. Although it works it will cause object:Scale(x,y) to have a problem with scaling. I removed the object.xScale and there seems to be no scaling issue with the display object. What can i do to solve this?
Corona using object.Xscale to flip an object will cause the object to look skewed when calling object:scale(x,y)
203 Views Asked by Gordon Ong At
1
There are 1 best solutions below
Related Questions in CORONASDK
- Is there something wrong with my onRelease call?
- Add sound switch off/on button corona sdk
- Posting savescreen to FB
- corona apk installation runtime error
- position polygon accurately in Corona SDK? (relative to known vertices - issue is it creates it own centre
- storyboard.removeScene("scene name") is not working
- Getting a 'nil' value when attaching an addEventListener method to a created Object
- Corona using object.Xscale to flip an object will cause the object to look skewed when calling object:scale(x,y)
- Displaying Image in Corona sdk
- Corona sdk app to put text in a video
- Is it possible to type in Furigana (and Ruby characters) using Unicode?
- ?:0: attempt to index field 'parent' (a nil value)
- How can you display rows in 'dynamic' sizes using tableview of Corona SDK
- How to simulate acceleration using Corona sdk's transitions
- Corona - Create a drop down list
Related Questions in SCALE
- Rotate & Scale a gif animation using 2 finger gesture in Android using Fresco Library
- ggplot arrangeGrob scale colour and size
- What technologies should I use to create a real time One to One chat?
- Responsive image scaling by the height of the window
- mongodb shard geo documents
- CSS :hover transform scale command rotate object instead
- How do I scale the graphics of a game?
- Modular Scale line-heights
- Android avoid image scalling in Imageview for Image Mapping like Html
- Corona using object.Xscale to flip an object will cause the object to look skewed when calling object:scale(x,y)
- Android : Zoom by center pinch
- Perform scale operation on QWidget and its children
- scale texture opengl 2
- gimp: resize and "unsharp mask" via script
- ggplot R scale x log10 limits not working
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you could post your code I might be able to answer you question a bit better. Until then, I can only speculate what the issue may be.
I recommend that if you do not want the xScale and yScale differing after alterations, try doing this after each change.
By setting the yScale to the absolute value of xScale, you will keep it upright and the same size despite xScale possibly being negative or positive.
Hope this helps,
Joe.