adroitwhiz

Results 38 issues of adroitwhiz

Depends on #210. This PR makes a few changes as progress towards #212: - Instead of stepping each script once per frame, we do what Scratch does and keep going...

Currently, most methods lack JSDoc comments. Being able to hover over a method name and see full documentation for it could be really powerful in the Leopard editor (which I...

enhancement

Right now, Leopard's execution semantics seem to be rather simple--we step each script once per frame. This is close enough to what Scratch does in many cases, but in actuality...

Depends on #207. This gets rid of the `clones` hierarchy and `_layerOrder` property, and stores every rendered target (sprite, stage, or clone) in one array kept in layer order. Clones...

There are a couple places in the codebase where we have an object that is a `Sprite` *or* a `Stage`, and we need to check if it's visible. Because `visible`...

Resolves #205. Instead of calling renderLayers, which will not render hidden sprites, call renderSprite directly. In addition, "touching mouse" should not early-return false if the sprite is hidden.

Breaking this out from https://github.com/leopard-js/leopard/issues/124 (implementing "stop" blocks), because implementing a "stop" button next to the "green flag" button also requires this behavior.

Most of these seem to be from the "if on edge, bounce" PR. In the future, we should consider setting up some CI for pull requests that lints and typechecks...