Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixes #190
  • Loading branch information
UnsignedArduino committed Nov 20, 2024
1 parent 57ca8f6 commit a88ac6c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions content/extensions/078-riknoll---arcade-sprite-tilemaps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
repo: "https://github.com/riknoll/arcade-sprite-tilemaps"
links:
- title: Forum post
url: >-
https://forum.makecode.com/t/extension-arcade-sprite-tilemaps/31444?u=unsignedarduino
---

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.
2 changes: 1 addition & 1 deletion src/scripts/FetchListsFromCMS/FetchExtensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import client from "../../../tina/__generated__/client";
import { partsFromURL } from "@/scripts/FetchListsFromCMS/helpers";
import NodeCache from "node-cache";

const extensionCache = new NodeCache({ stdTTL: 60 * 5 });
const extensionCache = new NodeCache({ stdTTL: 60 });

export default async function fetchExtensionsFromCMS(): Promise<Extension[]> {
const cachedExtensions: Extension[] | undefined =
Expand Down
2 changes: 1 addition & 1 deletion src/scripts/FetchListsFromCMS/FetchTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Tool, ToolRef } from "./types";
import client from "../../../tina/__generated__/client";
import NodeCache from "node-cache";

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

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

0 comments on commit a88ac6c

Please sign in to comment.