mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-28 23:46:52 +08:00
This PR ensures that all component rebalancing operations are resolved from a single location, after the update stage but before the render stage (thus, components may get reordered during the update, and these changes will go into effect during the rendering step on the same game tick). This also fixes the problem where the child changing the priorities of its parent would cause a ConcurrentModificationError. A number of methods that were used to handle rebalancing are now marked as deprecated. From the user's perspective, the only API they should be using is the .priority setter.
Flame Examples
This is a set of small examples showcasing specific features of the Flame Engine; it's a great source of learning how to use certain things. See it live here.
This app is composed of a main menu in which you can select one of the examples and play with it. Each example is a standalone game and is contained within its own file, so you can easily checkout the code and see how it works.
For a very simple, but complete game in Flame, check the example folder inside the Flame package.
Help
If you have questions about this:
- Check the source code, the examples are meant to be simple, short, and easy to read.
- Check our extensive documentation, links to which can be found on the main repo (faq, docs folder, code/api docs, tutorials, flame-awesome).
- Join Blue Fire's Discord, we have a #flame channel where you can find lots of people to help and get help from.
- Use the
flametag on StackOverflow.