0.2.9 • Published 5 years ago

os2d v0.2.9

Weekly downloads
2
License
UNLICENSED
Repository
github
Last release
5 years ago

OS2D

A JavaScript game engine

Demo

Features

  • Linked Box2D (Use GameObject.ySpeed, GameObject.speed.y or PhysicsBody.body.getLinearVelocity().y)
  • Cross-platform
  • GameObject
    • Holds position and rotation
    • Components (ShapeRenderer, Collider, PhysicBody, etc)

      • Components are used to add functionality to GameObjects
      • Components have complete control over a GameObject in order to perform different functions
  • Shapes (Circle, Rectangle, RegularPolygon)
    • Shapes are immutable and can be reused on different components, such as ShapeRenderer and Collider
  • Serializable to JSON
    • Whole heirarchy Game->GameObject->Component->Shape->Point
    • Can serialize event listeners to JSON
    • "Smart Serialize"

      • Will output an object {json: "", functions: ""}
        • functions contains a string that has valid JavaScript code for you to paste in your code
      • Can create variables that are reused throughout the JSON
      • Variables will compress the end result JSON as any matchin Points or Shapes are reused -To decompress use "os2d.deserializeVariables(deserializeJSON, functions)"
0.2.9

5 years ago

0.2.8

5 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago