AS3 HUD/Console logging library built on top of foxhole-starling.
JavaScript ActionScript HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
LogiDemo
src
.gitignore
LICENSE
Logi.iml
README.md

README.md

Logi

Introduction post

Logi is a small AS3 project which allows the user to display the trace on the screen as an overlay.

There are two modes of display:

  • Console - can be shown/hidden and looks like a regular commandline prompt
  • HUD - when the console is hidden, traces appear for a limited time on the screen.

Logi is built on top of Feathers so you’ll need that.

Simplest way to start using Logi is to include the Logi/src/ as a source path in your project.

Creating (in a Starling Sprite, after it’s added to stage):

var logConsole:Console = new Console();
this.stage.addChild(logConsole);

Showing the console:

var logConsole:Console = Console.getMainConsoleInstance();
logConsole.isShown = true;

Usage:

log(“Just like the good old trace... ”, 4, 8, 15, 16, 23, 42 );

Create with custom settings:

var settings:ConsoleSettings = new ConsoleSettings();
// Disable HUD display:
settings.hudEnabled = false;
var logConsole:Console = new Console(settings);
this.stage.addChild(logConsole);