Skip to content

Releases: kaplayjs/kaplay

4000.0.0-alpha.18

12 Apr 14:58
Compare
Choose a tag to compare
4000.0.0-alpha.18 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 4000.0.0-alpha.17...4000.0.0-alpha.18

3001.0.12

12 Apr 14:05
Compare
Choose a tag to compare

Never push to production on Friday

[3001.0.12] - 2025-04-12

Fixed

Full Changelog: 3001.0.11...3001.0.12

3001.0.11

12 Apr 04:22
Compare
Choose a tag to compare

This is probably the final release with a feature proper of v4000. From now, v3001 will be maintained with bug fixes, but not more with features. All efforts will be on v4000, so you should give a try

[3001.0.11] - 2025-04-12

Added

  • Added CSS Colors! 🎨 (experimental) - @lajbel (based on
    @dragoncoder047 idea) (experimental)

    color("slateblue");
    color("red");
    color("wheat");
    color("tomato"); // yum!
  • Added loadHappy() font to load a default font, happy :D - @lajbel

    kaplay({ font: "happy" });
    loadHappy();
    
    add([text("ohhi")]);

Fixed

4000.0.0-alpha.17

22 Mar 18:35
Compare
Choose a tag to compare
4000.0.0-alpha.17 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 4000.0.0-alpha.16...4000.0.0-alpha.17

3001.0.10

22 Mar 19:55
Compare
Choose a tag to compare

[3001.0.11] - 2025-04-12

Added

  • Added CSS Colors! 🎨 (experimental) - @lajbel (based on
    @dragoncoder047 idea) (experimental)

    color("slateblue");
    color("red");
    color("wheat");
    color("tomato"); // yum!
  • Added loadHappy() font to load a default font, happy :D - @lajbel

    kaplay({ font: "happy" });
    loadHappy();
    
    add([text("ohhi")]);

Fixed

4000.0.0-alpha.16

15 Feb 10:42
Compare
Choose a tag to compare
4000.0.0-alpha.16 Pre-release
Pre-release

Hey, lajbel here. It's been a while without any new alphas. From now, we will release a new alpha every Saturday.

I can say that this new alpha brings the last changes of the last 2 months. I will soon create a better way to track specific alpha changes, but here is the general changelog:

What's Changed

New Contributors

Full Changelog: 4000.0.0-alpha.15...4000.0.0-alpha.16

3001.0.9

15 Jan 15:38
028f65c
Compare
Choose a tag to compare

Hey! lajbel here 😃, two weeks without updates and now we have TRIPLE UPDATE. Great bug fixes coming in 3... 2... 1...

[3001.0.9] - 2025-01-15

Added

  • (examples) Added a new particle example! - @lajbel

Changed

  • Improved lifespan() explanation - @lajbel
  • (examples) particle example renamed to lifespan - @lajbel

Fixed

  • Fixed a bug where lifespan() was working incorrectly - @lajbel

3001.0.8

15 Jan 14:13
Compare
Choose a tag to compare

Hey! lajbel here, a little fix for a big bug!

[3001.0.8] - 2025-01-15

Fixed

  • Fixed a bug where alpha channel wasn't correctly setted - @mflerackers

3001.0.7

15 Jan 11:43
Compare
Choose a tag to compare

Hey! lajbel here 😄

We're publishing this little version with some bug fixes related to font atlases and a new feature that probably much of you, shader users, will find useful! I left you with the changelog, thank you for support KAPLAY ❤️

[3001.0.7] - 2025-01-15

Added

  • Added kaplay({ spriteAtlasPadding }) for setting the space between the
    sprites in the sprite atlas - @marianyp

    kaplay({
        spriteAtlasPadding: 10, // 10 pixels of space between each sprite
    });

Changed

  • Now you cannot pass parameters that are not a component or string to .use().
    Otherwise it will throw an error - @lajbel

Fixed

  • Fixed a bug where font atlas were working strange - @mflerackers

v3001.0.6

27 Dec 04:12
Compare
Choose a tag to compare

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) - @lajbel

    trigger("shoot", "target", 140);
    
    on("shoot", "target", (obj, score) => {
        obj.destroy();
        debug.log(140); // every bomb was 140 score points!
    });
  • Added { override?: true } in CharTransform for overridding text styles -
    @dragoncoder047

    add([
        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 } in TextCompOpt 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