diff --git a/site/mods/Pixi/img-pixi-gc.png b/site/mods/Pixi/img-pixi-gc.png new file mode 100644 index 0000000..3befe1e Binary files /dev/null and b/site/mods/Pixi/img-pixi-gc.png differ diff --git a/site/mods/Pixi/img-pixi-gc2.png b/site/mods/Pixi/img-pixi-gc2.png new file mode 100644 index 0000000..e200256 Binary files /dev/null and b/site/mods/Pixi/img-pixi-gc2.png differ diff --git a/site/mods/Pixi/index.html b/site/mods/Pixi/index.html index 871a791..674d464 100644 --- a/site/mods/Pixi/index.html +++ b/site/mods/Pixi/index.html @@ -17,42 +17,167 @@ Pixi
-
-

Page Title

-
Brief page description or flavour text.
+
+ +
+
+ + Pixi + +
-
-
-
-

Pixi information goes here. - For now, this is just useless text that I spent a bit too much time typing out. - Once, there was a young swallow-tail butterfly named Bob. - Bob was a cool butterfly, until one day some guy came after him. - The guy was well-known in the modding community for making cool mods that involved snakes and termites (terminals?). - The guy wanted to make a logo, so he ripped Bob's wings off and used the wings to create the logo for Pixi. - Pixi is a Gamecraft mod for converting a variety of stuff into Gamecraft blocks. - And thus Pixi was born, amen. +

+ Convert images, Robocraft bots and more into Gamecraft blocks. +
+
+
+

+ Pixi adds new commands to Gamecraft's command line to import images, and other stuff, into a game. + Since Pixi places vanilla Gamecraft blocks, imported files should be visible without Pixi installed. + See the background image above this? + That's a picture of Super Mario Bros World 1-1 in Gamecraft using the Pixi2D command for image importing. +

+
+
+ + Installation +
+
+

+ Before installing Pixi, please patch Gamecraft with + GCIPA and install the latest version of + GamecraftModdingAPI. + + Once that's done, download Pixi's latest release + and then copy Pixi.dll into the Plugins folder in Gamecraft's main folder. + Alternately, follow the install guide + (ignore the part about a zip file -- move Pixi.dll into the Plugins folder instead). +

+
+
+ +
+ + Robot Importing +
+
+
+

+ PixiBot "[bot search text]" downloads the first search result from Robocraft's community Factory and places it beside you. +

+ PixiBotFile "[bot filename]" converts a bot from rcbup to blocks and places it beside you. +

+

+ In the previous commands, anything between (and including) [ and ] is a command argument that you must replace. + Do not remove the quotation marks -- those are required for the command to work. + These commands also have a hidden scaling property which is set to 3 by default. + Changing the scaling will disable conversion for all Robocraft blocks except simple blocks. +

+

+ For example, if you want to import a robot from the CRF called Pixi Art, execute the command PixiBot "Pixi Art" to load the robot into your Gamecraft game world. +

+
+
+ +
+ + Image Importing +
+
+
+

+ Pixi2D "[image filename]" converts an image to blocks and places it beside you. + High-opacity (>75%) pixels are converted to the block you're holding, medium-opacity (>50%) pixels are converted to glass and low-opacity (<50%) pixels are skipped. +

+ PixiText "[image filename]" converts an image to text and places a text block with that text beside you. +

+ PixiConsole "[image filename]" "[text block id]" converts an image to text and places a console block beside you which changes the specified text block. +

+

+ In the previous commands, anything between (and including) [ and ] is a command argument that you must replace. + Do not remove the quotation marks -- those are required for the command to work. + These commands assume that the specified image is in the same folder as Gamecraft. + If your image is in a different folder, please provide the full filepath (eg C:\path\to\image\my_image.png) and put a @ before the quotation marks. + The Pixi2D command also has a hidden rotation property. + By default, the image will be placed along the xy-plane (rotation 0,0,0). +

+

+ For example, if you want to import an image called pixi_art.png that's stored in Gamecraft's installation directory, execute the command Pixi2D "pixi_art.png" to load the image as blocks. + It's important to include the file extension, since Pixi isn't capable of any black magic. +

+
+
+ + Development +
+
+

+ You don't have to be a developer to help out! Please read the Development section of Pixi's README if you're interested in contributing to Pixi. +

+
+
+ + Acknowledgements +
+
+

+ PixiBot uses the Factory to download robots, which involves a partial re-implementation of + rcbup. + Robot parsing uses information from + RobocraftAssembler. +

+

+ Gamecraft interactions use the GamecraftModdingAPI. +

+

+ Thanks to TheGreenGoblin, who created the Python app for converting images to coloured square characters which inspired the PixiConsole and PixiText commands. +

+

+ Thanks to Mr. Rotor for all of the Robocraft blocks used in the PixiBot and PixiBotFile commands. +

+
+
+ + Disclaimer +
+
+

+ Pixi, Exmods and NGnius are not endorsed or supported by Gamecraft or FreeJam. Modify Gamecraft at your own risk. + Read the LICENSE file for licensing information. + Please don't sue this project or its contributors (that's what all disclaimers boil down to, right?). +
+ For more information, refer to Pixi's source repository: https://git.exmods.org/NGnius/Pixi +

+ Pixi is not magic and is actually just sufficiently advanced technology that's indistinguishable from magic.

-
- Fly, pixi, fly! + +
+ +
diff --git a/site/mods/Pixi/leo-mario_1-1.png b/site/mods/Pixi/leo-mario_1-1.png new file mode 100644 index 0000000..6fb83d4 Binary files /dev/null and b/site/mods/Pixi/leo-mario_1-1.png differ diff --git a/site/mods/Pixi/leo-mario_1.png b/site/mods/Pixi/leo-mario_1.png new file mode 100644 index 0000000..e8b2728 Binary files /dev/null and b/site/mods/Pixi/leo-mario_1.png differ diff --git a/site/mods/Pixi/pixi-double.png b/site/mods/Pixi/pixi-double.png new file mode 100644 index 0000000..0ac6e9f Binary files /dev/null and b/site/mods/Pixi/pixi-double.png differ diff --git a/site/mods/Pixi/pixi-world1-1-banner.png b/site/mods/Pixi/pixi-world1-1-banner.png new file mode 100644 index 0000000..f868cf8 Binary files /dev/null and b/site/mods/Pixi/pixi-world1-1-banner.png differ diff --git a/site/mods/Pixi/rc-pixi-gc.png b/site/mods/Pixi/rc-pixi-gc.png new file mode 100644 index 0000000..e519e75 Binary files /dev/null and b/site/mods/Pixi/rc-pixi-gc.png differ diff --git a/site/mods/Pixi/rc-pixi-gc2.png b/site/mods/Pixi/rc-pixi-gc2.png new file mode 100644 index 0000000..7f44faf Binary files /dev/null and b/site/mods/Pixi/rc-pixi-gc2.png differ diff --git a/site/mods/Pixi/template.html b/site/mods/Pixi/template.html index 871a791..96d47ff 100644 --- a/site/mods/Pixi/template.html +++ b/site/mods/Pixi/template.html @@ -17,26 +17,34 @@ Pixi
-

Page Title

-
Brief page description or flavour text.
+
+ + Title + +
-
-
-
+
+ Page description or flavour text. +
+

Pixi information goes here. For now, this is just useless text that I spent a bit too much time typing out. Once, there was a young swallow-tail butterfly named Bob. @@ -49,9 +57,11 @@

-
+
Fly, pixi, fly!