I forgot to set the proper size of my frames in photoshop so now the animation of my character is huge, is there a way I can scale the texture atlas or animation using methods just like .setSize();.I mean scaling just like sprites and textures.
Scaling animation or Texture Atlas on libgdx
774 Views Asked by Kevin Bryan At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in ANIMATION
- Animation in Java on top of JPanel
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Removing flashiness/ shakiness from scrolling text
- Animation text fade-in other text
- iOS UITableViewCell setSelected:animated: always has animated = NO
- Animation Trigger (Storyboard + Trigger) in C#
- How to animate a ball along the curved path using css3 animation?
- Animation issue on iOS 7 but not on iOS 8
- Asp.net /JQuery to show/hide animated gif before download
- Set animation YDelta in Java class?
- CSS Transition Animation Content Overlapping
- jQuery background animation - better performance
- Android listview top to down animation flashing when animating?
- How can i do a fill animation in Xamarin.Forms
- Create Page custom animations in Windows Phone 8.1 (Windows Runtime)
Related Questions in LIBGDX
- Creating a random item generator in java,to use in a libgdx project
- Installing Google play service to Libgdx game
- Admob slows down my game - LIBGDX
- Popup with scrollable area
- Removing sprite when Touched
- How do you generate specific random number?
- How to render things expressed in seconds
- Comparison error for isometric sorting
- Does the game engine allow me to intergarte native android code
- LibGDX - load and process texture asynchronously
- Calculation position of a Vector between two others
- Libgdx: Objects creating other objects
- Drawing individual pixels LibGDX
- How to remove Sprite/Object from ArrayList?
- how to get control-c to kill only the running process and not sbt itself?
Related Questions in TEXTURES
- Can linear filtering be used for an FBO blit of an MSAA texture to non-MSAA texture?
- Texture mapping consuming physical memory
- Quality not proper while rendering it via threejs r71
- SDL2_image rendering not working properly
- Cocos2D 2.x: Running CCWave action makes sprite disappear
- Creating a Texture2DArray and populate it with solid values
- Projecting a texture from plane to object with Unity
- Textured cube renders blank in DirectX
- Programmatically generate texture for WebGL in JavaScript
- Unable to render a texture on a quad
- OpenGl with C++ - Textures
- Random Line Appearing on Moving Texture Node
- Load multiple OBJ-files together with multple textures
- LibGDX "GwtApplication: exception: Couldn't load image 'a.jpg'
- Android OpenGL es 2.0 Can not reload textures on object.
Related Questions in SCALING
- ios responsive design not working (too wide in portrait orientation)
- Spark scaling the data for both features and the label
- Bad Swing UI scaling on high resolution (MS Surface)
- Will using dp take care of physical screen size?
- matplotlib: Rescale axis labels
- c3 scaling similar to d3?
- How to get around a Possible Loss of Precision Error in java
- Scaling animation or Texture Atlas on libgdx
- LibGDX TextureRegion draw bug when using split method and scaling
- Maintain centre of custom imageview resized in android
- how to fit screen shot in to 800*600 bitmap
- Server scaled images within WP Canvas - Gallery.
- CSS3 transform: scaling results in translation?
- Why is SVG scaling inversely with the viewBox, ie. larger numbers make SVG smaller and smaller numbers make it larger
- Unity3d 4.6 UI Image bug on some Windows 8 and 8.1
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?
You'd be much better off scaling them in photoshop.
Scaling them will mean that you're using up way more texture memory than you need to, and will potentially add complications in other areas too.\
If you really want to do it, simply scale draw the TextureRegions that you get back from getKeyFrame() with a scale applied.