Open source tile game engine
WAV ,. OGG , and. MP3 audio files. Import maps and resources. Manipulate Lighting and Entities, then admire the results directly in-engine. TMX format. Subscribe to entity events and send messages amongst entities.
Control entity animation, movement, and behaviour with EntityControllers. UI Framework Manage multiple game and menu screens. Improve the user experience with highly customizable GUI components. Particle Framework Enhance your 2D graphics by rendering dynamic special effects. Emit particles as filled or outlined shapes, images, animated sprites, or even text.
Now the program must be built to produce an executable. Open a console window in the C samples folder and type the suitable command for your platform:. Tilengine is just a programming library that doesn't come with any editor, but the files it loads are made with standard open-source tools.
Samples come bundled with several ready-to-use assets, but these are the tools you'll need to edit or create new ones:. To create a package with all the assets, the add-on tool ResourcePacker must be used. It's a Windows command-line tool that creates packages with files keeping the same directory structure. Tilengine has built-in support for loading assets from these packages just as if they still were stand-alone files.
Skip to content. Star Branches Tags. Could not load branches. Tilengine is released under the MPL Tilengine is written in portable C99, without dependencies on any OS or third-party proprietary component. Tilengine is high-speed native code. Tilengine can be easily embedded inside other game engines as a slave renderer on an user-provided video surface.
Tilengine has a very lean API, designed to be easy to learn but yet get impressive results with very little lines of code. Several types of blending available for mixing, lighting or shadow effects for layers and sprites. The following snippet illustrates how easy is to use Tilengine in your program. It initializes the engine at x resolution, with one background layer, no sprites and no animation slots.
Then loads a map in Tiled TMX format, attaches it to the layer, and finally creates a display window and does a main loop until the user closes the window.
Here are some short clips of programs and samples powered by tilengine. To watch more working examples, please visit the official youtube channel.
0コメント