Commit Graph

4463 Commits

Author SHA1 Message Date
Joshua Granick
3b9ca3a770 Fixes for vdynamic return types 2019-03-14 12:34:08 -07:00
Joshua Granick
a482c14d5c GL binding fixes 2019-03-14 10:15:00 -07:00
Joshua Granick
533dcf82a4 Fix HL on Mac 2019-03-14 08:58:17 -07:00
Joshua Granick
8d72e71357 HL update 2019-03-13 11:13:19 -07:00
Joshua Granick
84694f104c HL string fix 2019-03-12 17:05:19 -07:00
Joshua Granick
299ed974c7 Fixes for HL 2019-03-12 15:57:19 -07:00
Joshua Granick
d55762569d Add template for HL Windows 2019-03-12 15:57:09 -07:00
Joshua Granick
1bd480fc29 Delete buffer on native audioSource.dispose() if present 2019-03-12 09:50:24 -07:00
Joshua Granick
b9bdf3479b Flash compile fix, format update 2019-03-11 15:30:36 -07:00
Carlos Madrazo
54a52c9b81 Add define NATIVE_TOOLKIT_SDL_ANGLE, seems to fix winrt release 2019-03-11 08:56:45 -07:00
Carlos Madrazo
3a075cc247 Enable cairo for winrt
DisplayingABitmap works when compiling with

lime rebuild winrt -static -Dcairo -debug -m64

openfl test project.xml winrt -static -Dcairo -debug

And adding a Sys.sleep(1); in openfl/assets/templates/haxe/ApplicationMain.hx, before var result = app.exec ();
2019-03-11 08:56:45 -07:00
Carlos Madrazo
d1cd3be686 tools fix 2019-03-04 06:56:40 -08:00
Carlos Madrazo
125840589f Initial CPP winrt -static
Runs but no bitmap is displayed when testing with DisplayingABitmap. You can attach VS2017 debugger (Debug Installed App Package).

lime rebuild tools
lime rebuild winrt -static
in DisplayingABitmap:
openfl test project.xml winrt -static
2019-03-04 06:56:40 -08:00
Joshua Granick
00e3c85b58 Add entry class to non-template displalay command 2019-02-28 11:58:38 -08:00
Joshua Granick
44bf137f9b Improve 'lime display' when templates have not been processed 2019-02-26 14:01:45 -08:00
dpomier
2fd940239f Keep smoothing enabled by default 2019-02-21 11:27:16 -08:00
Joshua Granick
a445e62030 Allow Android applications to manage back button 2019-02-14 13:28:05 -08:00
Joshua Granick
290c2912a3 Fix incorrect SDL init 2019-02-14 13:24:21 -08:00
Joshua Granick
dfe3d27f57 Update Haxe formatter, run again 2019-02-14 09:40:22 -08:00
Joshua Granick
5eb13042d9 Template fix 2019-02-14 09:09:39 -08:00
Joshua Granick
0c163a80e7 Use formatter for all Haxe code 2019-02-14 08:41:20 -08:00
Joshua Granick
b4afa14a13 Docs fix in Application 2019-02-14 08:30:52 -08:00
Joshua Granick
7140576b83 Update Haptic.hx 2019-02-14 08:22:25 -08:00
miltoncandelero
1e40f17ba0 Haptic support on HTML5
Haptic support for HTML5 via Navigator.vibrate (https://developer.mozilla.org/en-US/docs/Web/API/Vibration_API)

---

**note:**

w3c spec says to vibrate on even elements of the pattern and android waits on even elements.

**w3c**
> If the index of time is even (the first entry has index 0), vibrate the device for time milliseconds.

https://w3c.github.io/vibration/

**android**
> The first value indicates the number of milliseconds to wait before turning the vibrator on. 

https://developer.android.com/reference/android/os/Vibrator.html#vibrate(long[],%20int)


The code has a line that adds a zero to the pattern to make the html5 behavior match the android behavior.
2019-02-14 08:22:25 -08:00
Joshua Granick
cac82509da Add support for embedded JS dependencies (embed Lime dependencies by default) 2019-02-12 13:30:07 -08:00
Joshua Granick
3e9f875eaf Process JS using template, add support for unique statics in repeat lime.embed calls 2019-02-12 13:14:40 -08:00
Joshua Granick
d9dbea7f6b Try a hidden ApplicationMain.hx file instead 2019-02-07 16:43:42 -08:00
Joshua Granick
a6fbbe7257 Add hidden ApplicationMain macro for better code completion on new targets 2019-02-07 12:58:54 -08:00
Joshua Granick
33548982ec Ignore C++ submodules in VS Code 2019-02-07 12:58:13 -08:00
Joshua Granick
864dcf74cc Set length on cURL write 2019-02-06 11:38:50 -08:00
Joshua Granick
f37ba6f3d2 Minor fix 2019-02-06 01:43:19 -08:00
Joshua Granick
964242ae14 Use consistent data type for application frame updates 2019-02-06 01:43:04 -08:00
Skerper
c69f483757 Remove alphaview offset
Offset was causing alpha bitmap to be misaligned
2019-02-05 20:40:11 -08:00
Skerper
4595ac7d80 Remove offset from alpha image
Offset was causing the alpha image to be misaligned
2019-02-05 20:40:11 -08:00
Jens Fischer
ee0c4a88c9 Hide __ASSET__ classes with @:noCompletion 2019-02-05 20:39:12 -08:00
Joshua Granick
ba6cc18fee Clean up Haxe XML Fast/Access imports 2019-01-22 15:01:09 -08:00
Joshua Granick
820686f110 Compile fix 2019-01-21 13:16:11 -08:00
Joshua Granick
07a57d9548 Update howler.js to 2.1.1 (resolve #1279) 2019-01-21 12:36:36 -08:00
Joshua Granick
ed7cf4fbb7 Queue the Multi thread again if there's a pending request in the queue (#1276) 2019-01-21 12:32:53 -08:00
Joshua Granick
e582f8f6b4 Use thread to speed up cURL Multi in native HTTPRequest (resolve #1276) 2019-01-18 10:52:55 -08:00
Joshua Granick
0c73e47b28 Minor cleanup in CURLBindings 2019-01-18 10:51:42 -08:00
Joshua Granick
ac7b0914b9 Fix types for events in ThreadPool 2019-01-18 10:51:18 -08:00
Joshua Granick
b9f62558fb Minor AndroidPlatform fix when using ARMv5 or ARMv6 only 2019-01-17 12:40:05 -08:00
Thomas Byrne
e7ec14795e NPM package.json name property can't have non-URL safe characters, so it's more suited to using the 'packageName' than the 'title'.
This also helps when using tools like electron-packager, which use the package name as a folder name.

Spec:
https://docs.npmjs.com/files/package.json
2019-01-17 00:12:09 -08:00
Joshua Granick
4bd853dfb1 Static build fix (resolve #1278) 2019-01-11 20:41:12 -08:00
Joshua Granick
4f5c9a0987 Don't init audio if unused 2019-01-11 16:08:01 -08:00
Joshua Granick
f32311e2fd Update to SDL 2.0.9 2019-01-11 16:07:35 -08:00
Joshua Granick
fe6548d791 HL fixes 2019-01-10 11:43:47 -08:00
Joshua Granick
9e078204a7 Add workaroudnd for onDropFile behavior on HTML5 (for now) 2019-01-09 12:05:16 -08:00
Lars Doucet
dcd09eb74a fix compiling on mac (#1277)
* fix compiling on mac

* Update ExternalInterface.cpp
2019-01-09 11:23:48 -08:00