- new Parcel implementation
- update options and creation options for all new resource types and settings
- initial work toward parcel diff loading
- add parcel event endpoints, for
progress
,complete
,failed
events - added ParcelChange type for information on progress or failure events
- added
length
properties for counting resources - added
state
, forunloaded
loading
loaded
- added
listed
which returns an array of resource id's in the parcel - added
loaded
which returns an array of resource id's that are loaded by this parcel
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
import snow.api.buffers.Uint8Array; | |
import snow.modules.opengl.GL; | |
//.... | |
override function onkeyup( e:KeyEvent ) { | |
if(e.keycode == Key.key_h) { |
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
//SDL2 flashing random color example | |
//Should work on iOS/Android/Mac/Windows/Linux | |
#include <SDL.h> | |
#include <SDL_opengl.h> | |
#include <stdlib.h> //rand() | |
static bool quitting = false; | |
static float r = 0.0f; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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 ; | |
//Adapted from code by Grant Skinner, see bottom of file. | |
//This is cut from https://github.com/underscorediscovery/luxe under MIT license | |
/** | |
Given an `initial` value for the seed, subsequent generated numbers will be predictable, | |
and the `seed` value updated to reflect the current seed which can be used to resume predictability | |
from an ongoing set. Uses a Park–Miller pseudo random number generator. |
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
> haxelib run haxelibcounter | |
HaxelibCounter.hx:69: haxelibcounter | |
HaxelibCounter.hx:76: > found args { any => true, length => 0, valid => [], invalid => [{ name => /Users/sven/dev/haxe-entry-point-example/, value => }] } | |
HaxelibCounter.hx:69: usage: | |
HaxelibCounter.hx:69: --count | displays the number of haxelib libraries installed | |
HaxelibCounter.hx:69: --show-names | must be specified with --count, lists installed haxelibs one per line |
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
// http://notes.underscorediscovery.com/haxe-from-1000ft | |
import android.util.Log; | |
import android.os.Bundle; | |
import android.app.Activity; | |
import android.util.Log; | |
import android.net.Uri; | |
import android.content.Intent; | |
@:nativeGen |
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 Basic { | |
static function main() { | |
trace('basic example'); | |
} | |
} |
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
base width will expand, | |
because of the last rule, | |
and not clamp to 100 from the second | |
:base { | |
left: >= 100; | |
width: >= 100; | |
right: screen.right; | |
} |
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
/* | |
notes : | |
- set to css for highlighting only, does not equate to css. | |
- wip, etc | |
---- | |
control markup | |
---- | |
*/ |