Giter Club home page Giter Club logo

matomaster / starlingpunk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from asaia/starlingpunk

0.0 2.0 0.0 748 KB

StarlingPunk is a framework built on top the Starling library designed to add structure and organization to your 2D game projects. It’s perfect for rapidly prototyping ideas and promotes code reuse between projects. As you may have been able to tell from the name, StarlingPunk is heavily inspired by the popular FlashPunk framework, although its not a direct port.

License: MIT License

starlingpunk's Introduction

StarlingPunk

###Update Version 1.5 Change Log

  • added mouseX, mouseY and mouseWheelDelta support to SPInput

###Update Version 1.4 Change Log

  • added Starling's new AssetManager class to SP for easy access
  • updated to starling 1.3
  • added behavior system
  • laid ground work for debug console
  • several performance optimizations partially when getting an entity's width/height

###Update Version 1.3 Change Log

  • created SPCamera class!!!!
  • added crazy experimental camera zoom and rotation abilities to platformer example
  • rebuilt SPTilesets to support massive amounts of tiles
  • SP class now has elapsedTime variable to write framerate independent code
  • fixed bug in SPWorld removeAll class so it actually removes all
  • added dispose flag to SPWorld
  • cleaned up and removed a couple old unused classes

###Update Version 1.2 Change Log

  • fixed issues with entities hit box collision
  • hit box size wasn't being factored in by pixelMask
  • ported some more properties and methods for hit boxes from flashPunk
  • changed class names to reflect StarlingPunks naming convention

###Update Version 1.1 Change Log

  • Tilemap support
  • Ogmo editor intergration
  • Collision Mask support
  • Grid collision
  • Pixel Mask collision
  • Fixed bug with type only getting set when pass through entity constructor
  • added support for entity depth layers
  • added collideTypes method to entity class
  • misc bug fixes/performance improvements

###Future release plans:

  • Port Camera class
  • Extension for box2D Physics Library
  • Component based behavior system sorta like Unity3D
  • Helper functions for sound effects

Check out the examples that come with StarlingPunk: http://andysaia.com/blog/starlingPunkTilemaps/starlingPunk-example.html


###What is StarlingPunk:

StarlingPunk is a framework built on top the Starling library designed to add structure and organization to your 2D game projects. It’s perfect for rapidly prototyping ideas and promotes code reuse between projects. As you may have been able to tell from the name, StarlingPunk is heavily inspired by the popular FlashPunk framework, although its not a direct port.

Why StarlingPunk:

  • Easily encapsulate code into worlds and entities
  • Manages collections of entities based on assigned types
  • Fast and easy collision detection system
  • All the power of starling performance, sprite sheets, particles, mobile development

Why build this on top of Starling:

  • Best of both worlds allowing us to mix and match regular Starling code with FlashPunk like organization.
  • Fast Stage3D hardware accelerated graphics
  • Provides a familiar structure for Actionscript developers
  • Harness the power of the display-list, worlds and entities extend the starling sprite class meaning display objects can be nested within them
  • Pre-existing Starling code can easily be incorporated into the framework
  • Starling already does a ton of things right, sprite-sheet animation, events, dynamic resolutions
  • Tons of tools and extensions will already work, like sprite-manager and particles

Planned future releases:

  • Integration with the Nape physics library
  • Helper functions for sound effects
  • Port Debug console

starlingpunk's People

Contributors

asaia avatar

Watchers

James Cloos avatar Matias P. 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.