Skip to content

Commit a88ac6c

Browse files
1 parent 57ca8f6 commit a88ac6c

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
repo: "https://github.com/riknoll/arcade-sprite-tilemaps"
3+
links:
4+
- title: Forum post
5+
url: >-
6+
https://forum.makecode.com/t/extension-arcade-sprite-tilemaps/31444?u=unsignedarduino
7+
---
8+
9+
This extension allows you to set tilemaps for individual sprites, so tile overlap events are fired and those sprites will interact with walls while also allowing you to use the normal overlap and wall hit event blocks for your sprite! Although they do not get drawn to the screen, they can still be useful for separating the actual tilemap from the game logic, etc. Heed the warning that "this engine replaces the physics engine, so it is not compatible with any other extension that overwrites the physics engine." This extension adds a Sprite Tilemaps category.

src/scripts/FetchListsFromCMS/FetchExtensions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import client from "../../../tina/__generated__/client";
33
import { partsFromURL } from "@/scripts/FetchListsFromCMS/helpers";
44
import NodeCache from "node-cache";
55

6-
const extensionCache = new NodeCache({ stdTTL: 60 * 5 });
6+
const extensionCache = new NodeCache({ stdTTL: 60 });
77

88
export default async function fetchExtensionsFromCMS(): Promise<Extension[]> {
99
const cachedExtensions: Extension[] | undefined =

src/scripts/FetchListsFromCMS/FetchTools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Tool, ToolRef } from "./types";
22
import client from "../../../tina/__generated__/client";
33
import NodeCache from "node-cache";
44

5-
const toolCache = new NodeCache({ stdTTL: 60 * 5 });
5+
const toolCache = new NodeCache({ stdTTL: 60 });
66

77
export default async function fetchToolsFromCMS(): Promise<Tool[]> {
88
const cachedTools: Tool[] | undefined = toolCache.get("tools");

0 commit comments

Comments
 (0)