diff --git a/libs/game/animation.ts b/libs/game/animation.ts index b545e5ad1..03e4d80d2 100644 --- a/libs/game/animation.ts +++ b/libs/game/animation.ts @@ -718,6 +718,7 @@ namespace animation { //% frames.fieldOptions.filter="!tile !dialog !background" //% weight=40 //% group="Animate" duplicateShadowOnDrag + //% help=animation/animation-frames export function _animationFrames(frames: Image[]) { return frames } diff --git a/libs/game/docs/reference/controller/dy.md b/libs/game/docs/reference/controller/dy.md index 9e5f1ec0d..d7adf1cdd 100644 --- a/libs/game/docs/reference/controller/dy.md +++ b/libs/game/docs/reference/controller/dy.md @@ -1,9 +1,9 @@ -# dx +# dy Gets the amount of vertical movement to use if an up or down key is pressed. ```sig -controller.dx(0) +controller.dy(0) ``` If you're controlling the location of a sprite by key pressess, you can decide how much change in position it will have when a key is pressed. This is done with _steps_. While a direction key is pressed, the movement value returned is based on if and how long the key is pressed, along with the step size you gave it. If you want fast movement, then you use a larger step size. diff --git a/libs/game/docs/reference/info/countdown.md b/libs/game/docs/reference/info/countdown.md index d3cecbd2b..bda962e38 100644 --- a/libs/game/docs/reference/info/countdown.md +++ b/libs/game/docs/reference/info/countdown.md @@ -3,15 +3,9 @@ Get the current game countdown time. ```sig -info.changeCountdownBy(0) +info.countdown() ``` -The current game countdown time amount is increased by adding the change value when it is greater than zero (positive). If the change number is less than zero (negative), the game countdown is reduced by the value of the change number. - -## Parameters - -* **value**: a [number](/types/number) to set the game countdown by. - ## Returns * a [number](/types/number) that is the amount of time remaining for the game countdown in seconds. diff --git a/libs/game/docs/reference/scene/get-tile-location.md b/libs/game/docs/reference/scene/get-tile-location.md index 422ec52e0..daf85d27e 100644 --- a/libs/game/docs/reference/scene/get-tile-location.md +++ b/libs/game/docs/reference/scene/get-tile-location.md @@ -50,6 +50,7 @@ forever(function () { ## See also #seealso +[location](/reference/scene/location), [set tile at](/reference/scene/set-tile-at), [place on tile](/reference/scene/place-on-tile) diff --git a/libs/game/docs/reference/scene/tile-at-location-equals.md b/libs/game/docs/reference/scene/tile-at-location-equals.md index 6009f8930..7c2627b12 100644 --- a/libs/game/docs/reference/scene/tile-at-location-equals.md +++ b/libs/game/docs/reference/scene/tile-at-location-equals.md @@ -56,6 +56,7 @@ mySprite.vy = 35 ## See also #seealso +[location](/reference/scene/location), [get tile location](/reference/scene/get-tile-location) ```jres diff --git a/libs/game/docs/reference/scene/tile-at-location-is-wall.md b/libs/game/docs/reference/scene/tile-at-location-is-wall.md index 5ec605450..6bd5cb546 100644 --- a/libs/game/docs/reference/scene/tile-at-location-is-wall.md +++ b/libs/game/docs/reference/scene/tile-at-location-is-wall.md @@ -64,6 +64,7 @@ mySprite.vx = 30 ## See also #seealso +[location](/reference/scene/location), [get tile location](/reference/scene/get-tile-location) ```jres