Skip to content

Instantly share code, notes, and snippets.

View bmfs's full-sized avatar
🚀
to infinity and beyond

Bruno Santos bmfs

🚀
to infinity and beyond
View GitHub Profile

Keybase proof

I hereby claim:

  • I am bmfs on github.
  • I am bsantos (https://keybase.io/bsantos) on keybase.
  • I have a public key ASAzHF7nljqJrTGCF9bLNoBmdjmkjJzQPCaXUolU1QX-nwo

To claim this, I am signing this object:

@bmfs
bmfs / BaseTest.as
Created February 12, 2016 13:27 — forked from anonymous/BaseTest.as
as3 calling overrided function super, makes function public
package {
import haxe.Log;
public class BaseTest {
public function BaseTest() : void {
}
protected function functionToOverride() : void {
(haxe.Log._trace)("BaseTest::functionToOverride",{ fileName : "Main.hx", lineNumber : 10, className : "BaseTest", methodName : "functionToOverride"});
}
@bmfs
bmfs / URLVariablesLoaderTest.hx
Last active October 8, 2015 18:53
Load image generated from a url with url variables. It works correctly in Flash Target and fails on HTML5 (openfl 3.3.8)
package;
import openfl.display.Loader;
import openfl.display.Sprite;
import openfl.events.Event;
import openfl.net.URLRequest;
import openfl.text.TextField;
class URLVariablesLoaderTest extends Sprite {
@bmfs
bmfs / Main.hx
Last active February 21, 2017 23:07
Luxe: Load image from url
import luxe.Input;
import luxe.Sprite;
import luxe.Vector;
import snow.system.assets.Asset;
import snow.types.Types;
class Main extends luxe.Game {
override function ready() {