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)
206 views Asked by Gordon Ong At
1
There are 1 answers
Related Questions in CORONASDK
- Unable to specify a table object to a event listener in Lua
- how do I define a multicomponent variable in Lua (using Solar 2D)
- 'end' expected (to close 'function' at line 102) near <eof>
- How can I set transition.to to continue in the same direction with the same velocity once it has arrived at the set point?
- string passed as an argument turns into a table. lua
- Decompile apk game built in corona sdk
- addEventListener is returning nil Lua
- addEventListener: listener cannot be nil:nil
- I need black bars on the left and right sides Corona sdk for Android
- Lua function returning error after false "if statement"
- why is this error coming out in Corona sdk?
- Lua - Unable to restart the game
- corona sdk / solar2d multiple moving objects
- There is a problem in memory-management of object in lua programming
- Displaying a random object chosen from a table
Related Questions in SCALE
- I need an azure product that executes my intensive ffmpeg command then dies, and i only get charged for the delta. Any Tips?
- Merge Azure mp4 blobs via API (Preferred Azure)
- Colorbar and contour plot seem to not match data; individual/custom scale to emphasize data of interest
- Weight measurement with real-time time stamping using the Kern KB 3600-2N precision balance
- Highcharts Spider Chart with different scale for each category
- GKE cluster shutdown
- Prevent blocking the event loop on sync operations
- How to keep original x-axis after utilizing a custom scaling for the geom_rect in ggplot?
- ESP32 attachInterrupt causing (Interrupt wdt timeout on CPU1)
- How to fix SVG being cut off when using as background?
- How to move the background image by clicking and dragging the mouse smoothly?
- How to use pyplot to show data with no scale on xaxis and allow to pan (shift) via mouse
- Page scales down on mobile when width is below 980px
- signalr - programatically scaling up (from azure function)
- Getting scale offset inside tkinter canvas
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?
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)
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.