Closed Jummit closed 5 years ago
Just a tip: Start the pull's title with "WIP:" or "[WIP]" while it's still being worked on, so we can quickly see when it's ready.
Just a tip: Start the pull's title with "WIP:" or "[WIP]" while it's still being worked on, so we can quickly see when it's ready.
Forgot that.
You'll also have to squish this and your other pull's commits.
You'll also have to squish this and your other pull's commits.
How do I do that? Is it this?
Yep, turn those multiple commits into one.
Whats the reason to do so?
A cleaner git history. Besides making much more sense to group together commits that are about a specific change, instead of being scattered around. Looking at the commits, the main change here is turning the main menu buttons into their own scenes, and as far we care about, this is the only commit message we want.
Apologies for not checking this pull sooner, should've tried to merge this first before upgrading the project to 3.1. Could you rebase this one more time?
Apologies for not checking this pull sooner, should've tried to merge this first before upgrading the project to 3.1. Could you rebase this one more time?
Done.
There's still a small conflict in the icon.png.import
file.
I have a small suggestion. Currently, the checkbox for the game type (Scenario, Random map, Free play) can be unchecked by clicking on it.
I think it should behave like a set of radio buttons: one of the cases is checked at first (let's say Scenario), and when you click on something that is already checked it does nothing (therefore there is alway one case checked).
Here is an example of how you could do that for the GameTypeButton.gd
script:
extends HBoxContainer
export var type = ""
export var checked = false
func _ready():
$Label.text = type
if checked:
get_node("CheckBox").pressed = true
func _on_pressed():
for type_button in get_parent().get_children():
if type_button != self:
type_button.get_node("CheckBox").pressed = false
if !get_node("CheckBox").pressed:
get_node("CheckBox").pressed = true
Another small suggestion, I think you should indicate the number of AI players selected, this is not very clear right now. Something like this:
Though I am not sure if the leftmost option should be 1
or 0
.
Not only will you need to rebase, but you will also need to remove some files - I added .DS_Store
to the .gitignore
file.
It should be 0 if anyone want to play without ai.
@Jummit are you still working on this?
@Jummit are you still working on this?
I sadly can't right now, because I have RSI and don't want it to get worse.
Superseded by https://github.com/unknown-horizons/godot-port/pull/43
Working on #16.