Skip to content

A proof of concept showcasing runtime texture resizing (while retaining original sprite size) in HaxeFlixel.

License

Notifications You must be signed in to change notification settings

ACrazyTown/flixel-runtime-texture-resize-poc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HaxeFlixel Runtime Texture Resize (Proof of Concept)

A proof of concept showcasing runtime texture resizing (while retaining original sprite size) in HaxeFlixel.

This allows us to resize a sprite's texture, while still keeping the sprite's width and height the same. This is useful in cases where the texture upload limit on the device running the game is lower than our texture's size (eg. mobile phone or lower-end computer).

showcase.gif

TODO

  • Make this work without a custom shader

About

A proof of concept showcasing runtime texture resizing (while retaining original sprite size) in HaxeFlixel.

Topics

Resources

License

Stars

Watchers

Forks

Languages