Beef Language wrapper for Tilengine 2D Graphics Engine
Tilengine-Beef is a work in progress Beef wrapper library for Tilengine 2.8.0 2D graphics engine. It seems to be up and working for the most part, but there are bugs and not everything is working exactly as it should such as a few things like calling null to some functions. Below I have listed the things I can’t figure out how to get working right, so if anyone could take a look and help me out that would be much appreciated.
using Tilengine;
using TLN.Types;
using TLN.Enums;
using TLN.Data;
using System;
namespace TilengineTest
{
public static class Program : TLN
{
public static void Main()
{
Tilemap foreground;
Tileset tileset;
int frame = 0;
Init(400,240,1,0,20);
SetLoadPath("assets/sonic");
foreground = LoadTilemap("Sonic_md_fg1.tmx", null);
tileset = LoadTileset("Sonic_md_fg1.tsx");
SetLayer(0, tileset, foreground);
CreateWindow(null, 0);
SetWindowTitle("Tilengine-Beef");
while (ProcessWindow())
{
DrawFrame (frame);
frame += 1;
}
Deinit();
}
}
}
If you can make this work right please do!