Skip to content
This repository was archived by the owner on Dec 24, 2025. It is now read-only.

Comments

Add Ball entity and Ball, Brick physic/collision components#14

Merged
thnhmai06 merged 10 commits intomainfrom
feat/ball
Oct 22, 2025
Merged

Add Ball entity and Ball, Brick physic/collision components#14
thnhmai06 merged 10 commits intomainfrom
feat/ball

Conversation

@minngoc1213
Copy link
Contributor

Add FXGL physic and collision for ball and brick

@minngoc1213 minngoc1213 requested a review from thnhmai06 October 15, 2025 09:14
@minngoc1213 minngoc1213 self-assigned this Oct 15, 2025
minngoc1213 and others added 3 commits October 15, 2025 16:15
# Conflicts:
#	src/main/java/com/github/codestorm/bounceverse/Bounceverse.java
#	src/main/java/com/github/codestorm/bounceverse/factory/entities/BrickFactory.java
#	src/main/java/com/github/codestorm/bounceverse/systems/physics/CollisionSystem.java
Introduce AnchorPoint enum for common anchor points on Rectangle2D. Refactor BallFactory to use default values for ball properties and improve entity spawning logic. Update collision handling in PhysicSystem for better interaction between entities.
Copy link
Member

@thnhmai06 thnhmai06 left a comment

Choose a reason for hiding this comment

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

LGTM!! Now game can run!

@thnhmai06 thnhmai06 changed the title Feat/ball Add Ball entity and Ball, Brick physic/collision components Oct 22, 2025
@thnhmai06 thnhmai06 merged commit efeb088 into main Oct 22, 2025
6 of 8 checks passed
@thnhmai06 thnhmai06 deleted the feat/ball branch October 22, 2025 09:44
ManhTanTran pushed a commit that referenced this pull request Oct 22, 2025
* feat: add game context and ball entity

* feat: generate brick and ball, add simple collision

* feat: apply FXGL physic

* feat: spotlessApply

* chore: delete empty file `CollisionSystem.java`

* refactor: update branch with new project structures

Introduce AnchorPoint enum for common anchor points on Rectangle2D. Refactor BallFactory to use default values for ball properties and improve entity spawning logic. Update collision handling in PhysicSystem for better interaction between entities.

---------

Co-authored-by: Mai Thành <62001770+thnhmai06@users.noreply.github.com>
@thnhmai06 thnhmai06 restored the feat/ball branch October 27, 2025 04:42
@thnhmai06 thnhmai06 deleted the feat/ball branch October 27, 2025 04:49
thnhmai06 added a commit that referenced this pull request Oct 27, 2025
* feat: add game context and ball entity

* feat: generate brick and ball, add simple collision

* feat: apply FXGL physic

* feat: spotlessApply

* chore: delete empty file `CollisionSystem.java`

* refactor: update branch with new project structures

Introduce AnchorPoint enum for common anchor points on Rectangle2D. Refactor BallFactory to use default values for ball properties and improve entity spawning logic. Update collision handling in PhysicSystem for better interaction between entities.

---------

Co-authored-by: Mai Thành <62001770+thnhmai06@users.noreply.github.com>
(cherry picked from commit efeb088)
thnhmai06 added a commit that referenced this pull request Oct 27, 2025
* feat: add game context and ball entity

* feat: generate brick and ball, add simple collision

* feat: apply FXGL physic

* feat: spotlessApply

* chore: delete empty file `CollisionSystem.java`

* refactor: update branch with new project structures

Introduce AnchorPoint enum for common anchor points on Rectangle2D. Refactor BallFactory to use default values for ball properties and improve entity spawning logic. Update collision handling in PhysicSystem for better interaction between entities.

---------

Co-authored-by: Mai Thành <62001770+thnhmai06@users.noreply.github.com>
(cherry picked from commit 4b9e256)
thnhmai06 added a commit that referenced this pull request Oct 27, 2025
* feat: add game context and ball entity

* feat: generate brick and ball, add simple collision

* feat: apply FXGL physic

* feat: spotlessApply

* chore: delete empty file `CollisionSystem.java`

* refactor: update branch with new project structures

Introduce AnchorPoint enum for common anchor points on Rectangle2D. Refactor BallFactory to use default values for ball properties and improve entity spawning logic. Update collision handling in PhysicSystem for better interaction between entities.

---------

Co-authored-by: Mai Thành <62001770+thnhmai06@users.noreply.github.com>
(cherry picked from commit 4b9e256)
(cherry picked from commit 1f97c73)
thnhmai06 added a commit that referenced this pull request Oct 27, 2025
* feat: add game context and ball entity

* feat: generate brick and ball, add simple collision

* feat: apply FXGL physic

* feat: spotlessApply

* chore: delete empty file `CollisionSystem.java`

* refactor: update branch with new project structures

Introduce AnchorPoint enum for common anchor points on Rectangle2D. Refactor BallFactory to use default values for ball properties and improve entity spawning logic. Update collision handling in PhysicSystem for better interaction between entities.

---------

Co-authored-by: Mai Thành <62001770+thnhmai06@users.noreply.github.com>
(cherry picked from commit 4b9e256)
(cherry picked from commit 1f97c73)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants