Hey! New release in these holiday dates 🎅🏻
This update comes with some update in texts and finally adding the global trigger! I left you the changelog. Thanks for staying up with KAPLAY! And merry xmas!
[3001.0.6] "Santa Events" - 2024-12-27
Added
-
Added
trigger(event, tag, ...args)
for global triggering events on a
specific tag (experimental) - @lajbeltrigger("shoot", "target", 140); on("shoot", "target", (obj, score) => { obj.destroy(); debug.log(140); // every bomb was 140 score points! });
-
Added
{ override?: true }
inCharTransform
for overridding text styles -
@dragoncoder047add([ pos(100, 150), text("With override: Hello [foo]styled[/foo] text", { transform: { color: BLACK, // Default text color for every character }, styles: { foo: { color: RED, // [foo] will be red override: true, // will override the black def color }, }, }), ]);
-
Added
{ indentAll?: boolean }
inTextCompOpt
to indent every new line -
@dragoncoder047 -
Added TypeScript definition for all App Events and missing Game Object
Events - @lajbel
Fixed
- Fixed an incorrect mention to the component in
TextInputComp
type -
@dragoncoder047