Skip to content

Add player grow-shrink controls to PhysicsCollisionSample #965

@AlmasB

Description

@AlmasB

The sample is in fxgl-samples / sandbox: https://github.com/AlmasB/FXGL/blob/dev/fxgl-samples/src/main/java/sandbox/PhysicsCollisionSample.java

We need to add a few onKeyDown() that will enlarge / shrink the player by changing its scale. So we can check various collision situations. The ability to rotate the player would also be useful here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    difficulty:easySimple, few changes requiredgood-first-issueFirst-time contributor-friendlyhelp wantedContributions welcome / high PR acceptance ratelang:java-onlySolution should be in Java

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions