dtilengine 0.1.0

Binding for Tilengine a 2D graphics engine with raster effects for retro/classic style game development


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

dtilengine

D binding for Tilengine a 2D graphics engine with raster effects for retro/classic style game development.

Download

DUB

dub add dtilengine

Example

import dtilengine;

void main() {
    TLN_Tilemap foreground;

    TLN_Init(400, 240, 1, 0, 0);
    foreground = TLN_LoadTilemap("assets/sonic/Sonic_md_fg1.tmx", null);
    TLN_SetLayerTilemap(0, foreground);

    TLN_CreateWindow(null, 0);
    while (TLN_ProcessWindow()) {
        TLN_DrawFrame(0);
    }

    TLN_DeleteTilemap(foreground);
    TLN_Deinit();
}

References

License

This repo is released under the MPL-2.0.

Authors:
  • XXIV
Dependencies:
none
Versions:
0.1.1 2023-Feb-21
0.1.0 2023-Feb-20
~main 2023-Feb-21
Show all 3 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 9 downloads total

Score:
0.3
Short URL:
dtilengine.dub.pm