Skip to content

Commit

Permalink
feat(scenes): add text to game
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark committed Jan 15, 2024
1 parent 972af87 commit 7878964
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scenes/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ scene('game', () => {
addCursorKeys(addPlayer())

onClick(() => addKaboom(mousePos()))

add([text('Press arrow keys', { width: width() / 2 }), pos(12, 12)])
})

0 comments on commit 7878964

Please sign in to comment.