heyo guys! i was looking at the makecode tile util extension code and i made the same extension but i added 32x32tile support for the people who want to have better art tiles and or resized the screen to bigger!
the basic arcade-tile-util extension but with 32x32 tiles!
hey @richard could ya add this in to tile util extension?
2 Likes
why not just make a extension thats tilemaps but you can pick any size tile?
because the tilemap system has the size be any integer from like 2 to 5 or something, and the actual scale is 1 << scale which is 4, 8, 16, or 32.
Cause it only works with powers of 2 2 4 8 16 32 etc
1 Like
YamJam
August 24, 2026, 5:13am
5
I don’t think any size is possible, because I saw somewhere that said it had to be a certain multiple of 4 or something like that (I forgot).
here’s the enum for it though:
enum TileScale {
//% block="4x4"
Four = 2,
//% block="8x8"
Eight = 3,
//% block="16x16"
Sixteen = 4,
//% block="32x32"
ThirtyTwo = 5
}
and the tilemap class’ scale:
export class TileMapData {
// The tile data for the map (indices into tileset)
protected data: Buffer;
// The metadata layers for the map. Currently only 1 is used for walls
protected layers: Image;
protected tileset: Image[];
protected cachedTileView: Image[];
protected _scale: TileScale;
protected _width: number;
protected _height: number;
constructor(data: Buffer, layers: Image, tileset: Image[], scale: TileScale) {
this.data = data;
this.layers = layers;
this.tileset = tileset;
this.scale = scale;
this._width = data.getNumber(NumberFormat.UInt16LE, 0);
1 Like
aww man it doesn’t work with the raycasting extension :(((((