This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\work\github>lime rebuild android | |
arm-linux-androideabi-g++ -Iinclude -Ilib/cairo/include -Ilib/cairo/include/conf | |
igs/default/ -DLIME_CAIRO -DHAVE_CONFIG_H -DCAIRO_HAS_FT_FONT -Ilib/curl/include | |
/ -DLIME_CURL -DCURL_STATICLIB -Ilib/jpeg/ -DLIME_JPEG -Ilib/freetype/include -D | |
LIME_FREETYPE -Ilib/harfbuzz/src -DLIME_HARFBUZZ -Ilib/lzma/src -DLIME_LZMA -Ili | |
b/ogg/include/ -Ilib/vorbis/include/ -DLIME_OGG -Ilib/openal-android/include/ -D | |
LIME_OPENAL -DAL_LIBTYPE_STATIC=1 -DLIME_OPENGL -Ilib/png/ -Ilib/zlib/ -DLIME_PN | |
G -Ilib/sdl/include/ -Ilib/sdl/include/configs/default/ -DHAVE_LIBC -DLIME_SDL " | |
--sysroot=C:\Development\Android NDK/platforms/android-9/arch-arm" "-IC:\Develop | |
ment\Android NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include" "-IC:\Development\ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arm-linux-androideabi-g++ -Iinclude "--sysroot=C:\Development\Android NDK/platforms/android-9/arch-arm" "-IC:\Development\Android NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include" "-IC:\Development\Android NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include" -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_CHECK_POINTER -DHXCPP_STACK_TRACE -DHXCPP_STACK_LINE -DHXCPP_API_LEVEL=321 -IC:/HaxeToolkit/haxe/lib/hxcpp/3,2,205/include -Iinclude -fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums "-D_LINUX_STDDEF_H " -Wno-psabi -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -fomit-frame-pointer -fexceptions -fno-strict-aliasing -finline-limit=10000 -DANDROID=ANDROID -DHX_ANDROID -DHXCPP_ANDROID_PLATFORM=14 -Wa,--noexecstack -O0 -g -DNDEBUG -c -x c++ -Wno-invalid-offsetof -frtti ./src/ApplicationMain.cpp -oC:/work/haxe2/openfl_empty_test/Export/android/obj/obj/android-debug-v7/1b394dab_ApplicationMa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.d88 88b. 888888b 888 | |
d88P" "Y88b 888 888 | |
888 888 888 888 | |
888 888 88888b. .d88b. 88888b. 8888888 888 | |
888 888 888 "88b d8P Y8b 888 "88b 888 888 | |
888 888 888 888 88888888 888 888 888 888 | |
Y88b. .d88P 888 d88P Y8b. 888 888 888 888 | |
"Y88 88P" 88888P" "Y8888 888 888 888 "Y888P | |
888 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Main extends Sprite | |
{ | |
var sprs:Array<Sprite> = []; | |
public function new() | |
{ | |
super(); | |
// Assets: | |
// openfl.Assets.getBitmapData("img/assetname.jpg"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package; | |
import haxe.Timer; | |
import openfl.display.Sprite; | |
import openfl.Lib; | |
import openfl.events.Event; | |
/** | |
* ... | |
* @author ryzed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static function createBullet(src:V3, dst:V3, speed:Float, offY:Float = 0.5):GO | |
{ | |
var dir = dst - src; | |
dir.normalize(); | |
var go = new GO(); | |
var pos = go.transform.pos; | |
pos.from(src); | |
pos.y += offY; | |
go.transform.pos = pos; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class BulletScript extends Script | |
{ | |
public var dir:V3 = new V3(); | |
public var speed:Float; | |
function new() | |
{ | |
// empty, for init members | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inline static function collidePolys(a:Array<V3>, b:Array<V3>):Bool | |
{ | |
var MPOS = Math.POSITIVE_INFINITY; | |
var MNEG = Math.NEGATIVE_INFINITY; | |
var result = true; | |
var aLen = a.length; | |
var bLen = b.length; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inline public static function calcDists(path:Array<V3>):Array<Float> | |
{ | |
var pp = path[0]; | |
var pd = 0.0; | |
return LambdaMacro.mapa(path, { var d = V3.dist(_, pp) + pd; pp = _; pd = d; d; } ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AA | |
{ | |
public var x:Float; | |
public var y:Float; | |
inline public function new(x:Float, y:Float) | |
{ | |
this.x = x; | |
this.y = y; | |
} |
NewerOlder