(quasar) nebula
(quasar) nebula
Right now sb-edit converts `sensing_dayssince2000` into this: ```js (((new Date().getTime() - new Date(2000, 0, 1)) / 1000 / 60 + new Date().getTimezoneOffset()) / 60 / 24) ``` In principle, this...
We're going to be doing a sizeable amount of interface reworking in the near future, and it would be nice to verify compatibility with existing Leopard dependants where possible (if...
I'm not really sure how this one passed notice! (Well, the loudness trigger wasn't integrated with sb-edit until currently pending PRs, but timer has been around for a while.) 📦
We've defined a few unions where hard-coded string values are used as mode options: ``` export type SpeechBubble = "say" | "think"; public touching(target: "mouse" | "edge" | Sprite |...
A couple people have ran into issues with their assets suddenly not loading correctly or at all: - #102 - https://github.com/leopard-js/sb-edit/issues/85#issuecomment-1434751574 CodeSandbox is a good online project editor, but doesn't...
Particularly this code (and the rest of this method): https://github.com/leopard-js/leopard/blob/c7e793ba32de207c9cb92741b7ad91848658be1d/src/Sprite.ts#L508-L518 See my comments: --- I get it, but this feels like a distinctly ES5-ism. Is it possible to explicitly provide...
See discussion here: https://github.com/leopard-js/leopard/pull/146#discussion_r1127933998 From @adroitwhiz: > After pondering this for a bit, I've come to the conclusion that this code has actually just been subtly broken the whole time....
(*Original title, created in sb-edit repository: Use Leopard's sprite constructor vars option instead of setting initial variables one at a time*) Current implementation for initial variable values: ```js ` ${[...target.variables,...
(This is technically an sb-edit change, but more pertinent to Leopard.) Scratch doesn't support first-class lists, but JavaScript does, and people digging deeper into Leopard may be interested in treating...
Resolves #119. See the issue for some related (philosophical) discussion. For `control_repeat` blocks whose number of times to repeat is a reporter, this stores that expression in a `times` variable...