mirror of
				https://github.com/flame-engine/flame.git
				synced 2025-10-31 08:56:01 +08:00 
			
		
		
		
	 d1777b7a9e
			
		
	
	d1777b7a9e
	
	
	
		
			
			This PR addresses the concerns in https://github.com/flame-engine/flame/issues/3488 For convenience, here is the relevant text. > It is a fairly common feature for a game to "type out" dialogue within a TextBoxComponent (as the behavior would be if timePerChar > 0, but also allow the user to skip that type-out effect, and display the dialogue in its entirety (as the behavior would be if timePerChar == 0). This PR implements a setter for TextBoxComponent.boxConfig, allowing for the TextBoxConfig to be changed after TextBoxComponent is instantiated. The `_boxConfig` has been made non-final to allow this field to be modifiable. Additionally, a `skip` method is implemented which more explicitly provides the intended skipping behavior. --------- Co-authored-by: Lukas Klingsbo <me@lukas.fyi>
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.