Skip to content

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

License

Notifications You must be signed in to change notification settings

thechampagne/odintilengine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

odintilengine

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

Example

import tile "odintilengine"

main :: proc() {
    foreground: tile.TLN_Tilemap

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

    tile.TLN_CreateWindow(nil, 0)
    for tile.TLN_ProcessWindow() {
        tile.TLN_DrawFrame(0)
    }

    tile.TLN_DeleteTilemap(foreground)
    tile.TLN_Deinit()
}

References

License

This repo is released under the MPL-2.0.

About

Odin 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