-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.ts
More file actions
24 lines (23 loc) · 758 Bytes
/
main.ts
File metadata and controls
24 lines (23 loc) · 758 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/**
* This is the main file for your project.
*
* Create images, tilemaps, animations, and songs using the
* asset explorer in VS Code. You can reference those assets
* using the tagged templates on the assets namespace:
*
* assets.image`myImageName`
* assets.tilemap`myTilemapName`
* assets.tile`myTileName`
* assets.animation`myAnimationName`
* assets.song`mySongName`
*
* New to MakeCode Arcade? Try creating a new project using one
* of the templates to learn about Sprites, Tilemaps, Animations,
* and more! Or check out the reference docs here:
*
* https://arcade.makecode.com/reference
*/
game.onUpdate(() => {
// Code in this function will run once per frame. MakeCode
// Arcade games run at 30 FPS
});