mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
72d018ea04
The android version just got a much needed update to fix some resolution issues on devices with cutouts. It turns out the mobile source was actually pretty out of date, like 3 versions out of date! This commit brings it up to date. All the changes have just been about keeping the game running on modern devices, though. The biggest change was adding the Starling library to the project, which made the game GPU powered and sped the whole thing up.
16 lines
No EOL
338 B
ActionScript
16 lines
No EOL
338 B
ActionScript
package{
|
|
import flash.display.Sprite;
|
|
import starling.core.Starling;
|
|
|
|
[SWF(backgroundColor="#000000", frameRate="30")]
|
|
public class Load extends Sprite{
|
|
private var _starling:Starling;
|
|
|
|
public function Load() {
|
|
Starling.multitouchEnabled = true;
|
|
|
|
_starling = new Starling(Main, stage);
|
|
_starling.start();
|
|
}
|
|
}
|
|
} |