Adding notes about game library (#537)
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user