Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds new game assets, system files, and introduces an undo mechanism with two new interfaces (CanExecute and CanUndo). It also removes a gitignore exception.
Key changes:
- Adds multiple PNG texture assets for bricks (normal, strong, shield types)
- Adds WAV audio files for game sound effects
- Creates
CanExecuteandCanUndointerfaces for command pattern implementation - Adds FXGL system data files
- Removes
.idea/misc.xmlexception from gitignore
Reviewed Changes
Copilot reviewed 38 out of 97 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| Various PNG files | New brick texture assets for different brick types and hit states |
| Various WAV files | New sound effect assets for game events |
| system/fxgl.bundle | FXGL serialization system data |
| system/Readme.txt | Documentation for system directory |
| settings.properties | Vietnamese comments explaining application vs project settings |
| CanExecute.java | Interface for executable behaviors |
| CanUndo.java | Interface extending CanExecute to support undo operations |
| .gitignore | Removes exception for .idea/misc.xml |
Files not reviewed (1)
- .idea/misc.xml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| /** | ||
| * | ||
| * | ||
| * <h1>%{@link CanUndo}</h1> |
There was a problem hiding this comment.
| /** | ||
| * | ||
| * | ||
| * <h1>%{@link CanExecute}</h1> |
There was a problem hiding this comment.
| * @see com.almasb.fxgl.app.scene.SceneFactory | ||
| */ | ||
| public class SceneFactory extends com.almasb.fxgl.app.scene.SceneFactory { | ||
| public final class SceneFactory extends com.almasb.fxgl.app.scene.SceneFactory { |
There was a problem hiding this comment.
SceneFactory has the same name as its supertype com.almasb.fxgl.app.scene.SceneFactory.
| /** | ||
| * Tạo entity Shield Brick chỉ được phá từ trên xuống | ||
| * | ||
| * @param pos Vị trí |
# Conflicts: # .github/workflows/build.yml # .github/workflows/buildRelease.yml # .github/workflows/spotless.yml # .gitignore # .idea/misc.xml # build.gradle # docs/dev/guide.md # settings.gradle # src/main/java/com/github/codestorm/bounceverse/Bounceverse.java # src/main/java/com/github/codestorm/bounceverse/components/behaviors/Attack.java # src/main/java/com/github/codestorm/bounceverse/components/behaviors/Behavior.java # src/main/java/com/github/codestorm/bounceverse/components/behaviors/CooldownBehavior.java # src/main/java/com/github/codestorm/bounceverse/components/behaviors/Explosion.java # src/main/java/com/github/codestorm/bounceverse/components/behaviors/HealthDeath.java # src/main/java/com/github/codestorm/bounceverse/components/behaviors/ScaleChange.java # src/main/java/com/github/codestorm/bounceverse/components/behaviors/UndoableBehavior.java # src/main/java/com/github/codestorm/bounceverse/components/behaviors/paddle/PaddleShooting.java # src/main/java/com/github/codestorm/bounceverse/components/properties/Attributes.java # src/main/java/com/github/codestorm/bounceverse/components/properties/Shield.java # src/main/java/com/github/codestorm/bounceverse/core/LaunchOptions.java # src/main/java/com/github/codestorm/bounceverse/core/SettingsManager.java # src/main/java/com/github/codestorm/bounceverse/core/systems/GameSystem.java # src/main/java/com/github/codestorm/bounceverse/core/systems/InputSystem.java # src/main/java/com/github/codestorm/bounceverse/core/systems/PhysicSystem.java # src/main/java/com/github/codestorm/bounceverse/factory/SceneFactory.java # src/main/java/com/github/codestorm/bounceverse/factory/entities/BallFactory.java # src/main/java/com/github/codestorm/bounceverse/factory/entities/BrickFactory.java # src/main/java/com/github/codestorm/bounceverse/factory/entities/BulletFactory.java # src/main/java/com/github/codestorm/bounceverse/factory/entities/PaddleFactory.java # src/main/java/com/github/codestorm/bounceverse/factory/entities/WallFactory.java # src/main/resources/settings.properties
…Special behavior)
- add Attachment behavior for ball–paddle link - improve PhysicSystem with shield-aware collision - limit paddle movement within walls - refine BallFactory spawn behavior - adjust WallFactory wall sides & collision box - update game initialization and system wiring
c8b7432 to
e977330
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 42 out of 100 changed files in this pull request and generated 5 comments.
Files not reviewed (1)
- .idea/misc.xml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| # ?ây ch? là khai báo c?a application, ch? không ph?i project. | ||
| # N?u mu?n khai báo project, hãy truy c?p /gradle.properties |
There was a problem hiding this comment.
The comment text appears to have character encoding issues. The Vietnamese text is corrupted with replacement characters (�). This should be properly encoded in UTF-8. The intended text likely should be: '# Đây chỉ là khai báo của application, chứ không phải project.' and '# Nếu muốn khai báo project, hãy truy cập /gradle.properties'
| /** | ||
| * | ||
| * | ||
| * <h1>%{@link CanUndo}</h1> |
There was a problem hiding this comment.
The Javadoc tag has an incorrect prefix character. Should be {@link CanUndo} instead of %{@link CanUndo}. The '%' character is not a valid Javadoc tag prefix.
| /** | ||
| * | ||
| * | ||
| * <h1>%{@link CanExecute}</h1> |
There was a problem hiding this comment.
The Javadoc tag has an incorrect prefix character. Should be {@link CanExecute} instead of %{@link CanExecute}. The '%' character is not a valid Javadoc tag prefix.
| /** | ||
| * | ||
| * | ||
| * <h1>!{@link BounceverseException}</h1> |
There was a problem hiding this comment.
The Javadoc tag has an incorrect prefix character. Should be {@link BounceverseException} instead of !{@link BounceverseException}. The '!' character is not a valid Javadoc tag prefix.
|
Require adding javadoc and resolve conflicts @ManhTanTran |
thnhmai06
left a comment
There was a problem hiding this comment.
tbh please dont vibe code again
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 28 out of 61 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| */ | ||
| public static String getSettingsFilename() { | ||
| final var username = System.getProperty("user.name"); | ||
| final var username = System.getProperty("user.color"); |
There was a problem hiding this comment.
Changed System.getProperty(\"user.name\") to System.getProperty(\"user.color\"). The property "user.color" does not exist in Java system properties. This should be "user.name" to retrieve the username.
| final var username = System.getProperty("user.color"); | |
| final var username = System.getProperty("user.name"); |
| * @see com.almasb.fxgl.entity.component.Component | ||
| */ | ||
| public abstract class Component extends com.almasb.fxgl.entity.component.Component { | ||
| public abstract sealed class Component extends com.almasb.fxgl.entity.component.Component |
There was a problem hiding this comment.
Component has the same name as its supertype com.almasb.fxgl.entity.component.Component.
1. Core Additions
StrongShieldBrickentity that can withstand multiple collisions before breakingShieldHealthComponentto manage shield durability and HP logic2. System & Collision Updates
PhysicSystem3. UI & Visual Improvements
BackgroundColorManagerandUISystemwith neon animation