Skip to content
This repository was archived by the owner on Nov 12, 2024. It is now read-only.

Migration guide to version 3000 is missing the layers() and layer() functions #796

@aletzo

Description

@aletzo

Hi,

Trying to learn Kaboom by following the Mario tutorial (https://docs.replit.com/tutorials/kaboom/build-mario-with-kaboom), but it seems that it was written for a version older that 3000. So I'm trying to make it run with version 3000 using the migration guide (https://kaboomjs.com/doc/migration-3000). I can see that origin() is now anchor(), solid() is replaced with body({ isStatic: true }), but no mention about layers() and layer().

Also I forked the updated working version from https://replit.com/@techwithanirudh/Mario-Updates?v=1, but it's also using the functions from the older version (solid(), origin(), layers(), etc ).

Any idea?

I can help with updating the migration docs and the tutorials if you want. Just need some help to get started.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions