Back to Browse

MakeCode Arcade Advanced - 8x8 City Tilemap

927 views
Sep 9, 2020
57:10

Join Hassan and Vivian as we make a city tilemap with the 8x8 tileset! (sorry the audio is echo-y 😭. Hassan is fine, if you want to listen to his cooking journey!) Here's the Javascript you need to copy and paste into a new "custom.ts" file to make a new 8x8 tilemap block: namespace custom { //% blockId=tilemap_editor_eight block="set tilemap (8) to $tilemap" //% weight=200 blockGap=8 //% tilemap.fieldEditor="tilemap" //% tilemap.fieldOptions.decompileArgumentAsString="true" //% tilemap.fieldOptions.filter="tile" //% tilemap.fieldOptions.tileWidth=8 //% tilemap.fieldOptions.taggedTemplate="tilemap" //% blockNamespace="scene" group="Tiles" duplicateShadowOnDrag //% help=tiles/set-tile-map export function setTilemap(tilemap: tiles.TileMapData) { scene.setTileMapLevel(tilemap); } } Check out the code here: https://makecode.com/_3DgeTygDTY9g The MakeCode Arcade Advanced stream happens weekdays at 1:00 PM PST on twitch.tv/msmakecode

Download

1 formats

Video Formats

360pmp4107.7 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

MakeCode Arcade Advanced - 8x8 City Tilemap | NatokHD