Please note that there will be program-breaking changes, so please carefully read the changelog before updating!
I have not yet made any releases or changelog, since the library is not ready for use. most of the information below will be irrelevant or simply incorrect.
If you still want to make use of what I have made up until now, you should already know how to get it running. If you don't, I'd highly recommend waiting a bit until I think its ready for actual use.
PixelOC is a graphics library for OpenComputers. The library is specifically made and tested on GregTech: New Horizons' version of OpenComputers, but might work for other versions as well, I don't know. I made this library with some inspiration from the JavaFX architecture, so it uses classes and Panes
Currently there is no releases yet, since I've only just started work on the library and there will be many program-breaking changes. Want to check it out anyways? Download the repository as a zip and put the UI folder in your OpenComputers computer instead of the zip mentioned below.
- Go to the releases page and download the latest release.
- Unzip the downloaded zip file and put it into the home directory of your OpenComputers computer (if you don't know where to find this, read this)
- Make a program that uses the library! You can find an example in the tests folder.
My current to do list is very long, but notable features include:
- ScrollPane addition
- Color utils, so you can easily use colors from the default colors, and edit the 16 palette colors.
- Multi-line labels for Labeled regions
- More efficient drawing of Panes, which should also only draw objects in their area, not outside of it
- MANY bug fixes, the library is probably full of bugs that I have not yet found. (Did you find a bug? please report it!)
- More, probably...
Please check on the issues page if someone else has also reported this bug. If not, please make a bug report explaining what this bug is, and how you managed to cause it (How can I repeat it?)
If you're an experienced OpenComputers programmer yourself, you can try fixing it yourself and creating a pull request (If you don't know how, you can also provide the code in the bugreport, but pull requests are easier for me to implement!)
- Install the computer you want to run the library on
- Find the address of the hard drive of the computer you just installed
- Locate your world folder (usually found in
%appdata%/.minecraft/saves/<worldname>on windows in singleplayer). Unfortunately I have no idea how you can get the whole library in a computer on a server that you do not have file access to. - In your world folder, locate the
opencomputersfolder, and in that locate the folder with the address of your hard drive. - Congratulations, you will now see a bunch of folders, one of which should be
home