Skip to content

Commit

Permalink
Merge pull request #192 from UnsignedArduino/staging
Browse files Browse the repository at this point in the history
Add some extensions and tool
  • Loading branch information
UnsignedArduino authored Nov 20, 2024
2 parents 40e4388 + a88ac6c commit 4ad00c6
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 5 deletions.
8 changes: 8 additions & 0 deletions content/extensions/077-riknoll---arcade-mml.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
repo: "https://github.com/riknoll/arcade-mml"
links:
- title: Forum post
url: "https://forum.makecode.com/t/extension-arcade-mml/31351?u=unsignedarduino"
---

Similar to the RTTTL extension that parses RTTTL strings for music, this extension parses [MML](https://en.wikipedia.org/wiki/Music_Macro_Language) strings! This extension adds a `MML` category to the toolbox.
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.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
url: "https://github.com/UnsignedArduino/Arcade-MIDI-to-Song"
project: UnsignedArduino/Arcade-MIDI-to-Song
url: "https://github.com/UnsignedArduino/MIDI-to-MakeCode-Arcade"
project: UnsignedArduino/MIDI-to-MakeCode-Arcade
isNotWebsite: true
links:
- title: GitHub repo
url: "https://github.com/UnsignedArduino/Arcade-MIDI-to-Song"
url: "https://github.com/UnsignedArduino/MIDI-to-MakeCode-Arcade"
- title: Forum post
url: "https://forum.makecode.com/t/new-song-format/17763/11?u=unsignedarduino"
- title: Demos
Expand Down
13 changes: 13 additions & 0 deletions content/tools/014-UnsignedArduino---MakeCode-Arcade-to-Electron.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
url: "https://github.com/UnsignedArduino/MakeCode-Arcade-to-Electron"
project: UnsignedArduino/MakeCode-Arcade-to-Electron
isNotWebsite: true
links:
- title: GitHub repo
url: "https://github.com/UnsignedArduino/MakeCode-Arcade-to-Electron"
- title: Forum post
url: >-
https://forum.makecode.com/t/convert-your-makecode-arcade-games-to-electron-apps/31352?u=unsignedarduino
---

I have written a Python script that will turn your MakeCode Arcade games into cross-platform standalone offline-capable Electron apps! Note that this tool requires at least Python 3.12 and Node.js 21 on a computer, your MakeCode Arcade game deployed to GitHub Pages, and command line knowledge is highly recommended! Check the GitHub README for more information.
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 4ad00c6

Please sign in to comment.