The game opens on a map picker #44
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/4201-map-picker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracker: #4201
Launching the app to host now opens a map picker listing
first_mapandtest_scene. Choosing one hosts the game on that map and plays in it.src/scene/maps.sxlists the maps.src/hud/map_picker.sxis the screen, its input and its layout.--map <name>skips the picker on the app, and names the map on--join,hulken-serverand the bots tool. With none, those three take the first map.Checked:
tools/gate.sh fastpasses, 112 tests. In the running app the picker opens, the keyboard chooses a map and the test scene loads and plays.hulken-server --map test_sceneserves a bot joined with the same--map, and refuses one on the first map. A real mouse click was not driven by the test run; the click path is covered bytests/map_picker.sx.Head:
fc7c41b3baView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.