A Scratch Extension getting Super Mario Maker 2 Course World data. Unofficial.
Here's how to get started with the Super Mario Maker 2 Extension. This full documentation will contain most information about the Extension and it's uses.
First, you go to the Official Code and click copy!
Next, go to TurboWarp -> Add an Extension and you should see this screen:
You want to click on TurboWarp and click Custom Extension:
Once clicked, go to the Text tab and paste the code. NOTE: Make sure you click the "Run Extension without Sandbox" or else it won't work!
If you see the tab in the left toolbar, it means that the extension worked!
Now let's move onto the blocks!
There are many blocks to play around with, but let's go over some things first!
If you ever get this message, Click Allow.
The first block you'll most likely see is this block:
If you click on it, you'll get the data of the Level by its Level ID. Check out MakerCentral and put any code you want to see!
Here are the list of booleans that will return true or false depending on the level ID
The block will return true if the Level has been fetched. It will return false if it's an invalid Level ID.
The block will return true if the Level has a Clear Condition e.g. Reach the goal after grabbing X coins.
The block will always return false unless the Level has no World Record, making it uncleared.
This reporter will return a value depending on the dropdown. Here are all the dropdowns and their descriptions:
title - Get's the level title
description - Get's the level description
author - Get's the level author
courseid - Get's the Level's ID.
uploaded - Upload Date of the Level
gamestyle - Gets the Level Gamestyle. LIST OF GAMESTYLES: SMB, SMB3, SMW, NSMBU, SM3DW
theme - Get's the Level's theme.
difficulty - Get's the Level's difficulty. LIST OF DIFFICULTIES: Easy, Normal, Expert, Super Expert
tags - Get's the level's tags.
comments - Get's the amount of comments in the level
likes - Get's the amount of likes in the level
clearrate - Get's the clear rate percentage. Note: If the level returns 0%, that doesn't mean it's uncleared!
image - Get's the image URL of the Level
worldrecord - Get's the World Record holder of the Level
clear condition - Get's the level's clear condition. If there is none, it will return nothing.
Note
The Reporter will return false for everything when an Invalid Level ID is set.
This hat block works similarly to the booleans but in a hat block. Note that this block is only supported in unsandboxed extensions
The blocks act similar to the Level Data Blocks but they have more usage.
Similar to the Level Data Blocks, to get the data, click on the block below:
If you want to search for users, please visit MakerCentral
List of Blocks in the Category
This block acts similarly to the Level Status Code block but for Maker IDs!
Similar to the Get Level reporter, it will return a value depending on the dropdown. Here are all the dropdowns and their descriptions:
Important
This list is very long. If you do not want to read it, please skip it.
region - Get the Maker's region
country - Get the Maker's country
name - Get the Maker's name
last active - Get the Maker's last online date
mii image - Get the Maker's Mii Image
pose name - Get the Maker's pose name
hat name - Get the Maker's hat name
shirt name - Get the Maker's shirt name
pants name - Get the Maker's pants name
courses played - Get the Maker's amount of Courses that they Played
courses cleared - Get the Maker's amount of Courses that they Cleared
courses attempted - Get the Maker's amount of Courses that they Attempted
courses deaths - Get the Maker's amount of Courses that they died
likes - Get the Maker's total amount of likes
maker points - Get the Maker's Maker Points
endless easy highscore - Get the Maker's Endless Easy Highscore
endless normal highscore - Get the Maker's Endless Normal Highscore
endless expert highscore - Get the Maker's Endless Expert Highscore
endless super expert highscore - Get the Maker's Endless Super Expert Highscore
versus rating - Get the Maker's Versus Rating
versus rank - Get the Maker's Versus Rank (Max: S+)
versus won - Get the Maker's Versus levels they won
versus lost - Get the Maker's Versus levels they lost
co-op plays - Get the Maker's Co-Op plays
co-op clears - Get the Maker's Co-op Clears
first clears - Get the Maker's amount they First Cleared on a stage
world records - Get the Maker's amount they hold the World Record on a Stage.
super world clears - Get the amount of Super World Clears the Maker has.
uploaded levels - Get the number of levels the Maker uploaded
tags enabled - See if tags can be edited on their Stages
comments enabled - See if they have comments enabled
employee - See if the Maker is a Nintendo Employee
This block gets the Level Thumbnail and puts it as a costume in your sprite!
The block can be a bit buggy. If there is a problem with the conversion, please send an issue.
DISCLAIMER: The Ninji Speedruns by Nintendo have been discontinued - The data will be the same.
This category gets Ninji Speedruns Data.
This block gets the latest Ninji Speedruns.
This block acts similarly to the User and Level Status Block.
This block gets the Ninji Speedrun by Index. There are 22 Ninji Speedruns currently.
Index Number 1 will give you the latest Ninji Speedrun.
Here are all the dropdowns for the reporter:
name - Get the Speedrun Name
description - Speedrun Description
upload date - Speedrun's Upload Date
game style - Speedrun's Game Style
theme - Speedrun's Theme
end date - Speedrun's End Date
clear condition - Speedrun's Clear Condition
These are currently experimental blocks and may not be in the future update. Please do not use them in your projects as they might be hidden forever in the palette.
That's it for the Super Mario Maker 2 Extension Documentation. If you liked the Extension, please give it a star and follow me on Scratch!
There will be updates, betas, and more in the official Scratch Forum
You can share your reports on this GitHub repository or the Scratch Forum.