spaceship/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Loïc Wisniewski 0e071877e2 Fix the stop stutter, and hide unresearched buildings from the menu
Forgejo #13: releasing the stick paused, then moved again before
settling. stop() aims each ship at a braking point ahead of it, but the
ship's own velocity was ~0 - the anchor had been carrying it - so it
started from REST, accelerated into its own stopping distance, and
halted a second time. Measured: 0 -> 45 -> 90 -> 135 -> 180 -> brake.
stop() now hands the fleet's motion to the ship, so the release is one
continuous decelerating coast (222 -> 0) to the identical endpoint.
test_joystick_control now asserts the speed one frame after release is a
real fraction of cruise, and never rises afterwards.

Forgejo #21: unresearched structures are no longer listed greyed out.
They are hidden, and the menu repacks around what is left - a fixed grid
with entries hidden would otherwise leave holes where they used to be.
An entry alone on its row is centred rather than hanging in the left
column. Researched-but-not-usable is still shown greyed: an extractor
with no planet under the fleet is "not now", not "not yet".

This reverses a documented decision (the old comment argued that always
listing everything stops the player wondering whether the game has it at
all), so test_skill_tree's matching assertion was updated from
greyed-but-listed to hidden. The gate itself is unchanged and still
refuses a build forced past the menu.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-11 21:38:17 +02:00
..
_build_menu_preview.gd Fix the stop stutter, and hide unresearched buildings from the menu 2026-08-11 21:38:17 +02:00
_build_menu_preview.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +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.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +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
_craft_menu_preview.gd Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_craft_menu_preview.gd.uid Block input behind open panels; keep craft-menu messages on screen 2026-08-11 20:17:58 +02:00
_craft_menu_preview.tscn Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +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 Block input behind open panels; keep craft-menu messages on screen 2026-08-11 20:17:58 +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
_transporter_preview.gd Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_transporter_preview.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
_transporter_preview.tscn Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +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_hides_locked.gd Fix the stop stutter, and hide unresearched buildings from the menu 2026-08-11 21:38:17 +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_building_stock_queue.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +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_cargo_readout.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +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_hub_capacity.gd Transporter capacity per hub, and research to raise it 2026-08-11 19:43:55 +02:00
test_hub_capacity.gd.uid Block input behind open panels; keep craft-menu messages on screen 2026-08-11 20:17: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 Fix the stop stutter, and hide unresearched buildings from the menu 2026-08-11 21:38:17 +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_manual_supply_route.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +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_modal_blocks_input.gd Block input behind open panels; keep craft-menu messages on screen 2026-08-11 20:17:58 +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 Fix the stop stutter, and hide unresearched buildings from the menu 2026-08-11 21:38:17 +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_transport_hub_building.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
test_transporter_supply.gd Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +02:00
test_transporter_supply.gd.uid Transporter vessels, an explicit store button, and bottom-anchored menus 2026-08-11 19:14:27 +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