https://github.com/PXshadow/App
openFl UI libary devolped for ThinQbator production Use
https://github.com/PXshadow/App
haxe haxelib html5 mobile openfl ui
Last synced: 10 months ago
JSON representation
openFl UI libary devolped for ThinQbator production Use
- Host: GitHub
- URL: https://github.com/PXshadow/App
- Owner: PXshadow
- License: mit
- Archived: true
- Created: 2018-01-25T05:39:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-05T06:58:52.000Z (almost 7 years ago)
- Last Synced: 2023-03-05T03:51:39.373Z (almost 3 years ago)
- Topics: haxe, haxelib, html5, mobile, openfl, ui
- Language: Haxe
- Homepage:
- Size: 24.6 MB
- Stars: 11
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# App, is an openFl UI libary devolped for ThinQbator production use.
- [Getting Started](https://github.com/PXshadow/App/wiki/Getting-Started)
- [Contact me](https://github.com/PXshadow/App/wiki/Contact)
- [Haxelib](https://lib.haxe.org/p/app)

[ThinQbator](https://www.thinqbator.app/)
## Features
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)
## Installation
Add the library to your `project.xml`:
```xml
```
And use `haxelib` to install it:
Github Version
```shell
haxelib git app https://github.com/PXshadow/App
```
Haxelib Version
```shell
haxelib install app
```
## Inital Setup
Main.hx File
``` haxe
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();
}
}
```
## TODO
- Create more Widgets and get feedback.
- optimization
- Demo Projects