Disable all rules ESLint (0)
, under Code snippets, JavaScript.
ESLint can be disabled by ignoring all JavaScript files using this rule in the .eslintignore file: **/*.js
, under Code snippets, JavaScript.
ESLint can be disabled by ignoring all JavaScript files using this rule in the .eslintignore file: **/*.js
, under Code snippets, Haxe.
This post is about grabbing conditional compilation values and print them in the output context using a macro function. Then we can use it at runtime.
, under Code snippets, Games, Haxe.
This is a post about a gameplay-element that affects how game objects can be triggered on a certain “heartbeat”. This relative simple component brings some interesting features.
, under Code snippets, Haxe.
Sometimes it helps to see things at very slow speed. You can use Flambe’s SpeedAdjuster to debug your game. I wrote a function that gives you control over the speed using [ and ] keys on your keyboard.
, under ActionScript, Code snippets.
If you want a fast random seed, you could use this very simple class.
, under Code snippets, JavaScript.
If you want to use strings as simple templates in javascript, you might want to use my template script. Read more to find out.
, under Code snippets, JSFL.
While playing with JSFL and trying to create a faster interface for my name it right.jsfl I stumbled across a very interesting function inside JSFL. There is a powerful function called fl.getDocumentDOM().xmlPanel which shows dialogs using .xml-files. Actually you could use XUL (XML User Interface Language), which kinda looks like a mix of HTML and Flex. If you need a GUI for your JSFL script, you can open a nice custom dialog using XUL.