Release 2.9.1 - Sprite pivot & layer enable
Custom sprite pivot
This update introduces an useful feature: the ability to set the sprite's pivot position with TLN_SetSpritePivot. Until now it was always fixed to top-left corner and scaled from the center, but now it can be set freely inside its bounding rect. This pivot point sets the exact placement and scaling source. For gameplay configurations that use some kind of 3D projection -like 3/4 or racing roads-, it's much more natural to pivot sprites at the bottom middle, where the "ground" is:
http://www.tilengine.org/doc/md_sprites.html#autotoc_md93
- Left: default pivot at top left
- Right: custom pivot at bottom center
Quick layer enable
Another enhancement on this update is that a layer can be enabled again with TLN_EnableLayer after it has been disabled with TLN_DisableLayer, as long as it was previously configured
http://www.tilengine.org/doc/md_layers.html#autotoc_md39
Files
Get Tilengine
Tilengine
2D retro grapics engine with true raster effects for creating 8/16 bit style games
Status | Released |
Category | Tool |
Author | megamarc |
Genre | Educational |
Tags | 16-bit, 2D, 8-Bit, Arcade, Game engine, Retro, sprites, Tilemap based tools |
Languages | English |
More posts
- Release 2.9.0 - World mode28 days ago
- Release 2.8.5 - Small bugfixesAug 07, 2020
- Apple OSX build availableMay 16, 2020
- Release 2.8.4 - Simplified APIMay 14, 2020
- Release 2.8.2 - Enhanced TMXMay 09, 2020
- Release 2.8.0 - revamped animation engineMay 03, 2020
- Release 2.7.0 - sprite list order & sprite maskingApr 26, 2020
- Release 2.6.0 - Enhanced asset loaderApr 22, 2020
- Release 2.5.0 - Image-based tilesets for object layersApr 16, 2020
Leave a comment
Log in with itch.io to leave a comment.