Update 0.31.0
New Features
- Lua Engine was updated to the new version 5.4.
- New Render functions:
UpdateItemText
andUpdateItemPosition
(to update currently existing Items position and text (if is a Canvas Text)).
- New Render Event:
ViewportResized
.
- Render Items
ID
now is calledGroup ID
. When you create a new Canvas Item, it now returns anItem ID
which can be used on methodsUpdateItemText
andUpdateItemPosition
to update their properties.
Improvements
- Now the package
NanosWorldWeapons
is included as a built-in package and can be included by justPackage:RequirePackage("NanosWorldWeapons")
without the need of downloading it in your Packages/ folder anymore.
- Added operators
+
,-
and*
to Vector2D, this library is open sourced at https://github.com/nanos-world/nanos-world-lua-lib.
- Now events will be properly catched by entity:on(""), without the first parameter which was the entity itself. I.E. you can properly define events for specific entities objects.
Bug Fixes
- Fixed
Character:on("Death")
andCharacter:on("Respawn")
not working on Client side.
- Fixed a bug not allowing to store tables in
:SetValue()
.
- Fixed some crashes and bugs.