custom scale mode for haxeflixel suitable for games with vertical orientations to support all aspect ratios
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Alejandro Ramallo 277890b562 Create 3 years ago
MyCustomScaleMode.hx Initial commit 3 years ago Create 3 years ago


A simple ScaleMode for HaxeFlixel that can adapt to all the different aspect ratios of mobile device screens, and scale the screen appropriately.

Pulled out of my game Pirate Swipe, which is a 2D puzzle game with a static camera, designed to be played on mobile device screens in portrait mode. However, this class also makes it playable on phones with square screens (such as the awesome Blackberry Passport)