Bernat Romagosa
cf29bec85b
Merge commit 'refs/pull/1007/head' of https://github.com/jmoenig/Snap--Build-Your-Own-Blocks into dev
2017-07-28 13:11:18 +02:00
Jens Mönig
4ef3b64aa4
fold two "stop" commands into one
...
… the one with the flat bottom. The reasoning behind this is that even
when you’ll want the script to continue afterwards, you’ll probably use
it inside a conditional statement, but this way we only have a single
“stop” block
2017-07-27 10:06:51 +02:00
Jens Mönig
a0fe652116
remodelled context menu for inheritance to use check-boxes
2017-07-27 08:33:08 +02:00
Jens Mönig
4744e97275
don't shadow costume # when editing a costume
2017-07-27 07:54:26 +02:00
Jens Mönig
f7ff3074d2
enable type-assertion for list elements (costumes, sounds)
2017-07-26 17:07:18 +02:00
Jens Mönig
e10ed49bb5
added "pen trails" reporter primitive and stage context menu entry
2017-07-26 15:54:39 +02:00
Jens Mönig
08b5947c43
fixed rotation-bug when flipping costumes in "only turn left/right" mode"
2017-07-25 10:13:02 +02:00
Jens Mönig
653864362b
renamed “delete” primitive to “inherit”
2017-07-12 22:06:17 +02:00
Jens Mönig
b44caed4b6
only refresh certain propagated inherited attributes on being dropped
2017-07-12 10:03:38 +02:00
Jens Mönig
a0cbf2993c
“new clone of ...” primitive
...
also made TELL, ASK primitives offiical
2017-07-12 09:43:35 +02:00
Jens Mönig
c78099ada5
optimized deleting traditional Scratch-like cones
2017-07-11 11:54:57 +02:00
Jens Mönig
070017bde3
fixed custom block inheritance for traditional Scratch-like clones
2017-07-11 09:42:48 +02:00
Jens Mönig
ac708fca42
tweaked inheritance indication for stage watchers
2017-07-11 09:21:51 +02:00
Jens Mönig
dce0f5e871
fixed variable inheritance for traditional Scratch-like clones
2017-07-11 08:55:37 +02:00
Jens Mönig
b9f1f66ddc
fixed an inheritance glitch for clones
2017-07-11 07:50:24 +02:00
Jens Mönig
4e33d65cd5
(oops!) :-)
2017-07-09 18:18:38 +02:00
Jens Mönig
2133f1a8f0
added experimental “tell ... to ..." and “ask ... for ...” primitives
...
(hidden in dev mode)
2017-07-09 17:44:28 +02:00
Jens Mönig
8022d5ccbb
tweak clone removal
2017-07-07 17:22:18 +02:00
Jens Mönig
de29bffe15
confine turtle direction readout to 0-360 degrees
...
addresses a bug report from Cynthia Solomon
2017-07-07 16:06:46 +02:00
Jens Mönig
5efc59acab
run “When I start as clone” scripts when manually cloning a sprite
...
only position clone at hand pointer if no such scripts exist
2017-07-07 12:28:14 +02:00
Jens Mönig
7f5a0b8272
enable inheritance by default
...
also tweak naming of instantiating to “clone”,
2017-07-07 11:15:25 +02:00
Jens Mönig
3e99bc14f2
reflect inheritance status in "costume #" watchers
2017-07-05 17:31:54 +02:00
Jens Mönig
90c21d49a3
UI for OOP
2017-07-05 17:17:02 +02:00
Jens Mönig
de10e558e6
unify Scratch-style clones and Snap-specimens
...
implement clones as specimens
2017-07-04 13:51:22 +02:00
Jens Mönig
0b594e59ab
migrate experimental “jukebox” reporters to the new “my sounds” reporter
2017-06-30 09:45:59 +02:00
Jens Mönig
6e74982fb3
reflect attribute inheritance status by ghosting / un-ghosting stage monitors
2017-06-30 08:47:17 +02:00
Jens Mönig
b55df2f72b
tweaked the Sprite >> prune() function
2017-06-29 17:51:31 +02:00
Jens Mönig
5516fa1c7b
manage inheritance relationships when setting a prototype or deleting a sprite
2017-06-29 13:55:01 +02:00
Jens Mönig
f8980ad9ac
let (Scratch-style) clones share scripts, costumes and sounds
2017-06-27 11:12:48 +02:00
Jens Mönig
8f315ffa83
inheritance of costumes and sounds: propagate changes
2017-06-27 07:52:54 +02:00
Jens Mönig
acfd0629fe
tweaks to saving shared resources
2017-06-26 19:03:02 +02:00
Jens Mönig
ebc08a1f73
support inheritance for sounds
2017-06-26 15:53:58 +02:00
Jens Mönig
7b8602e367
First-Class Sounds
2017-06-26 12:46:05 +02:00
Jens Mönig
695e141f33
shadow inherited scripts on keyboard entry
2017-06-23 11:01:04 +02:00
Jens Mönig
14459456c1
shadow inherited scripts on dragging & dropping blocks and comments
2017-06-22 23:00:16 +02:00
Jens Mönig
6a5be3776d
stop all scripts for a sprite when shadowing or inheriting its scripts
...
also refresh inherited scripts of specimens in these cases
2017-06-21 07:51:47 +02:00
Jens Mönig
3809c327df
migrate experimental “wardrobe” reporters to the new “my costumes” reporter
2017-06-20 09:14:41 +02:00
Jens Mönig
9b497c2132
make sure to stop active processes when deleting a block
2017-06-20 08:51:55 +02:00
Jens Mönig
7ec3e16c4f
added inheritance support for scripts
...
partly done, copy-on-write is still missing
2017-05-31 16:08:30 +02:00
Jens Mönig
eea1d08c82
let clones share the orginal’s scripts without shallow-copying them
2017-05-30 17:07:09 +02:00
Jens Mönig
cc47a6fb5a
slightly tweaked inheritance support
...
so sprites and the stage can share the same public protocol
2017-05-15 23:05:21 +02:00
Jens Mönig
abd7ad6a37
added inheritance support for ‘costume #’
2017-05-12 16:40:29 +02:00
Jens Mönig
1a872934de
added inheritance support for the wardrobe
...
also exposed “costumes” as an attribute
2017-05-12 15:21:12 +02:00
Jens Mönig
c14e15f7b1
added attributes to the “delete” block’s drop-down menu
2017-05-09 18:08:56 +02:00
Jens Mönig
145c764632
inheritance of sprite attributes (x, y, direction, size)
2017-05-05 11:17:15 +02:00
Jens Mönig
e206f145a7
Chrome patch - attribute inheritance (in progress)
2017-04-23 18:30:49 +02:00
Jens Mönig
ce23f9f54f
v4.1 - dev -
...
Features:
* polymorphic sprite-local custom blocks
* inheritance of sprite-local custom blocks
* localization support when typing expressions
* support for user-forced line-breaks in custom block labels
* ternary Boolean slot setting: support to limit Boolean input slots to
“true/false” outside of rings and in palette
* support for default values in custom block Boolean slots
* experimental: duplicate block definition (hidden in shift-click
context menu)
* support for codification of String, Number and Boolean value types
* costume icons indicate svg costumes
* sprites’s rotation centers can be adjusted onstage
Fixes:
* changed keyboard shortcut indicator for “find blocks” to “^”
* prevent Snap from “hanging” when encountering certain errors in
visible stepping
* only mark implicit parameters if no formal ones exist
2017-04-10 11:48:55 +02:00
Jens Mönig
00db1cce3f
Revert to 4.0.10
...
to prepare for newly surfaced bug in the Chrome browser
2017-04-10 10:28:30 +02:00
Jens Mönig
50a86060f9
allow sprites’ rotation centers to be adjusted onstage
2017-03-07 03:00:44 -08:00
Jens Mönig
4db428b65c
roll-back double-pointer container cache for methods
2017-03-01 10:11:47 +01:00