Author Topic: Pixel Events - Open Beta  (Read 10980 times)

[Check out the developement topic here]
Pixel Events

Pixel events are events used to easily create and color images on a brick. These could be used for presentations, advertisements, or for use in evented computers and telivisions.
Features
    • Display dynamic images using few shapes
    • Save and load groups of pixels and images for later
    • Create text with only a few events
    • Color large ranges of pixels, quick and easily
    • Turn any brick into an assortment of pixels
    • Recolorable templates and text
    • Efficient pixel management
Events
Pixel_Create [Direction] [Position] [Color]
Creates a canvas of pixels facing [Direction] north, south, east, or west at either the [Position] front, middle, or back of the brick with the default [Color].
Pixel_Destroy
Destroys the canvas of pixels.
Pixel_Color [Mode] [Coord1] [Coord2] [Color]
[Mode] Range - Colors a range of pixels starting at [Coord1] and ending at [Coord2]
[Mode] Double - Colors [Coord1] and [Coord2] to [Color]
[Mode] Background - Colors the background to [Color]
[Mode] Rectangle - Creates a rectangle starting at [Coord1] with the scale [Coord2]
Pixel_Text [StartPos] [Text] [Color]
Displays [Text] starting at [StartPos]
Pixel_Save [Folder] [Name] [StartPos] [Scale]
Saves the pixels from [StartPos] with the scale of [Scale] to the folder under the name
Saving under the "Local" folder will save it under your ID. Only your bricks can overwrite your saves.
Saving under the "Global" folder will allow anybody to overwrite your saves.
Pixel_Load [Folder] [Name] [StartPos]
Loads the pixels from the corresponding [Folder] under the [Name] starting at [StartPos]
Pixel_Hide [Mode] [Coord1] [Coord2]
[Mode] Range - Hides a range of pixels starting at [Coord1] and ending at [Coord2]
[Mode] Double - Hides [Coord1] and [Coord2]
[Mode] Background - Hides the background
[Mode] Rectangle - Hides a rectangle starting at [Coord1] with the scale [Coord2]
Pixel_UnHide [Mode] [Coord1] [Coord2]
[Mode] Range - Unhides a range of pixels starting at [Coord1] and ending at [Coord2]
[Mode] Double - Unhides [Coord1] and [Coord2]
[Mode] Background - Unhides the background
[Mode] Rectangle - Unhides a rectangle starting at [Coord1] with the scale [Coord2]
Pixel_IfPixel [Coord] [Mode] [Color]
[Mode] IsColor - If the pixel at [Coord] is [Color]
[Mode] IsHidden - If the pixel at [Coord] is hidden
[Mode] IsUnHidden - If the pixel at [Coord] is unhidden (visible)
[Mode] IsBackground - If the pixel at [Coord] is the same color as the background.
Credits
    • Jasa - Everything
Important Notes
Pixel_Create is Admin Only as this is the most intensive event. If somebody on your server wants to use pixel events, give them admin at your own will.
If you have issues with Pixel_Create not working /ClearPixels
If you have issues with adding events to bricks /DisablePixelDebug (on by default) and /EnablePixelDebug to re-enable it.
There is no limit as to how many groups of pixels you can have or the size of them. The only limit is what your system can handle. Though, I wouldn't suggest turning anything larger than a 16x cube into a group of pixels.
To view the pixels on most bricks disable rendering
Putting Pixel_Text on a brick will set up the events for you if PixelDebug is enabled.
Pixel_Save automatically crops the image you are saving.
Pixel_Load occasionally crashes the server.
If an admin uses this add-on to crash your server it's your fault for giving them admin.
In order to use Pixel_Text you need to have fonts installed.
You can download the fonts HERE. To install them extract the zip to config/server/PixelEvents/fonts/

Last but not least, this is an open beta. There will be bugs.

Download Last updated 10/5
If you find any bugs please send me a PM over the forums, keep in mind I won't be able to respond.
« Last Edit: October 05, 2013, 10:27:38 PM by Plexious »

R.I.P.



I think this goes in Modification Discussion.

R.I.P.



I think this goes in Modification Discussion.

There is already a Mod discuss topic for this.



And you get tired of waiting on me to test the events on your server?

And you get tired of waiting on me to test the events on your server?
No. This is just a faster way of finding bugs.
« Last Edit: July 21, 2013, 12:56:22 PM by Plexious »

Beta usually implies that the add-on is not finished yet. The add-ons section is for finished add-ons only.

Beta usually implies that the add-on is not finished yet. The add-ons section is for finished add-ons only.
This is finished. It just has some bugs that need fixed.

This is finished. It just has some bugs that need fixed.

I'm still pretty sure that it goes in Modification Discussion

Do you perhaps have a video demonstration?






Bump - any progress?
2 weeks, 21 downloads, and no bug reports at all. I'm going to give it a while.

2 weeks, 21 downloads, and no bug reports at all. I'm going to give it a while.
I'll download it when I get home next week, going to use it for an advanced computer project (pixel brick monitor), I'll tell you how it goes. Would be nice if you could upload a quick tutorial for all the features and events.