FEZ
A lua library that helps you create component based projects inspired by Artemis.
Install / Use
/learn @perky/FEZREADME

FEZ
A lua library that helps you create component based projects.
About
Lua Entity System is a lua library to help you get started with component based programming.
In component based programming, entities are made up of components, the entity itself is just a number that identifies a collection of components. The components hold the data and do the logic.
In the Lua Entity System, there are four kinds of classes:
- Attributes
- Aspects
- Controllers
Entities are simply a unique integer. FEZ has a class called EntityManager which you use to create new entities and to tie attributes to entities.
Attributes are the components that make up your game objects. They are containers for data and nothing else.
Aspects are a collection of attributes. When a new entity is created with a certain set of attributes it is added to the aspect.
Controllers contain all the logic of your game. You give controllers an aspect and they update all entities with this aspect.
Yak-Man Example
To get a better idea about how FEZ works take a look a the Yak-Man Example. You will need LÖVE to run the example, but just looking over the source can help. You can download LÖVE at http://love2d.org The example is a work in progress.
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
