Repository navigation
feat(player): draw the Wasp as its model shows from above - #779
Merged
Merged
Conversation
The Wasp's sprite was a fuselage between two engine pods with a stinger it thrust forward as it fired, the stinger drawn on top where the model hangs it under the body. It is now drawn after the model's top view without the parts the top view cannot show or that crowd it: the abdomen and stinger under the body (the `weapon` bone and below) and the small wings on the engines' flanks (`Lengine_wing`, `Rengine_wing`). What remains, 7.0 m by 6.2 m against the whole model's 8.6 m by 9.6 m, is the pointed fuselage with its canopy and tail fins, a thruster pod each side and the two long engines outboard, armoured in the team's colour. It no longer animates an attack; it hovers, and its nozzles glow. models/wasp.svg is exported again; export-models.mjs --check passes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A flyer's shadow was a cross sized by its collision radius, 1.3 and 1.2 radii out: for a Wasp (3.5 m) about 9.1 m long and 8.4 m wide, under a sprite now 7.0 m by 6.2 m, so the shadow outgrew the unit. A flyer with a sprite now casts an ellipse 0.84 of the footprint its sprite frames (Sprites.SIZE): 6.2 m by 5.5 m for the Wasp. One without a sprite keeps the cross. Seen on the demo at tick 300. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Redraws the Wasp's sprite and sizes a flyer's shadow to its sprite.
weaponbone and below), or the small wings on its engines' flanks (Lengine_wing,Rengine_wing). What remains is 7.0 m by 6.2 m, against the whole model's 8.6 m by 9.6 m: a pointed fuselage with its canopy and tail fins, a white thruster pod on each side, and two long engines outboard on struts, armoured in the team's colour, with glowing nozzles. It no longer animates an attack. It hovers.Checks
models/wasp.svgis exported again, andexport-models.mjs --checkpasses.🤖 Generated with Claude Code
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com