Skip to content

0.16.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@shinespeciall shinespeciall released this 29 Jan 06:02
· 23 commits to master since this release
57dcb1a

0.16.1:
(major changes)

  • the WL4ditor will now open the Room where you hit save last time.
  • Change the API container object name from "interface" to "WL4EditorInterface" due to js reserved keywords will cause Error when put them inside classes
  • support bgm name customization in project configuration json file.
  • support customizing entities' oam data in project configuration json file to change their graphics in the WL4Editor.
  • Add "CurrentRoomHintLayer" as a new js object to draw custom rectangle, line and text on the hint layer of the current Room. the new APIs under this object include: GetAutoGeneratedHintLayer(), GetblankHintLayer(), drawRect(...), drawLine(...), drawText(...) and SubmitHintLayer().
  • Support custom hint render by js script, you can config the js file path in the project setting json file.

(minor changes)

  • Add spinbox to the main window to let users set current Room ID directly.
  • support editing Layer 2 mapping type value in Room Config Dialog.
  • Modify the logic of 2 script API functions GetFitnessJoinTile16_XX(), they can at least work this time, but only work like some helper functions. you cannot use it to directly check if 2 Tile16s have joinable edges since it's hard to implement edge cases.
  • Add API: void interface.DoEvents(), which does something similar to the DoEvents() in VB.
  • Add the "Abort" button for the js script output window. if you contains the interface.DoEvents() in your heavy logic, you can abort the running script.
  • Add API: String interface.GetCurRoomAllDoorsRangeData().
  • Add API: void interface.PrintEntityDefaultOAMData(int globalEntityId).
  • Fix pressing the Add (palette) button in the left panel of the Sprites Editor will crash the whole WL4Editor.
  • Add API: String interface.GetEntityListSource() to get the current entityset data of the current Door in the Room.