From 52e6cfbd13ebf5cb727162a188d823fa0e82fc5c Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Tue, 12 Sep 2017 10:58:49 -0700 Subject: [PATCH] Adding notes about game library (#537) --- docs/reference/game.md | 9 ++++++++- docs/reference/game/create-sprite.md | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/reference/game.md b/docs/reference/game.md index 5f47705e..7b563dc4 100644 --- a/docs/reference/game.md +++ b/docs/reference/game.md @@ -1,6 +1,13 @@ # Game -Make games with sprites. Keep score and control gameplay. +Make games with sprites. Keep score and controls gameplay. + +## ~ hint + +Once the game engine is started, it will render the sprites to the screen and potentially override any kind of animation you are trying to show. +Using [game pause](/reference/game/pause) and [game resume](/reference/game/resume) to disable and enable the game rendering loop. + +## ~ ## Sprites diff --git a/docs/reference/game/create-sprite.md b/docs/reference/game/create-sprite.md index a7204d39..e1c02b9a 100644 --- a/docs/reference/game/create-sprite.md +++ b/docs/reference/game/create-sprite.md @@ -17,6 +17,13 @@ game.createSprite(2, 2); `0` and `4` mean the edges of the screen, and `2` means in the middle. +## ~ hint + +Once the game engine is started, it will render the sprites to the screen and potentially override any kind of animation you are trying to show. +Using [game pause](/reference/game/pause) and [game resume](/reference/game/resume) to disable and enable the game rendering loop. + +## ~ + ## Example This program starts a sprite in the middle of the screen.