Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a user I want an editor mode #57

Closed
7 tasks done
knoffi opened this issue Oct 11, 2019 · 2 comments · Fixed by #138
Closed
7 tasks done

As a user I want an editor mode #57

knoffi opened this issue Oct 11, 2019 · 2 comments · Fixed by #138
Assignees
Labels
enhancement New feature or request

Comments

@knoffi
Copy link
Collaborator

knoffi commented Oct 11, 2019

  • user can choose city economies separately
  • user can choose the set of cities
  • user can choose city graph
  • user can choose position of city buttons
  • make chosen parameters to json-file
  • export from editor mode is a json that can be imported again with correct positions, names, and values
  • name is shown on city button in editor mode
@mkraenz mkraenz added the enhancement New feature or request label Nov 22, 2019
@knoffi knoffi self-assigned this Dec 13, 2019
knoffi added a commit that referenced this issue Dec 18, 2019
@mkraenz
Copy link
Owner

mkraenz commented Dec 18, 2019

Feature Possible implementation
Add city add-button or click on background
delete city delete button or drag-and-drop delete-area
connect two cities click first city to select, then click second city (also consider deselect first city by clicking it again)
disconnect two cities same as connect two cities
set city infos (name, stock, production) double-click on city opens form; side-toolbar
drag city draggable + paths follow
set player stock click on button opens form for global settings
set player start city same as set player stock

@mkraenz
Copy link
Owner

mkraenz commented Dec 18, 2019

        const input2 = document.createElement("input");
        input2.setAttribute("type", "text");
        this.add.dom(100, 30, input2);

and follow what's described in the tooltip of this.add.dom

knoffi added a commit that referenced this issue Dec 30, 2019
knoffi added a commit that referenced this issue Dec 30, 2019
knoffi added a commit that referenced this issue Dec 30, 2019
knoffi added a commit that referenced this issue Dec 30, 2019
knoffi added a commit that referenced this issue Jan 3, 2020
knoffi added a commit that referenced this issue Jan 3, 2020
knoffi added a commit that referenced this issue Jan 3, 2020
knoffi added a commit that referenced this issue Jan 3, 2020
knoffi added a commit that referenced this issue Jan 3, 2020
knoffi added a commit that referenced this issue Jan 3, 2020
knoffi added a commit that referenced this issue Feb 11, 2020
@mkraenz mkraenz self-assigned this Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz added a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz pushed a commit that referenced this issue Feb 11, 2020
mkraenz added a commit that referenced this issue Feb 11, 2020
mkraenz added a commit that referenced this issue Feb 11, 2020
knoffi added a commit that referenced this issue Apr 4, 2020
knoffi added a commit that referenced this issue Apr 4, 2020
knoffi added a commit that referenced this issue Apr 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants