Skip to content

docs: Add flame_with_coroutines example#4

Merged
kerberjg merged 3 commits intokerberjg:mainfrom
luanpotter:luan.example
Oct 19, 2025
Merged

docs: Add flame_with_coroutines example#4
kerberjg merged 3 commits intokerberjg:mainfrom
luanpotter:luan.example

Conversation

@luanpotter
Copy link
Contributor

Add an example of using coroutines + Flame. A basic flame game with random squares that, when clicked, use co-routines to change colors. This is the simplest visual example I can think of.

I am slowly to exploring more possibilities of examples (including adding a component mixin that deals with variable time frames) at https://github.com/luanpotter/flame_coroutines/

@kerberjg
Copy link
Owner

@luanpotter Can you please rebase on latest main and push again? I added CI checks for example code

Also please add your example folder name in .github/workflows/examples.yaml line 20 🫶

@luanpotter
Copy link
Contributor Author

@kerberjg the base example setup won't work because it is not setting up flutter - would it be ok if I change it to setup flutter alongside dart? or would you rather I create a different github action for it?

Copy link
Owner

@kerberjg kerberjg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luanpotter CI should be fixed now! ✨ rebase and run again 🤗

@luanpotter
Copy link
Contributor Author

I suspect the globs are not working: #7

@kerberjg
Copy link
Owner

@luanpotter

@kerberjg kerberjg merged commit d34ccb5 into kerberjg:main Oct 19, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants