Giter Site home page Giter Site logo

yhuiyang / andenginelimbo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nazgee/andenginelimbo

0.0 2.0 0.0 89 KB

Collection of arbitrarily chosen features that are generic enough to be AndEngine extension, but not good enough to make it to the core

Java 100.00%

andenginelimbo's Introduction

AndEngineLimbo

Collection of arbitrarily chosen features that are generic enough to be AndEngine extension, but not good enough to make it to the core Only GLES2-AnchorCenter branch of AE is supported!

Positioner

Allows relational positioning of two entities. First one is used as an anchor (immovable), and the other one will be posiioned (movable).

  • positioning one Entity inside of another (most of common cases)
  • positioning one Entity outside of another (most of common cases)
  • positioning with translation
  • supports rotated Entities (both movable, and immovable) but it works best for right angles (0,90,180,270)
  • Enitites do NOT need to be children of same parent (can be attached to other Entites)
  • Enitites MUST share the same Scene

Example usage: PositionerSmart.getInstance().center(this, rectWhite); PositionerSmart.getInstance().center(rectWhite, rectRed); PositionerSmart.getInstance().placeLeftOfAndCenter(rectWhite, rectGreen); PositionerSmart.getInstance().alignTopEdgesAndCenter(rectGreen, rectYellow); PositionerSmart.getInstance().placeBelowOfRightsAligned(rectWhite, rectBlue); PositionerSmart.getInstance().placeRightOfAndCenter(rectWhite, rectCyan); PositionerSmart.getInstance().placeBelowOfRightsAligned(rectCyan, rectPink); PositionerSmart.getInstance().alignBottomLeftEdges(rectWhite, rectBlack, 5, 5)

origin: http://www.andengine.org/forums/features/positioner-t11930.html

GradientFonts

Whole infrastructure to simplify creation of gradient-coloured fonts (stroked and regular)

origin: http://www.andengine.org/forums/gles2/gradient-to-font-t7948.html#p34667

andenginelimbo's People

Contributors

nazgee avatar

Watchers

YH Yang avatar James Cloos 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.