Giter Site home page Giter Site logo

yubingxing / actionscript-toolkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from richardlord/actionscript-toolkit

0.0 2.0 0.0 72 KB

Various bits of useful Actionscript code that I've released in the past, grouped together in one place.

Home Page: http://www.richardlord.net/

actionscript-toolkit's Introduction

A random collection of useful code

This project contains various useful Actionscript code from my blog

Included

  • Key Poll – for checking if any key is down or up at a specific time.
  • Finite State Machine – A simple finite state machine for Actionscript 3 games.
  • Weak Ref – creates a weak reference to an object.
  • Object Pool – a simple object pool for any and all object types.
  • Singleton – a simple factory to create and maintain a single instance of any class or classes.
  • Function Utils – utilities to modify a function signature.
  • Math Utils – utilities for changing between degrees and radians and for getting random numbers.
  • Construct – a function to call the constructor of a class (function.apply can’t be used to call the constructor).
  • Hit Test – performs collision checking between two display objects by drawing them into a bitmap and checking for an overlap.

License

All code is covered by the MIT open-source license. The license text is included at the top of each source code file.

actionscript-toolkit's People

Contributors

richardlord avatar

Watchers

 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.