Skip to content

Instantly share code, notes, and snippets.

@Klug76
Klug76 / graphics.coverter.xml
Created February 22, 2016 11:28 — forked from illuzor/graphics.coverter.xml
graphics.coverter.xml
<project name="Graphics Converter" default="atlasses.and.gafs" basedir="..">
<!--путь к air sdk-->
<property name="flex.home" location="C:/Program Files (x86)/FlexSDK/AIR SDK" />
<!--путь к pvr2atf-->
<property name="atf.tool" location="${flex.home}/atftools/pvr2atf.exe" />
<!--путь к PVRTexToolCLI-->
<property name="pvr.tool" location="C:/Program Files/PowerVR/Tool/PVRTexTool/CLI/Windows_x86_32/PVRTexToolCLI.exe" />
<!--путь к атласам в формате pvr-->
@Klug76
Klug76 / ads.config
Created February 22, 2016 12:37
Ant: Build my AIR application for iOS and Android
<?xml version="1.0"?>
<flex-config xmlns="http://www.adobe.com/2006/flex-config">
<compiler>
<external-library-path append="true">
<path-element>anes/NativeAds.ane</path-element>
</external-library-path>
</compiler>
</flex-config>
@Klug76
Klug76 / QuadSection.as
Last active November 7, 2017 11:33 — forked from PrimaryFeather/QuadSection.as
A Starling Mesh that displays a slice of a quad (just like a pie chart, but rectangular). Useful e.g. for a circular progress indicator.
package starling.extensions
{
import flash.geom.Point;
import flash.geom.Rectangle;
import starling.display.Mesh;
import starling.rendering.IndexData;
import starling.rendering.VertexData;
import starling.textures.Texture;