Further Mod Expansion, Fixes and Optimization Update
A smaller precursor update to a larger once coming soon. We felt like these features would be too useful to keep out of the hands of our talanted community, for more information on new functions / renames, please see the code documentation, here is what has changed:
The New Stuff:
New font manager
The new font manager allows for a wide range of use cases including our new TTF font rendering system, this allows for any TTF font to be imported into ScrapComputers. The new font manager also hosts the ability to do live text scaling, rotation and coloring. Along side this we have a much larger lists of fonts to choose from!
Here is an example:
New LED light component
A simple component which allows you to control the color of a block sized LED light, useful for those moments where you need some sick computer controller mood lighting.
More Python Tools
More python tools, such as: TTF font conversion, an obj model converter and more!
The New Models
VeraDev has been slowly dying in blender once again, he has returned with a new GPS and Laser model, they look very nice!
Here they are
Bigger Environment
Because of these new modules added, we have made our environment a bit bigger to accomodate everything, we have also decided to unlock sm.json.open from the unsafe environment for more choices when it comes to relying on files stored in blueprints.
New Examples
The PONG! and the whiteboard example have been added so you can see how some of the new modules are implemented.
Here is pong in action (with debug mode enabled):
Fixes, Imporvements and Optimizations:
Display
A lot more display optimization has taken place greatly improving the display over a lot more drawing scenarios especially large clear and redraw scenarios. There has also been some improvements to the touch screen system and culling system, find the new functions in the docs.
GPS
An extra point of data has been added to the GPS called degreeRotation which is a euler representation of the GPS's rotation.
Translation manager
Missing and mispelled translations have been rectified, and improvements have been made to the Dutch translation.
Syntax manager
More optimisation and color correction has been done to the syntax manager, making the time it takes to format a lot of text very small while making it look as beautiful as VSCode!
LuaVM
More LuaVM optimisation has been done lowering the benchmark time scores by a few miliseconds.
Component Ratings
Components now have the non default ratings for a bit of realism.
Error Messages
More error management has been added incase something goes wrong with our end, also better error formatting.
Mod GUI's
Components with a GUI will now play audio when you open it.
That's all for this update! We’re always working on more behind-the-scenes improvements, so stay tuned for what's next!