├── .gitignore ├── LICENSE ├── README.md ├── haxelib.json └── kala ├── DrawingData.hx ├── EventHandle.hx ├── Kala.hx ├── asset ├── AssetType.hx ├── Assets.hx ├── Builder.hx ├── Loader.hx └── sheet │ ├── SheetData.hx │ └── TexturePacker.hx ├── audio ├── Audio.hx ├── AudioChannel.hx └── AudioGroup.hx ├── behaviors ├── Behavior.hx ├── Timer.hx ├── collision │ ├── BaseCollider.hx │ ├── BaseCollisionShape.hx │ ├── basic │ │ ├── Collider.hx │ │ └── shapes │ │ │ ├── CollisionCircle.hx │ │ │ ├── CollisionRectangle.hx │ │ │ ├── CollisionShape.hx │ │ │ └── ShapeType.hx │ └── transformable │ │ ├── Collider.hx │ │ ├── CollisionResult.hx │ │ └── shapes │ │ ├── CollisionCircle.hx │ │ ├── CollisionPolygon.hx │ │ └── CollisionShape.hx ├── display │ ├── Clip.hx │ ├── Flicker.hx │ └── SpriteAnimation.hx ├── input │ ├── BaseButtonInteraction.hx │ ├── BasicButtonInteraction.hx │ ├── ButtonInteraction.hx │ └── MouseInteraction.hx ├── motion │ └── VelocityMotion.hx └── tween │ ├── Ease.hx │ └── Tween.hx ├── debug ├── Console.hx ├── Debug.hx ├── Debugger.hx └── Tab.hx ├── graphics └── Shader.hx ├── input ├── ButtonInputHandle.hx ├── Keyboard.hx ├── Mouse.hx └── Touch.hx ├── lang ├── Builder.hx └── Lang.hx ├── math ├── Collision.hx ├── Mathf.hx ├── Matrix.hx ├── Position.hx ├── Random.hx ├── Rect.hx ├── Rotation.hx ├── Vec2.hx ├── Vec2T.hx ├── Velocity.hx ├── color │ ├── BlendMode.hx │ └── Color.hx └── shapes │ └── Triangle.hx ├── objects ├── Object.hx ├── group │ ├── Group.hx │ └── View.hx ├── shapes │ ├── Circle.hx │ ├── Polygon.hx │ ├── Rectangle.hx │ └── Shape.hx ├── sprite │ ├── BaseButtonSprite.hx │ ├── BasicButtonSprite.hx │ ├── ButtonSprite.hx │ └── Sprite.hx └── text │ ├── BasicText.hx │ ├── BitmapFont.hx │ ├── Font.hx │ ├── Text.hx │ └── TextAlign.hx ├── system └── HTML5.hx └── util ├── Axes.hx ├── StringUtil.hx ├── pool └── Pool.hx └── types ├── Pair.hx └── Trio.hx /.gitignore: -------------------------------------------------------------------------------- 1 | build/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/README.md -------------------------------------------------------------------------------- /haxelib.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/haxelib.json -------------------------------------------------------------------------------- /kala/DrawingData.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/DrawingData.hx -------------------------------------------------------------------------------- /kala/EventHandle.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/EventHandle.hx -------------------------------------------------------------------------------- /kala/Kala.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/Kala.hx -------------------------------------------------------------------------------- /kala/asset/AssetType.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/asset/AssetType.hx -------------------------------------------------------------------------------- /kala/asset/Assets.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/asset/Assets.hx -------------------------------------------------------------------------------- /kala/asset/Builder.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/asset/Builder.hx -------------------------------------------------------------------------------- /kala/asset/Loader.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/asset/Loader.hx -------------------------------------------------------------------------------- /kala/asset/sheet/SheetData.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/asset/sheet/SheetData.hx -------------------------------------------------------------------------------- /kala/asset/sheet/TexturePacker.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/asset/sheet/TexturePacker.hx -------------------------------------------------------------------------------- /kala/audio/Audio.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/audio/Audio.hx -------------------------------------------------------------------------------- /kala/audio/AudioChannel.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/audio/AudioChannel.hx -------------------------------------------------------------------------------- /kala/audio/AudioGroup.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/audio/AudioGroup.hx -------------------------------------------------------------------------------- /kala/behaviors/Behavior.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/Behavior.hx -------------------------------------------------------------------------------- /kala/behaviors/Timer.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/Timer.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/BaseCollider.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/BaseCollider.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/BaseCollisionShape.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/BaseCollisionShape.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/basic/Collider.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/basic/Collider.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/basic/shapes/CollisionCircle.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/basic/shapes/CollisionCircle.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/basic/shapes/CollisionRectangle.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/basic/shapes/CollisionRectangle.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/basic/shapes/CollisionShape.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/basic/shapes/CollisionShape.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/basic/shapes/ShapeType.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/basic/shapes/ShapeType.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/transformable/Collider.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/transformable/Collider.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/transformable/CollisionResult.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/transformable/CollisionResult.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/transformable/shapes/CollisionCircle.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/transformable/shapes/CollisionCircle.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/transformable/shapes/CollisionPolygon.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/transformable/shapes/CollisionPolygon.hx -------------------------------------------------------------------------------- /kala/behaviors/collision/transformable/shapes/CollisionShape.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/collision/transformable/shapes/CollisionShape.hx -------------------------------------------------------------------------------- /kala/behaviors/display/Clip.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/display/Clip.hx -------------------------------------------------------------------------------- /kala/behaviors/display/Flicker.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/display/Flicker.hx -------------------------------------------------------------------------------- /kala/behaviors/display/SpriteAnimation.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/display/SpriteAnimation.hx -------------------------------------------------------------------------------- /kala/behaviors/input/BaseButtonInteraction.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/input/BaseButtonInteraction.hx -------------------------------------------------------------------------------- /kala/behaviors/input/BasicButtonInteraction.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/input/BasicButtonInteraction.hx -------------------------------------------------------------------------------- /kala/behaviors/input/ButtonInteraction.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/input/ButtonInteraction.hx -------------------------------------------------------------------------------- /kala/behaviors/input/MouseInteraction.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/input/MouseInteraction.hx -------------------------------------------------------------------------------- /kala/behaviors/motion/VelocityMotion.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/motion/VelocityMotion.hx -------------------------------------------------------------------------------- /kala/behaviors/tween/Ease.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/tween/Ease.hx -------------------------------------------------------------------------------- /kala/behaviors/tween/Tween.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/behaviors/tween/Tween.hx -------------------------------------------------------------------------------- /kala/debug/Console.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/debug/Console.hx -------------------------------------------------------------------------------- /kala/debug/Debug.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/debug/Debug.hx -------------------------------------------------------------------------------- /kala/debug/Debugger.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/debug/Debugger.hx -------------------------------------------------------------------------------- /kala/debug/Tab.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/debug/Tab.hx -------------------------------------------------------------------------------- /kala/graphics/Shader.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/graphics/Shader.hx -------------------------------------------------------------------------------- /kala/input/ButtonInputHandle.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/input/ButtonInputHandle.hx -------------------------------------------------------------------------------- /kala/input/Keyboard.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/input/Keyboard.hx -------------------------------------------------------------------------------- /kala/input/Mouse.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/input/Mouse.hx -------------------------------------------------------------------------------- /kala/input/Touch.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/input/Touch.hx -------------------------------------------------------------------------------- /kala/lang/Builder.hx: -------------------------------------------------------------------------------- 1 | package kala.lang; 2 | 3 | class Builder { 4 | 5 | } -------------------------------------------------------------------------------- /kala/lang/Lang.hx: -------------------------------------------------------------------------------- 1 | package kala.lang; 2 | 3 | class Lang { 4 | 5 | } -------------------------------------------------------------------------------- /kala/math/Collision.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Collision.hx -------------------------------------------------------------------------------- /kala/math/Mathf.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Mathf.hx -------------------------------------------------------------------------------- /kala/math/Matrix.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Matrix.hx -------------------------------------------------------------------------------- /kala/math/Position.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Position.hx -------------------------------------------------------------------------------- /kala/math/Random.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Random.hx -------------------------------------------------------------------------------- /kala/math/Rect.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Rect.hx -------------------------------------------------------------------------------- /kala/math/Rotation.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Rotation.hx -------------------------------------------------------------------------------- /kala/math/Vec2.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Vec2.hx -------------------------------------------------------------------------------- /kala/math/Vec2T.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Vec2T.hx -------------------------------------------------------------------------------- /kala/math/Velocity.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/Velocity.hx -------------------------------------------------------------------------------- /kala/math/color/BlendMode.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/color/BlendMode.hx -------------------------------------------------------------------------------- /kala/math/color/Color.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/color/Color.hx -------------------------------------------------------------------------------- /kala/math/shapes/Triangle.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/math/shapes/Triangle.hx -------------------------------------------------------------------------------- /kala/objects/Object.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/Object.hx -------------------------------------------------------------------------------- /kala/objects/group/Group.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/group/Group.hx -------------------------------------------------------------------------------- /kala/objects/group/View.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/group/View.hx -------------------------------------------------------------------------------- /kala/objects/shapes/Circle.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/shapes/Circle.hx -------------------------------------------------------------------------------- /kala/objects/shapes/Polygon.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/shapes/Polygon.hx -------------------------------------------------------------------------------- /kala/objects/shapes/Rectangle.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/shapes/Rectangle.hx -------------------------------------------------------------------------------- /kala/objects/shapes/Shape.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/shapes/Shape.hx -------------------------------------------------------------------------------- /kala/objects/sprite/BaseButtonSprite.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/sprite/BaseButtonSprite.hx -------------------------------------------------------------------------------- /kala/objects/sprite/BasicButtonSprite.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/sprite/BasicButtonSprite.hx -------------------------------------------------------------------------------- /kala/objects/sprite/ButtonSprite.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/sprite/ButtonSprite.hx -------------------------------------------------------------------------------- /kala/objects/sprite/Sprite.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/sprite/Sprite.hx -------------------------------------------------------------------------------- /kala/objects/text/BasicText.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/text/BasicText.hx -------------------------------------------------------------------------------- /kala/objects/text/BitmapFont.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/text/BitmapFont.hx -------------------------------------------------------------------------------- /kala/objects/text/Font.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/text/Font.hx -------------------------------------------------------------------------------- /kala/objects/text/Text.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/text/Text.hx -------------------------------------------------------------------------------- /kala/objects/text/TextAlign.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/objects/text/TextAlign.hx -------------------------------------------------------------------------------- /kala/system/HTML5.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/system/HTML5.hx -------------------------------------------------------------------------------- /kala/util/Axes.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/util/Axes.hx -------------------------------------------------------------------------------- /kala/util/StringUtil.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/util/StringUtil.hx -------------------------------------------------------------------------------- /kala/util/pool/Pool.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/util/pool/Pool.hx -------------------------------------------------------------------------------- /kala/util/types/Pair.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/util/types/Pair.hx -------------------------------------------------------------------------------- /kala/util/types/Trio.hx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sinh-png/Kala/HEAD/kala/util/types/Trio.hx --------------------------------------------------------------------------------