From 2baaa734027ccd59818c9f401c3e567926f36cb3 Mon Sep 17 00:00:00 2001 From: Cameron Date: Mon, 6 May 2024 03:06:12 -0700 Subject: [PATCH] aniamted tiles docs iteration --- DocFX/documentation/Topics/topic_AnimatedTiles.md | 4 ++-- docs/documentation/Topics/topic_AnimatedTiles.html | 6 +++--- docs/manifest.json | 10 +++++----- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/DocFX/documentation/Topics/topic_AnimatedTiles.md b/DocFX/documentation/Topics/topic_AnimatedTiles.md index d53bf032..b8fc02c3 100644 --- a/DocFX/documentation/Topics/topic_AnimatedTiles.md +++ b/DocFX/documentation/Topics/topic_AnimatedTiles.md @@ -8,16 +8,16 @@ Though LDtk does not support animated tiles, the importer has some support for i - Then you can put information in to tell the importer how the tile should animate. - You type in a keyword, followed by one or more values separated by commas. - There should only be one keyword per line. +- All keywords are optional. If any are not used, then the default values in the table below are used. But to do any animation, `animatedSprites` is required. ![AnimatedTilesCustomDataExample](../../images/img_LDtk_TileAnimationData.png) | Keyword | Type | Default | Description | Example | |------------------------|---------|---------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------| | `animatedSprites` | `int` | (empty) | The tile ID frames to use in the animation. | `animatedSprites 0,1,2,3,3,3,2,1` | -| `animationSpeed` | `float` | 1 | The animation speed.
Put one number for a fixed value.
Put two numbers for a random range. | `animationSpeed 2`
`animationSpeed 1.5, 3` | +| `animationSpeed` | `float` | 1 | The animation speed in frames per second.
Put one number for a fixed value.
Put two numbers for a random range. | `animationSpeed 2`
`animationSpeed 1.5, 3` | | `animationStartTime` | `float` | 0 | The initial animation time of a tile.
Put one number for a fixed value.
Put two numbers for a random range. | `animationStartTime 0.5`
`animationStartTime 0, 2.5` | | `animationStartFrame` | `int` | 0 | The initial animation frame of a tile.
Put one number for a fixed value.
Put two numbers for a random range.
This overrides `animationStartTime`. | `animationStartFrame 2`
`animationStartFrame 0, 3` | -- All keywords are optional. If one is left unused, the value will be it's default displayed in the table below.and have a default value if unused, but `animatedSprites` is required to do any animation. - The naming convention is based on Unity's [TileAnimationData](https://docs.unity3d.com/ScriptReference/Tilemaps.TileAnimationData.html) and [AnimatedTile](https://docs.unity3d.com/Packages/com.unity.2d.tilemap.extras@4.0/manual/AnimatedTile.html). ## Disclaimer diff --git a/docs/documentation/Topics/topic_AnimatedTiles.html b/docs/documentation/Topics/topic_AnimatedTiles.html index 0f00174c..5020a6a1 100644 --- a/docs/documentation/Topics/topic_AnimatedTiles.html +++ b/docs/documentation/Topics/topic_AnimatedTiles.html @@ -80,7 +80,8 @@

Setup

  • Click on a tile and a text dialogue will appear, where you can add text.
  • Then you can put information in to tell the importer how the tile should animate.
  • You type in a keyword, followed by one or more values separated by commas.
  • -
  • There should only be one keyword per line.
    +
  • There should only be one keyword per line.
  • +
  • All keywords are optional. If any are not used, then the default values in the table below are used. But to do any animation, animatedSprites is required.
    AnimatedTilesCustomDataExample
  • @@ -105,7 +106,7 @@

    Setup

    - + @@ -125,7 +126,6 @@

    Setup

    animationSpeed float 1The animation speed.
    Put one number for a fixed value.
    Put two numbers for a random range.
    The animation speed in frames per second.
    Put one number for a fixed value.
    Put two numbers for a random range.
    animationSpeed 2
    animationSpeed 1.5, 3

    Disclaimer

    diff --git a/docs/manifest.json b/docs/manifest.json index 1a60d9af..d9278952 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -336,7 +336,7 @@ "hash": "uJuliETfwhZEZRn9ZA7K5A==" } }, - "is_incremental": false, + "is_incremental": true, "version": "" }, { @@ -924,7 +924,7 @@ "hash": "edcpOyJQz3rpejhPJ47tgg==" } }, - "is_incremental": false, + "is_incremental": true, "version": "" }, { @@ -1101,7 +1101,7 @@ "output": { ".html": { "relative_path": "documentation/Topics/topic_AnimatedTiles.html", - "hash": "e1vt+NRuLIDqMjXEFFaabQ==" + "hash": "BXLwfkZQoFCYXyJwIaC19g==" } }, "is_incremental": false, @@ -1164,7 +1164,7 @@ "hash": "AxAat2QYEnTGCSV/a6egdg==" } }, - "is_incremental": false, + "is_incremental": true, "version": "" }, { @@ -2301,7 +2301,7 @@ "can_incremental": true, "incrementalPhase": "build", "total_file_count": 77, - "skipped_file_count": 76 + "skipped_file_count": 77 }, "ResourceDocumentProcessor": { "can_incremental": false,