A flutter flame project I created for CoDev
A flutter flame project that spawns a ball and have it bounce around the screen.
codev_ball_video.mov
- The player should be able to create a small ball by clicking on the screen.
- Upon clicking the screen, a new ball should spawn at the click location and move in a random direction.
-
Balls should move at a constant speed.(edit: I misunderstood this, hoping current implementation is acceptable. Will update the repository in earliest free time)
-
If two balls collide, both should change their direction to the opposite.
-
Collision detection should work correctly even with multiple balls on the screen.
- If a ball moves outside the screen, it should be removed from the game.