Skip to content

stella: Improve starfish collision shape & let it spin#1988

Merged
manuq merged 1 commit intomainfrom
wjt/stella-improve-starfish-collision-shape-let-it-spin
Feb 25, 2026
Merged

stella: Improve starfish collision shape & let it spin#1988
manuq merged 1 commit intomainfrom
wjt/stella-improve-starfish-collision-shape-let-it-spin

Conversation

@wjt
Copy link
Member

@wjt wjt commented Feb 25, 2026

stella: Improve starfish collision shape & let it spin

Previously the starfish projectile sprite was offset slightly from the
centre, and the collision shape was inherited from the generic
projectile.

Zero the positions. Give it a star-shaped collision polygon. Unset
lock_rotation so that it can spin when ricocheting off obstacles.

I made this change while demonstrating to Justin why the new approach of
having separate projectile scenes is worth the trade-off of having more
copies of very similar scenes, then decided it is actually worth pushing.

Previously the starfish projectile sprite was offset slightly from the
centre, and the collision shape was inherited from the generic
projectile.

Zero the positions. Give it a star-shaped collision polygon. Unset
lock_rotation so that it can spin when ricocheting off obstacles.

I made this change while demonstrating to Justin why the new approach of
having separate projectile scenes is worth the trade-off of having more
copies of very similar scenes, then decided it is actually worth pushing.
@wjt wjt requested review from a team as code owners February 25, 2026 16:00
@github-actions
Copy link

Play this branch at https://play.threadbare.game/branches/endlessm/wjt/stella-improve-starfish-collision-shape-let-it-spin.

(This launches the game from the start, not directly at the change(s) in this pull request.)

mass = 0.3
physics_material_override = SubResource("PhysicsMaterial_tbgi4")
gravity_scale = 0.0
lock_rotation = true
Copy link
Collaborator

Choose a reason for hiding this comment

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

💯

@manuq manuq merged commit 1fa8d0b into main Feb 25, 2026
6 checks passed
@manuq manuq deleted the wjt/stella-improve-starfish-collision-shape-let-it-spin branch February 25, 2026 16:29
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