This release packs a lot of bug fixes and DevX improvements. It resolves every issue we faced during the GMTK game jam when using Vectarine.
New features
loadScriptis no longer needed, you can just callrequireto import other Luau scripts!- The coords API is nicer, you can now write:
coord.px(1,2)instead ofcoord.px(Vec.V2(1,2)) - Reworked the
textwidget API to make it more natural - Added a
spacerwidget to efficiently add space between widgets - The editor now shows a list of recently opened projects!
- The editor no longer covers the game! No need to use the separate windows mode!
- Added runtime detection for cyclic imports
- Added
Open folder in text editorbutton to open your game project in your editor in one click
Fixes
- Fix crash when loading some
mp3 - Fix bug preventing to pause audio resources
- Fixed blurry editor interface on high dpi displays
- Fixed incorrect "anomalously long frame" message being sometimes displayed
- Fixed editor interface being too small on Linux
- Fix
coord.pxfunction returning small pixels on high dpi displays - Fix the
luau-apifolder not being updated when a project is loaded
Miscellaneous
- The official website is now vectarineengine.com!
- Updated the documentation to use lower-case imports.
We now recommend using:
local io = require("@vectarine/io")
instead of:
local Io = require("@vectarine/io")
As it allows automatic imports using the LSP and is more consistent with other Lua runtimes.
There is now a vectarine subreddit.
Asking questions on the subreddit is preferred over discord as reddit posts can be searched on Google which makes it easier for newcomers to find the answers they need.
Happy game building! ❤️