Skip to content

thechampagne/dtilengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages