mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-06-26 22:30:27 -04:00
Implement counter blocks
This commit is contained in:
parent
2d9bd92140
commit
797d16be26
3 changed files with 54 additions and 1 deletions
src/serialization
|
@ -815,6 +815,21 @@ const specMap = {
|
|||
argMap: [
|
||||
]
|
||||
},
|
||||
'COUNT': {
|
||||
opcode: 'control_get_counter',
|
||||
argMap: [
|
||||
]
|
||||
},
|
||||
'INCR_COUNT': {
|
||||
opcode: 'control_incr_counter',
|
||||
argMap: [
|
||||
]
|
||||
},
|
||||
'CLR_COUNT': {
|
||||
opcode: 'control_clear_counter',
|
||||
argMap: [
|
||||
]
|
||||
},
|
||||
'touching:': {
|
||||
opcode: 'sensing_touchingobject',
|
||||
argMap: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue