Skip to content

More Path improvments #22

Description

@KnatteAnka

To allow better visual effects it would help to have more path images for one path then One image
And random rotation but will not work for all images so option in Spec.
image
Example image show how all images is exactly the same and then will look repetitive

Suggestion:

  1. Add Parameter to allow more varaiation of image as base for the path
  2. Add Parameter to allow image to rotate in 90 degree steps

How to do it:

  1. I see 2 options here:
    A. Add parameters for Columns and Rows in Path texture
    (this is easier to export from paint program but may be harder to program so you chose what way to go)
    B. Add / set Path textrure to be an array and allow multiple images
  2. Add a new Parameter: "AllowRotation": "true"
    this would allow code to random rotate the image selected

Example 1A

{
  "Name": "Gravel3Path",
  "PathTexture": "sprites/paths/gravel3path/groundtexture",
  "PathColumns": 2
  "PathRows":2
  "RailingTexture": "sprites/paths/gravel3path/groundtexture",
  "ToolGroup": "CategoryPaths",
  "ToolOrder": 31,
  "PathIcon": "sprites/paths/gravel3path/darkpathicon",
  "DisplayNameLocKey": "Tobbert.Gravel3Path.DisplayName",
  "DescriptionLocKey": "Tobbert.Gravel3Path.Description",
  "FlavorDescriptionLocKey": "Tobbert.Gravel3Path.FlavorDescription",
  
  "NoiseTexScale": 10
}

Example image where it would select one of four images
image

Example 1B

{
  "Name": "Gravel3Path",
  "PathTexture": [
                          "sprites/paths/gravel3path/groundtexture1",
                          "sprites/paths/gravel3path/groundtexture2",
                          "sprites/paths/gravel3path/groundtexture3",
                          "sprites/paths/gravel3path/groundtexture4",
  ],
  "RailingTexture": "sprites/paths/gravel3path/groundtexture",
  "ToolGroup": "CategoryPaths",
  "ToolOrder": 31,
  "PathIcon": "sprites/paths/gravel3path/darkpathicon",
  "DisplayNameLocKey": "Tobbert.Gravel3Path.DisplayName",
  "DescriptionLocKey": "Tobbert.Gravel3Path.Description",
  "FlavorDescriptionLocKey": "Tobbert.Gravel3Path.FlavorDescription",
  
  "NoiseTexScale": 10
}

1:
image
2:
image
3.
image
4.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions