Skip to content

Commit

Permalink
page fix errors from PR1466
Browse files Browse the repository at this point in the history
  • Loading branch information
ganicke committed Jan 17, 2024
1 parent 888d92d commit a83d7f1
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
1 change: 1 addition & 0 deletions libs/game/animation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
4 changes: 2 additions & 2 deletions libs/game/docs/reference/controller/dy.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
8 changes: 1 addition & 7 deletions libs/game/docs/reference/info/countdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 1 addition & 0 deletions libs/game/docs/reference/scene/get-tile-location.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions libs/game/docs/reference/scene/tile-at-location-equals.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ mySprite.vy = 35

## See also #seealso

[location](/reference/scene/location),
[get tile location](/reference/scene/get-tile-location)

```jres
Expand Down
1 change: 1 addition & 0 deletions libs/game/docs/reference/scene/tile-at-location-is-wall.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ mySprite.vx = 30

## See also #seealso

[location](/reference/scene/location),
[get tile location](/reference/scene/get-tile-location)

```jres
Expand Down

0 comments on commit a83d7f1

Please sign in to comment.