Tilky Engine · published · build 26428694
This is update is a turning point for the engine. Before, when somebody asked me if they should use this engine I would tell them "You should wait a bit more until it is more stable and has more features" But with this update I am confident that Tilky Engine has matured enough to support making a full game.
We are switching to SemVer. So versions will be MAJOR.MINOR.PATCH with MINOR and PATCH versions having backwards comptability.
This also means from now on the engine will support backwards comptability.
We have a WIki Page that includes a text guide on how to get started with the engine and also has the documentation for the Lua API. We also have video tutorials on how to use the engine!
Our contributors are active on Discord and eager to answer your questions as well!
An event is something that happens, and a dispatch is what it does in response. Together they cover doors, keys, lifts, switches, pickups and more, with no scripting. For example on an entity you can attach "On Sector Change" event, and then connect it to a "Teleport Entity" dispatch so whenever the entity changes sector it teleports a designated location. You can further customize the event by making it so it only triggers when the new sector has a specific tag and you can customize the dispatch by selecting a position.
Events: collisions, triggers, rays, timers, key presses and releases, UI buttons, level start, conditions becoming true, entities landing in a sector, moving floors and ceilings finishing, and monster AI.
Dispatches: Door, Lift, Move to Height, Raise Stairs, Teleport, Set Light, Light Effect, Set Field, Set Sprite, Set UI Text, Add / Remove Tag, Change Velocity, Change Variable, Play Sound, Show Message, Emit Particles, Load Level and more.
Doors: five door types, separate floor and ceiling movement, and locks that check the tags of whoever opens them.
Lifts and stairs: Down-Wait-Up, Up-Wait-Down and Perpetual lifts, plus Doom-style rising stairs.
Light effects: Flicker, Strobe, Glow and Fire Flicker.
One-click tools: Make Door, Make Lift and Make Teleporter.
Flow control: chain dispatches with targets, conditions and waits, and give any dispatch a delay or cooldown.
Event options: chance and trigger limits on events.
Variables: level and global variables that can be shown directly on the HUD.
Linedefs: invisible lines on the map that fire events, with no collision and no need to split a sector.
Typed rays: the player gets a built-in Use key, and objects can respond to Interact, Bullet, Line of Sight or Custom rays.
Connections: event tags and named dispatches for wiring a switch to whatever it controls.
A new project template for making a Doom-style game by dragging prefabs onto a map. Choose it when you create a project.
16 enemies, 9 weapons, pickups, keys, switches, menus and a HUD.
Kicking and grenades that work with any weapon.
Blood stains, liquid splashes, gibs and blood on the screen, with a gore setting in the Options menu.
Four example levels, a blank starting level and a gallery of every prefab.
Art and sound from Freedoom, plus CC0 music.
The kit comes with Make a Doom-Style Game, a new step-by-step guide for complete beginners. No programming needed. Later chapters show how to change the enemies, weapons, pickups and UI.
Pathfinder component: Doom-style chasing with no baked navigation data. Defaults behave like Doom, and every number can be changed.
Monster AI component: looking, chasing, attacking, infighting, sound alerts, health, knockback and death, with walk, attack and die animations.
Monsters can open doors, and walls can block pathfinders or sound.
New events, dispatches and Lua functions let you hook into all of it.
New Particle Emitter component that can throw hundreds of small images.
Particles can leave stains on walls, floors and ceilings, and the stains ride along on doors and lifts.
Looping, plus a Play and Stop preview in the runtime editor.
Animated surfaces: walls, floors and ceilings can play texture animations in Loop, Ping-Pong or Once mode, with timing and offsets per frame.
Texture scale: scale 1 now follows the image's pixel size, so textures keep their proportions without hand tuning. Texels Per Unit is a project setting.
Distance light: control how surfaces darken with distance, per level, in World Settings.
Capsule colliders, and proper AABB physics for box colliders.
Colliders now scale with the entity's Transform.
Steep slopes act as walls, and slope strength is set in true degrees.
Fast objects no longer tunnel through walls, with an adjustable sub-step limit in World Settings.
Smoother stepping up stairs.
MP3, OGG and FLAC support alongside WAV.
Per-level music playlists in World Settings with Once, Loop, Ping-Pong and Shuffle modes, volume, fades and gaps.
Music keeps playing across levels that share a playlist.
A new Music API for Lua.
UI Button: clickable UI that uses the event system.
UI layouts: reusable .uilayout assets for HUDs and menus.
UI Text: Show Variable displays a variable with a prefix and suffix, no script needed.
UI Sprite: colour tint, solid colour rectangles and a Draw Order setting.
UI Editor: move and resize handles, snapping with guide lines, multi-select, undo and redo, and right-click creation.
Show Message: style messages with anchors, boxes, textures, shadows, outlines and fades in World Settings.
public function for calling one script from another.
Invoke, InvokeReal, InvokeFrame and InvokeRepeating for delayed and repeating calls.
GameTime.timeScale for slow motion and pausing.
Saving for values that stay after the game closes, such as progress and options.
Add tags, components and scripts at runtime, and create entities from prefabs.
New APIs for sectors, walls, the sky, pathfinding and quitting the game.
Entities can be disabled and enabled.
Persist Between Levels keeps an entity, its scripts and its data across level changes.
The project's Levels list sets the level order, and Load Next Level follows it.
Undo and redo: one shared history across the 2D and runtime editors, kept when you press Play.
Command Palette: search every editor action with Ctrl + Shift + P.
Rebindable keys: change every editor key and shortcut.
Inspector: one inspector for every object, reached by right-clicking in any 2D mode, with collapsible components.
Tag Explorer: see everything that uses a tag.
Comments: pin notes to the map, or to walls, sectors, linedefs and entities.
Selection: paint selections with a brush and save selection groups.
View modes: brightness, floor height, ceiling height and room height, with rooms too low for the player shown in red.
Grid tools: move the grid origin, align the grid to a wall, set a grid colour and add a background texture.
Textures: drag them onto the 2D map, copy and paste between surfaces, flood fill and auto align.
Entities: snap to walls, point at the cursor, and move along with a dragged sector.
Linking: drag sectors and walls from the map into reference fields.
OBJ export: export a whole level or a selection, with textures.
Auto save: saves the open level in the background at an interval you choose.
Runtime editor: docking, wireframe view, Gravity Mode and Esc to release the mouse.
Asset Browser: copy, cut, paste, duplicate and Open In Explorer.
Map display: cursor coordinates, wall length and angle, and the camera position is remembered.
Create Project now has a template menu, with Blank, the Classic FPS Kit and a button that installs the Showcase.
Export Game now runs in the background, with a progress bar, so you can keep working while it finishes.
The eleven showcase levels have been rebuilt with events and dispatches. Open a level in the 2D editor, and comments pinned to the map tell you which events to look at. Lua scripts are now only used for what events don't do, such as time of day and shooting.
The new beginner's guide.
New wiki pages for Invoke, Monster AI, Particle Emitter, Pathfinder, Saving and Loading, and UI Button, among others.
Rays hitting sloped surfaces.
Switching between levels.
Save and quit.
Many smaller editor and standalone build fixes.
Particles stay between editor level changes
Stepping up sectors sometimes looks glitchy if the ceiling is not high enough
Come share what you're making, report bugs and suggest features on our Discord. If you'd like to support the engine, you can do so on GitHub Sponsors or Ko-Fi.
Thanks for using Tilky Engine!