spaceship/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski 823828f3b3 Transport Hub building
Forgejo #18, part 5 of #12. The building only - the vessels that do the
hauling are #19. Placeable, costed at 30, gated behind a new "Freight
Handling" research node hanging off Logistics, with its own info popup,
build-menu glyph and map marker.

Drawn as an octagonal dock ring with berth arms and a squared-off freight
core: deliberately radial-but-flat so it does not read as a small
mothership, which is the only structure with swept arms. Its stationed
transports are NeonPiece children of one rotating holder, per #10 - the
geometry is rasterised once and only the holder's rotation changes, so
the traffic costs no redraws.

Building._draw()'s match has a catch-all that renders anything
unrecognised as a ship crafter, so a missing case is silent and looks
almost right. The test checks for the hub's own _hub_traffic holder
rather than trusting that something plausible appeared - which caught
exactly that: a _ready() patch had silently not applied and the hub was
rendering through the crafter branch.

The build menu grew a third row. Every button, label and price moved:
the old row occupied 332px against a 372px pitch, and three of those do
not fit above a 1280px screen. Rows are now shorter (128px buttons, 40px
price digits) at a 290px pitch, ending at y=1176. Rendered and looked at
- the first attempt tightened the pitch alone and left every price
overlapping the row beneath it, which no headless test would have seen.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-11 17:45:07 +02:00
..
_build_menu_preview.gd Transport Hub building 2026-08-11 17:45:07 +02:00
_build_menu_preview.tscn Transport Hub building 2026-08-11 17:45:07 +02:00
_build_popup_preview.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_build_popup_preview.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_build_popup_preview.tscn Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_cargo_readout_preview.gd Show what the fleet is carrying next to what is banked 2026-08-11 16:04:40 +02:00
_cargo_readout_preview.tscn Show what the fleet is carrying next to what is banked 2026-08-11 16:04:40 +02:00
_crafter_preview.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_crafter_preview.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_crafter_preview.tscn Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_font_probe.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_font_probe.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_icon_preview.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_icon_preview.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_icon_preview.tscn Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_ingame_buildings_preview.gd Transport Hub building 2026-08-11 17:45:07 +02:00
_ingame_buildings_preview.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_ingame_buildings_preview.tscn Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_lunar_check.png.import Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_marker_preview.gd Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_marker_preview.gd.uid Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_marker_preview.tscn Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_planet_derrick_preview.gd Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_planet_derrick_preview.gd.uid Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_planet_derrick_preview.tscn Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
_profile_startup.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_profile_startup.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_run_inside.sh Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_screenshot_tool.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_screenshot_tool.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
_skill_menu_preview.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_skill_menu_preview.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_skill_menu_preview.tscn Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_vfx_preview.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_vfx_preview.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
_vfx_preview.tscn Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
run_tests.sh Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
scratch_scene_a.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
scratch_scene_b.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
scratch_swap_check.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
screenshot.sh Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
test_animation_continuity.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_animation_continuity.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_asteroid_safe_spawn.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_asteroid_safe_spawn.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_asteroid_ship_collision.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_asteroid_ship_collision.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_asteroid_spawning.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_asteroid_spawning.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_biome_generation.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_biome_generation.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_build_info_popup.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_build_info_popup.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_build_menu_icons.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_build_menu_icons.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_building_redraw_cost.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_building_redraw_cost.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_building_stock_queue.gd Supply a building by hand: withdraw at the mothership, unload on arrival 2026-08-11 16:36:11 +02:00
test_camera_settles.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_camera_settles.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_cargo_readout.gd Show what the fleet is carrying next to what is banked 2026-08-11 16:04:40 +02:00
test_crafter_animation.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_crafter_animation.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_enemy_collision.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_enemy_collision.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_enemy_combat.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_enemy_combat.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_exploration_tracker.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_exploration_tracker.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_extractor_building.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_extractor_building.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_extractor_income.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_extractor_income.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_fleet_cargo.gd Fleet carries mined ore until it delivers it to the mothership 2026-08-11 15:55:45 +02:00
test_fleet_cargo.gd.uid Show what the fleet is carrying next to what is banked 2026-08-11 16:04:40 +02:00
test_fleet_formation.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_fleet_formation.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_icon_button.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_icon_button.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_icon_button_drag_cancel.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_icon_button_drag_cancel.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_joystick_control.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_joystick_control.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_keyboard_input.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_keyboard_input.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_lopsided_formation_movement.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_lopsided_formation_movement.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_manual_supply_route.gd Supply a building by hand: withdraw at the mothership, unload on arrival 2026-08-11 16:36:11 +02:00
test_map_building_markers.gd Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
test_map_building_markers.gd.uid Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
test_mothership_replacement.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_mothership_replacement.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_no_popin_on_load.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_no_popin_on_load.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_pinch_zoom.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_pinch_zoom.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_pivot_controls.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_pivot_controls.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_atmosphere_transition.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_atmosphere_transition.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_extractor_marker.gd Show the extractor derrick the moment it is built, not on respawn 2026-08-11 15:43:43 +02:00
test_planet_extractor_marker.gd.uid Show buildings on the world map, and extractors on their planets 2026-08-11 15:29:56 +02:00
test_planet_identity_persists.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_identity_persists.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_landing_proximity.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_landing_proximity.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_map_marker_matches_spawn.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_map_marker_matches_spawn.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_prompt_map_interaction.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_prompt_map_interaction.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_spawning.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_planet_spawning.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_prompt_debounce.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_prompt_debounce.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_resources_and_buildings.gd Fleet carries mined ore until it delivers it to the mothership 2026-08-11 15:55:45 +02:00
test_resources_and_buildings.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_return_position_matches_planet.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_return_position_matches_planet.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_ship_facing.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_ship_facing.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_skill_tree.gd Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_skill_tree.gd.uid Skill tree, node-based building animation, bigger UI, and a 19x faster test suite 2026-08-11 15:00:41 +02:00
test_star_coverage.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_star_coverage.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_transport_hub_building.gd Transport Hub building 2026-08-11 17:45:07 +02:00
test_world_map_ui.gd Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00
test_world_map_ui.gd.uid Initial commit: SpaceshipTest, a top-down space RTS in Godot 4.7.1 2026-08-10 18:41:58 +02:00