Closed
Description
While convenient for an expert, the current initialiser style:
new Sprite({
costume: '⛄',
angle: 10,
// ...
})
...is way harder for a beginner than the following would be:
var snowman = new Sprite
snowman.costume = '⛄'
snowman.angle = 10
// ...
The levels of nesting/brackets etc are a massive pain to manage for someone new to programming or new to JavaScript.
And as a bonus, this way we don't have to teach them separate syntaxes for initialisation and for changing things later.
@PullJosh @jamesdoc @ISNIT0 Thoughts?
I'm also considering replacing forever(() => {…})
with sprite.forever(() => {…})
.