Add satellite names system - Component-based implementation - #22
Open
wannerdev wants to merge 1 commit into
Open
Add satellite names system - Component-based implementation#22wannerdev wants to merge 1 commit into
wannerdev wants to merge 1 commit into
Conversation
- Created satellite_names module with SatelliteSpawnStats resource - Implemented codename assignment system: * First satellite per level gets fixed codename (tiny-1, traily, boinc) * Every 10th satellite globally gets Japanese codename - Added SatelliteLabel component for text rendering - Integrated naming into both mouse and touch launch functions - Labels positioned below satellites as child entities - 15 Japanese codenames using romaji for ASCII compatibility - Tracks global and per-level spawn indices - Labels have 90% alpha for subtle appearance - Automatic label positioning with satellite movement
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.
Description
Implements a satellite naming system that assigns codenames to satellites based on their level and spawn order. First satellite of each level gets a fixed codename, and every 10th satellite globally gets a Japanese codename.
Implementation Approach
This is Implementation A - Component-Based approach using spawn statistics tracking and direct label spawning.
Changes
satellite_namesmoduleSatelliteSpawnStatsresource to track spawn countscodename_for_satellitefunction for name assignment logicSatelliteLabelcomponent for label entitiesstart_new_launchandstart_launch_from_touch_endsatellite_names::pluginto main app pluginsNaming Rules
Fixed Codenames (First of Each Level)
Japanese Codenames (Every 10th Globally)
Every 10th satellite (10, 20, 30, etc.) gets a Japanese codename:
Technical Implementation
Spawn Statistics Tracking
Name Assignment Logic
Label Rendering
Benefits
Visual Design
Performance
Testing
Future Enhancements
Related Feature
Implements: Satellite Names System (Component-Based Approach)