Skip to content

Tutorial tool displaying Python code snippets instead of JavaScript #10897

@Jaqster

Description

@Jaqster

In the Tutorial Tool, if you have a JavaScript tutorial with spy code snippets, it displays them as Python.
Repro -

Arcade JavaScript Tutorial

@explicitHints true

Step

Instructions here....

sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSprite) {
	info.changeScoreBy(1)
    otherSprite.setPosition(randint(0, 160), randint(0, 120))
    info.startCountdown(10)
})

You'll see the code snippet shown in Python instead -

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions