Kaboom.js please help me

im trying to make a scene but it wont load in my player this is my code:

scene ('overworld 1', () => {
        addLevel([
            '                            ',
            '                            ',
            '                            ',
            '                            ',
            '                            ',
            '        +|          #       ',
            '        +           #       ',
            '        +           #       ',
            '        +           #       ',
            '        +           #       ',
            '        +           #       ',
            '        +           #       ',
            '         &%s  n   ^&        ',
            '          +www!www#         ',
            '          +wwwwwww#         ',
            '          +wwwwwww#         ',
            '          +wwwwwww#         ',
            '                            ',
        ],
            {
                width: 80,
                height: 80,


                 ".": () => [
                    sprite("void 2"),
                    scale(10000, 330),
                    layer("void")
                ],
                 "c": () => [
                    sprite("void 3"),
                    scale(10000, 330),
                    layer("void")
                ],
                "$": () => [
                    sprite("wall"),
                    scale(600, 600),
                    layer("dbbg")
                ],
                "+": () => [
                    sprite("wall right"),
                    solid(),
                    area(),
                    scale(3, 3),
                    layer("ui"),
                ],
                "#": () => [
                    sprite("wall left"),
                    solid(),
                    area(),
                    scale(3, 3)
                ],
                "%": () => [
                    sprite("wall turn 2"),
                    solid(),
                    area(),
                    scale(3, 3),
                    pos(0, 10)
                ],
                "^": () => [
                    sprite("wall turn 3"),
                    solid(),
                    area(),
                    scale(3, 3),
                    pos(0, 10)
                ],
                "<": () => [
                    sprite("wall turn 4"),
                    solid(),
                    area(),
                    scale(3),
                    pos(0, -9.9)
                ],
                "w": () => [
                    sprite("909 water"),
                    area(),
                    solid(),
                    scale(3, 3),
                    layer("bg")
                ],
                "|": () => [
                    sprite("ground"),
                    scale(28, 17.82),
                    layer("bbg")
                ],
                "s": () => [
                    sprite("ground"),
                    scale(17.5, 3),
                    layer("bg")
                ],
                "!": () => [
                    sprite("boat"),
                    area(),
                    solid(),
                    scale(3, 3)
                ],
                "v": () => [
                    sprite("void 1"),
                    scale(10000, 330),
                    layer("void")
                ],
                "&": () => [
                    sprite("wall up"),
                    solid(),
                    area(),
                    scale(3, 3),
                    layer("bg"),
                    pos(0, 9.999)
                ],
                "1": () => [
                    sprite("wall hinge 1"),
                    solid(),
                    area(),
                    scale(3)
                ],
                "2": () => [
                    sprite("wall hinge 2"),
                    solid(),
                    area(),
                    scale(3)
                ],
                "3": () => [
                    sprite("wall hinge 3"),
                    solid(),
                    area(),
                    scale(3)
                ],
                "4": () => [
                    sprite("wall hinge 4"),
                    solid(),
                    area(),
                    scale(3),
                    layer("ui")
                ],
                "d": () => [
                    sprite("wall down"),
                    solid(),
                    area(),
                    scale(3),
                    pos(0, -9.9)
                ],
                ">": () => [
                    sprite("wall turn 1"),
                    solid(),
                    area(),
                    pos(0, -9.9),
                    scale(3)
                ]
            });

    })
    
go('overworld 1')

I’ve edited your code for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

sorry everyone heres the link i guess
https://replit.com/@lelandisnothere/nora#code/main.js

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.