Skip to content

Commit

Permalink
doc: use js
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Nov 2, 2024
1 parent 16819dc commit 574df70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/en/1_getting_started/4_game_objects.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ functions** that return a game object with `make()`. Is great for create game
objects and manipulate them later, before attaching them to the scene.

```js
function createBullet(spr: string) {
function createBullet(spr) {
const obj = make([
pos(80, 80),
color(0.5, 0.5, 1),
Expand Down

0 comments on commit 574df70

Please sign in to comment.