States
- Android and Ios firebase push notifications
- Mobile Native Scrolling mimiced to be IOS
- Web Socket Client Networking
- Url States
- Camera Restrictions
- Buttons
- Input text with Placeholder and NativeText implementation for ios and android.
- Easy Asset creation
- Custom Scaling Engine with setting Object Headers (No streching or black bars)
Add the library to your project.xml
:
<haxelib name="app" />
And use haxelib
to install it:
Github Version
haxelib git app https://github.com/PXshadow/App
Haxelib Version
haxelib install app
Main.hx File
package;
import core.*;
import openfl.display.Sprite;
class Main extends Sprite
{
public function new()
{
super();
//set width and height
new App(640,480);
App.state = new Menu();
//Configure
/*
//creates a tcp socket on Native/Neko and WebSocket on html5, boolean controls if the same message can be sent again.
App.network = new Network("127.0.0.1",200,false);
//array of Integer colors to be used throughout the App, defualt is a blue, yellow and green for ThinQbator.
App.colorArray = [0,16777215];
//toggle full screen, can Also use openfl.Lib.application.window.fullscreen = true;
App.toggleFullscreen();
//UrlArray sub directories to the html5 page used to direct to States. Contact me if you would like to use this, It also needs code on every State and is not extremly automated yet.
//App.urlArray = ["Menu",Menu];
*/
removeChild(this);
}
}
class Menu extends State
{
public function new()
{
super();
}
}
- Create more Widgets and get feedback.
- optimization
- Demo Projects