GithubHelp home page GithubHelp logo

bhanditz / logi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from justpinegames/logi

0.0 2.0 0.0 1.03 MB

AS3 HUD/Console logging library built on top of foxhole-starling.

License: MIT License

CSS 0.46% JavaScript 63.84% HTML 8.38% ActionScript 27.33%

logi's Introduction

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);

logi's People

Contributors

tpodhraski avatar vkrajacic89 avatar ekeeper avatar wrench7 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.