- BrickPlanet Forum
- Game & Scripting Discussion
- Client and Workshop Changelog
Update changelogs will be posted as replies to this thread.
1: Documentation has been updated, more examples and other improvements have been made 2: Client update:
- Fix GetParent and GetRoot erroring sometimes when they shouldn't and stopping script execution.
- MathExt class additions - Remap, SineWave, CosineWave
- Fix tool events running on other clients in LocalScripts
Added the ability to multiple and do >= and <= on Vector3s
Workshop: Autosaving system "Open Autosave Folder" button Don't run cache code on texture id 0 Minor fixes and improvements elsewhere
Client Update pushed
Improvements to visibility system, less stuttering/hitching Ultra low mode has been fixed and improved Place loading has been improved.
Some Dynamic Functions have been adjusted to work properly with LocalScripts
Press F12 to unlock the cursor while in First Person / First Person lock
Player.AllowSprinting = true/false - Enable/disable the ability to Sprint
Player camera functions have been moved to Player.Camera. Sorry for the change, but I should've seperated it properly in the first place. It's worth it for the organization.
LocalScripts have been fixed. For an update or two, they stopped functioning mostly.
AllowSprinting, FirstPersonLock = Player Variable now
General bug fixes and improvements
Packet size improvements Tools should no longer persist in a players hand (hopefully) New FPS counter. Not as complex as the last one, but less buggy and is less intensive. Visbility system improvements Internal improvements
Add button to disable footstep and death sounds
Window focus & cursor improvements
Add script.ScriptStepped (script update loop event)
PlayerLeft event improvements
Add function parameter onlyCollidable to RaycastClosest and RaycastAll so you can only raycast to collidable objects (for example, a bullethole part that has cancollide off would not be hit if this is set to true) - Defaults to false to match old functionality. At the moment if there is nothing else to "hit" it will still match it, but in the future you will be able to entirely go through these parts.
& Other improvements and fixes
Added json library as a built in library. json.encode, json.decode.
Tables can now be passed into Datastore SetData and returned by GetData without any issues (automatically serialized into JSON)
Fixed GetKeyHeld/GetKeyDown internal erroring when they weren't supposed to.
Added Third Person player rotation lock / Alt Lock / "Shift Lock". Press Left ALT to toggle on/off.
Improved synchronization and quality of Players over the network (better netcode and more updates). Players should look better when moving around and such.
Add error(string message) function that prints an error message and stops execution of the script.
Enhanced error messages with more information for when Scripts error.
Enhanced Print and PrintWarning messages.
More MathExt functions (PerlinNoise and more) (Make sure you check these out, I added some weird stuff in here) (https://docs.brickplanet.com/class/MathExt.html)
Loading screen improvements.
Basic scripted User Interface support has been pushed in an update.
https://docs.brickplanet.com/class/UI.html
This is an early beta testing version of this system.
Dynamic clone limit raised. Layout system added, check docs. UI Element parentage added. UI Element Width and Height. and more.
Added Slider Added Dropdown Added OnHoverEnter, OnHoverExit, OnClick events to all UI Elements
Improve part culling, should be less overkill now and a little more performant.
- Improved 3D model loading / fixed bugs
- Added UIElement:Delete()
- Added Player:AddVelocity(Vector3 velocity)
- Added Player:SetVelocity(Vector3 velocity)
Add UIElement.TextureID - Sets Texture of UI Element. Issues with AddVelocity and SetVelocity randomly erroring (hopefully) fixed. Fix alpha resetting when setting color values