This repository contains web versions (.html) and/or a nodejs versions (.js) for various tools used for development of Super Mario Construct, focusing on usage with and without ownership of a construct 3 license. Provided scripts are developed by MrGerund (The Flying Dutchman) and published by Level Share Square.
Nodejs versions require installation of nodejs and npm, with the required packages installed. The web version can be opened in a browser directly and will also be hosted on the Level Share Square website during its lifetime.
Web versions can be hosted publically with use of nginx: Make sure to create a new folder inside of the HTML5 folder in your build and name it. Inside of your new folder, you can place the .html file and rename it to index.js, then open the URL https://YOUR_DOMAIN.TOP_LEVEL_DOMAIN/html5/FOLDER_NAME on your site to view it. (only applicable if you own a domain)
Find the web version on Level Share Square or run the HTML file directly in your browser.
To run the nodejs version, run node palette_tool.js in your terminal at the target directory after installing nodejs & npm. Run the following commands in a terminal if they haven't been ran before:
npm i jimpnpm i fsnpm i path
Please note that:
- The input accepts paths to images AND folders.
- The first image in a folder is ALWAYS used as a reference for how many RGB values to extract, meaning duplicates will be included to account for overlap.
- If your other palettes contain more colors, append "true" to the command to disable the first-image-reference (manual edits will be required).
Find the web version on Level Share Square or run the HTML file directly in your browser.
This tool relies on palette strings to apply colors to an image. You can find these palette strings in the JSON file of the palettes folder, either in /files/palettes or in /www/palettes, depending on whether you se the source code or the desktop build.
Find the web version on Level Share Square or run the HTML file directly in your browser.
This tool is used to create/change pages in the editor menu of SMC, enabling you to change or add entirely new tilesets in it. You require a tilemap, a tile layout file for the game style and its corresponding index. Using this tool requires the source cool and involves complex steps further documented within the tool itself.
Find the web version on Level Share Square or run the HTML file directly in your browser.
An easy-to-use tool into which you can load any image with a 16x16 or 32x32 derivative grid. Used to rearrange pixels into a new slot.