pixelPerUnit
-float
- (Default160.0
) - height in pixels of viewport vertically (horizontally adjusting based on screen ratio)offset.x
-float
- (Default0
) camera offset of left-bottom corner by horizontal axis in pixelsoffset.y
-float
- (Default0
) camera offset of left-bottom corner by vertical axis in pixelsgravitiy
-float
- (Default-1.0
) - acceleration pixels pers second each secondSystem.enable|disable
-string
enable or disable one of subsystem- Config no working
jump
- (enable by default) characters can jum - NOT IMPLEMENTED
slide
- NOT IMPLEMENTED
wall-jump
- NOT IMPLEMENTED
shoot
- NOT IMPLEMENTED
smart-ai
- Config no working
- NOT IMPLEMENTED
camera
Static / follow and other stuff - find way how to discribe it
#All Layers
scrollRatio
-float
- (Default1.0
)scrollRatio.x
- set relative scrolling speed to offset of screen horizontallyscrollRatio.y
- set relative scrolling speed to offset of screen verticallyscrollRatio
- set relative scrolling speed to offset of screen both dirrections
repeat
-string
- (Defaultrepeat
)repeat
repeated both vertically and horizontallyrepeat-x
repeated only horizontallyrepeat-y
repeated only verticallyno-repeat
not repeated. The layer will only be shown once and repead last pixel (or tile) to fill empty space
- NOT IMPLEMENTED
position
-string
- (Defaultleft bottom
)left top
-left center
-left bottom
-right top
-right center
-right bottom
-center top
-center center
-center bottom
-
-
onKey[event.key]
-string
-Move.south
|Move.west
|Move.east
|Move.north
|Fire
|Jump
or any other that supported by system -
ammo.(name).(id|tileset)
-int
:name
-string
- (default_
) - any name to reference inFire
actionid
-int
- (default0
) - relative tile idtilset
- (default0
) -firstgid
of tileset to which id is relative
-
NOT IMPLEMENTED
atomove.x
-float
- auto move by horizontal axis -
NOT IMPLEMENTED
atomove.y
-float
- auto move by vertical axis -
NOT IMPLEMENTED
cameraOffset
-Vec2
of%, float(px)
-
NOT IMPLEMENTED
onHit.[ID].loadLevel
-filename
-
NOT IMPLEMENTED
onClick.[ID].loadLevel
-filename
mass
-float
- (default1
) -
NOT IMPLEMENTED
Can be be assigned only to Tile-Object, and tile will be used as anim.idle.E.id
anim.(name).(direction).(id|tileset)
- Int
- Animation atlas
-
name
walk
- walk animationrun
- run animation (if not definedwalk
will be used)stand
|idle
- no movement aninmation (default animation of tile)jump
- jumping animationfall
- animation on fallhit
- got hit animationdie
- got killed animation
Advanced
land
- animation after landbefore_jump
- animation that take place befor jump (also freezes action for animation time)slide
dash
- air dash animation / hight speed (more than run)climbing
- sit on wallwall-jump
- jump out of wall
... More be added
-
direction
north
orN
- up (not used in platforme)north-east
orNE
east
orE
- rightsouth-east
orSE
south
orS
- down (not used in platforme)south-west
orSW
west
orW
- leftnorth-west
orNW
-
id
- TileID of animation -
tileset
- tileset name - default - same as tile-object
Info for feature work: https://medium.com/@porteneuve/mastering-git-subtrees-943d29a798ec - use that for levels
http://blogs.love2d.org/content/let-it-glow-dynamically-adding-outlines-characters -- Glow / characters under building
https://www.redblobgames.com/articles/visibility/ -- LIGHTS!!!
LOT OF SHADERS:https://www.raywenderlich.com/2323-opengl-es-pixel-shaders-tutorial