mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 01:48:15 +03:00
Update mobile version to mobile v2.2.1
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.
This commit is contained in:
16
mobile_version/src/Load.as
Normal file
16
mobile_version/src/Load.as
Normal file
@@ -0,0 +1,16 @@
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user