Discuss Scratch

Drycrow1
Scratcher
5 posts

Scratch emulator (GriffScratch) saved projects

This is smooth movement with pen


{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 20 , 349 , [ , , , [“doForever” ,[ [“changeVar:by:” , “speed x” , [“*” , [“-” , , ] , “1.5” ] ] , [“changeVar:by:” , “speed y” , [“*” , [“-” , , ] , “1.5” ] ] , [“doIf” , [“>” , , “6” ] ,[ ] ] , [“doIf” , [“<” , , “-6” ] ,[ ] ] , [“doIf” , [“>” , , “6” ] ,[ ] ] , [“doIf” , [“<” , , “-6” ] ,[ ] ] , [“changeXposBy:” , ] , [“setVar:to:” , “speed x” , [“*” , , “0.8” ] ] , [“changeYposBy:” , ] , [“setVar:to:” , “speed y” , [“*” , , “0.8” ] ] , [“setVar:to:” , “x” , [“+” , , “20” ] ] , [“setVar:to:” , “y” , ] ] ] ]] , [ 98 , -36 , [ , , , , , , [“doForever” ,[ [“warpSpeed” ,[ , , , [“doRepeat” , “4” ,[ , ] ] , ] ] ] ] ]] ] }],“info”:{} }
Ranger_07
Scratcher
81 posts

Scratch emulator (GriffScratch) saved projects

@Griffpatch's Classic Platformer youtube tutorial up to ep5. (DISCLAIMER: Collisions are only within a set square. I don't have a full level.)

{"objName":"Stage", "children": [{"objName":"project" ,"variables":[ {"name": "RESISTANCE" , "value": "0.9" , "isPersistent":false} , {"name": "JUMP FORCE" , "value": "12" , "isPersistent":false} , {"name": "ACCELERATION" , "value": "1.5" , "isPersistent":false} , {"name": "GRAVITY" , "value": "-1.5" , "isPersistent":false} , {"name": "speed y" , "value": "-1.5737704918032795" , "isPersistent":false} , {"name": "speed x" , "value": "0" , "isPersistent":false} , {"name": "falling" , "value": "0" , "isPersistent":false} , {"name": "KEY X" , "value": "0" , "isPersistent":false} , {"name": "frame" , "value": "0" , "isPersistent":false} , {"name": "steps" , "value": "3.0737704918032795" , "isPersistent":false} , {"name": "last value" , "value": "-109.99093034369334" , "isPersistent":false} , {"name": "wall slide" , "value": "0" , "isPersistent":false} , {"name": "jumping" , "value": "0" , "isPersistent":false} , {"name": "long jump" , "value": "0" , "isPersistent":false} , {"name": "jump duration" , "value": "6" , "isPersistent":false} , {"name": "tmp" , "value": "-187.71875482141783" , "isPersistent":false} ] ,"scripts":[ [ 52 , -2215 , [ ["whenGreenFlag" ] , ["hide" ] , ["warpSpeed" ,[ ["penColor:" , "000000" ] , ["penSize:" , "100" ] , ["gotoX:y:" , "-240" , "-180" ] , ["clearPenTrails" ] , ["putPenDown" ] , ["xpos:" , "240" ] , ["ypos:" , "180" ] , ["xpos:" , "-240" ] , ["ypos:" , "-180" ] , ["putPenUp" ] ] ] , ["gotoX:y:" , "0" , "0" ] , ["broadcast:" , "StartGame" ] ]] , [ 53 , -1889 , [ ["whenIReceive" , "StartGame" ] , ["setVar:to:" , "RESISTANCE" , "0.9" ] , ["setVar:to:" , "JUMP FORCE" , "12" ] , ["setVar:to:" , "jump duration" , "6" ] , ["setVar:to:" , "ACCELERATION" , "1.5" ] , ["setVar:to:" , "GRAVITY" , "-1.5" ] , ["setSizeTo:" , "40" ] , ["broadcast:" , "Reset and Begin Level" ] ]] , [ 56 , -1703 , [ ["whenIReceive" , "Reset and Begin Level" ] , ["setVar:to:" , "speed x" , "0" ] , ["setVar:to:" , "speed y" , "0" ] , ["setVar:to:" , "falling" , "99" ] , ["setVar:to:" , "wall slide" , "0" ] , ["setVar:to:" , "jumping" , "0" ] , ["setVar:to:" , "long jump" , "0" ] , ["gotoX:y:" , "-150" , "0" ] , ["show" ] , ["broadcast:" , "Game Loop" ] ]] , [ 57 , -1482 , [ ["whenIReceive" , "Game Loop" ] , ["doForever" ,[ ["setRotationStyle" , "don't rotate" ] , ["warpSpeed" ,[ ["doIfElse" , ["keyPressed:" , "up arrow" ] ,[ ["doIf" , ["&" , [">" , ["readVariable" , "wall slide" ] , "0" ] , ["=" , ["readVariable" , "jumping" ] , "0" ] ] ,[ ["setVar:to:" , "jumping" , "1" ] , ["setVar:to:" , "falling" , "3" ] , ["setVar:to:" , "wall slide" , "0" ] , ["turnLeft:" , "180" ] , ["setVar:to:" , "speed x" , ["*" , ["/" , ["heading" ] , "90" ] , "7" ] ] , ["setVar:to:" , "long jump" , "12" ] ] ] , ["doIf" , ["&" , ["<" , ["readVariable" , "falling" ] , "3" ] , ["=" , ["readVariable" , "jumping" ] , "0" ] ] ,[ ["changeVar:by:" , "jumping" , "1" ] , ["setVar:to:" , "falling" , "3" ] ] ] , ["doIf" , ["&" , [">" , ["readVariable" , "jumping" ] , "0" ] , ["<" , ["readVariable" , "jumping" ] , ["readVariable" , "jump duration" ] ] ] ,[ ["changeVar:by:" , "jumping" , "1" ] , ["setVar:to:" , "speed y" , ["readVariable" , "JUMP FORCE" ] ] ] ] ] ,[ ["setVar:to:" , "jumping" , "0" ] ] ] , ["changeVar:by:" , "speed y" , ["readVariable" , "GRAVITY" ] ] , ["doIf" , [">" , ["readVariable" , "wall slide" ] , "0" ] ,[ ["doIfElse" , ["<" , ["readVariable" , "falling" ] , "2" ] ,[ ["setVar:to:" , "wall slide" , "0" ] ] ,[ ["setVar:to:" , "tmp" , ["+" , ["xpos" ] , ["/" , ["heading" ] , "30" ] ] ] , ["doIfElse" , [">" , ["computeFunction:of:" , "abs" , ["readVariable" , "tmp" ] ] , "185" ] ,[ ["setVar:to:" , "wall slide" , "1" ] ] ,[ ["setVar:to:" , "wall slide" , "0" ] ] ] ] ] , ["doIf" , ["<" , ["readVariable" , "speed y" ] , "0" ] ,[ ["setVar:to:" , "speed y" , ["*" , ["readVariable" , "speed y" ] , "0.6" ] ] ] ] ] ] ] ] , ["warpSpeed" ,[ ["doIfElse" , [">" , ["readVariable" , "long jump" ] , "0" ] ,[ ["changeVar:by:" , "long jump" , "-1" ] ] ,[ ["setVar:to:" , "KEY X" , ["-" , ["keyPressed:" , "right arrow" ] , ["keyPressed:" , "left arrow" ] ] ] , ["doIfElse" , ["=" , ["readVariable" , "KEY X" ] , "0" ] ,[ ["doIfElse" , ["&" , [">" , ["readVariable" , "falling" ] , "0" ] , ["<" , ["readVariable" , "wall slide" ] , "1" ] ] ,[ ["setVar:to:" , "speed x" , ["*" , ["readVariable" , "speed x" ] , "0.98" ] ] ] ,[ ["doIfElse" , ["<" , ["computeFunction:of:" , "abs" , ["readVariable" , "KEY X" ] ] , "1" ] ,[ ["setVar:to:" , "frame" , "0" ] , ["setVar:to:" , "speed x" , "0" ] ] ,[ ["changeVar:by:" , "frame" , "0.5" ] ] ] ] ] ] ,[ ["changeVar:by:" , "speed x" , ["*" , ["readVariable" , "KEY X" ] , ["readVariable" , "ACCELERATION" ] ] ] , ["heading:" , ["*" , ["readVariable" , "KEY X" ] , "90" ] ] , ["changeVar:by:" , "frame" , "1" ] ] ] , ["setVar:to:" , "speed x" , ["*" , ["readVariable" , "speed x" ] , ["readVariable" , "RESISTANCE" ] ] ] ] ] ] ] , ["warpSpeed" ,[ ["changeVar:by:" , "falling" , "1" ] , ["setVar:to:" , "steps" , ["+" , ["computeFunction:of:" , "abs" , ["readVariable" , "speed x" ] ] , ["computeFunction:of:" , "abs" , ["readVariable" , "speed y" ] ] ] ] , ["doRepeat" , ["readVariable" , "steps" ] ,[ ["setVar:to:" , "last value" , ["xpos" ] ] , ["changeXposBy:" , ["/" , ["readVariable" , "speed x" ] , ["readVariable" , "steps" ] ] ] , ["doIf" , ["|" , ["<" , ["xpos" ] , "-185" ] , [">" , ["xpos" ] , "185" ] ] ,[ ["doIfElse" , ["<" , ["readVariable" , "falling" ] , "2" ] ,[ ["setVar:to:" , "wall slide" , "0" ] ] ,[ ["setVar:to:" , "tmp" , ["+" , ["xpos" ] , ["/" , ["heading" ] , "30" ] ] ] , ["doIfElse" , [">" , ["computeFunction:of:" , "abs" , ["readVariable" , "tmp" ] ] , "185" ] ,[ ["setVar:to:" , "wall slide" , "1" ] ] ,[ ["setVar:to:" , "tmp" , "0" ] ] ] ] ] , ["xpos:" , ["readVariable" , "last value" ] ] , ["setVar:to:" , "speed x" , "0" ] ] ] , ["setVar:to:" , "last value" , ["ypos" ] ] , ["changeYposBy:" , ["/" , ["readVariable" , "speed y" ] , ["readVariable" , "steps" ] ] ] , ["doIf" , ["|" , ["<" , ["ypos" ] , "-110" ] , [">" , ["ypos" ] , "110" ] ] ,[ ["ypos:" , ["readVariable" , "last value" ] ] , ["doIfElse" , [">" , ["readVariable" , "speed y" ] , "0" ] ,[ ["setVar:to:" , "speed y" , "0" ] ] ,[ ["doIf" , [">" , ["readVariable" , "falling" ] , "0" ] ,[ ["setVar:to:" , "falling" , "0" ] ] ] , ["setVar:to:" , "speed y" , ["*" , ["readVariable" , "speed y" ] , "0.8" ] ] ] ] ] ] ] ] , ["setRotationStyle" , "left-right" ] ] ] ] ] ]] ] }],"info":{} }
duckichick
Scratcher
17 posts

Scratch emulator (GriffScratch) saved projects

{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 27 , -264 , [ , , , , , , , , , , , [“setVar:to:” , “message” , [“concatenate:with:” , , “? Good name!” ] ] , , ]] , [ 18 , 9 , [ , , , [“doIfElse” , , “yes” ] ,[ , ] ,[ [“doIfElse” , , “no” ] ,[ , ] ,[ , , ] ] ] ] , , , ]] , [ 188 , 68 , [ , , , , , [“doForever” ,[ , , [“write” , ] , , , ] ] ]] ] }],“info”:{} }

Last edited by duckichick (March 5, 2024 09:41:12)

heyimjomar2000
Scratcher
1 post

Scratch emulator (GriffScratch) saved projects

{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 57 , -1 , [ , , , [“doForever” ,[ [“setVar:to:” , “x speed” , [“*” , , “0.8” ] ] , , [“changeYposBy:” , ] , [“doIf” , [“<” , , “-50” ] ,[ [“changeYposBy:” , [“-” , “” , ] ] , , [“doIf” , ,[ ] ] ] ] , [“doIf” , ,[ , ] ] , [“doIf” , ,[ , ] ] , [“changeXposBy:” , ] ] ] ]] ] }],“info”:{} }

simple physics
NightGaleCoder
Scratcher
12 posts

Scratch emulator (GriffScratch) saved projects

{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 37 , 23 , [ , , [“doForever” ,[ [“gotoX:y:” , [“/” , [“widthOfText:” , ] , “2” ] , “0” ] , , , , [“warpSpeed” ,[ , , [“setVar:to:” , “x” , [“concatenate:with:” , , [“concatenate:with:” , “:” , [“concatenate:with:” , , [“concatenate:with:” , “:” , ] ] ] ] ] , [“write” , ] ] ] ] ] ]] ] }],“info”:{} } It's a clock
cuongvd
Scratcher
4 posts

Scratch emulator (GriffScratch) saved projects

deleted

Last edited by cuongvd (March 9, 2024 05:50:41)

cuongvd
Scratcher
4 posts

Scratch emulator (GriffScratch) saved projects

deleted

Last edited by cuongvd (March 9, 2024 05:47:09)

cuongvd
Scratcher
4 posts

Scratch emulator (GriffScratch) saved projects

{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 40 , 41 , [ , , [“warpSpeed” ,[ , , , , , , , , , , , ] ] , , ]] , [ 43 , 394 , [ , , , , , , [“doForever” ,[ , [“changeVar:by:” , “y” , ] , [“doIf” , [“<” , , “-100” ] ,[ , [“setVar:to:” , “y vel” , [“*” , , “-0.7” ] ] , [“doIf” , ,[ ] ] ] ] , [“warpSpeed” ,[ , [“doUntil” , [“>” , [“getLinefList:” , , “walls” ] , [“-” , , “1” ] ] ,[ ] ] , [“doUntil” , [“>” , [“getLinefList:” , , “walls” ] , ] ,[ [“doIf” , [“<” , , [“-” , [“getLinefList:” , [“+” , , “3” ] , “walls” ] , [“/” , , “-2” ] ] ] ,[ [“doIf” , [“>” , , [“+” , [“getLinefList:” , [“+” , , “1” ] , “walls” ] , [“/” , , “-2” ] ] ] ,[ [“doIf” , [“<” , , [“getLinefList:” , [“+” , , “4” ] , “walls” ] ] ,[ [“doIf” , [“>” , , [“-” , [“getLinefList:” , [“+” , , “2” ] , “walls” ] , ] ] ,[ [“changeVar:by:” , “y” , [“-” , “0” , ] ] , [“setVar:to:” , “y vel” , [“*” , , “-0.7” ] ] , [“doIf” , ,[ ] ] ] ] ] ] ] ] ] ] , ] ] , [“changeVar:by:” , “x vel” , [“*” , “2” , [“-” , , ] ] ] , [“setVar:to:” , “x vel” , [“*” , , “0.8” ] ] , [“changeVar:by:” , “x” , ] , [“doIf” , [“<” , , [“+” , “-240” , [“/” , , “2” ] ] ] ,[ [“setVar:to:” , “x” , [“+” , “-240” , [“/” , , “2” ] ] ] , [“setVar:to:” , “x vel” , [“*” , , “-0.7” ] ] ] ] , [“warpSpeed” ,[ , [“doUntil” , [“>” , [“getLinefList:” , , “walls” ] , [“-” , , “1” ] ] ,[ ] ] , [“doUntil” , [“>” , [“getLinefList:” , , “walls” ] , ] ,[ [“doIf” , [“<” , , [“-” , [“getLinefList:” , [“+” , , “3” ] , “walls” ] , [“/” , , “-2” ] ] ] ,[ [“doIf” , [“>” , , [“+” , [“getLinefList:” , [“+” , , “1” ] , “walls” ] , [“/” , , “-2” ] ] ] ,[ [“doIf” , [“<” , , [“getLinefList:” , [“+” , , “4” ] , “walls” ] ] ,[ [“doIf” , [“>” , , [“-” , [“getLinefList:” , [“+” , , “2” ] , “walls” ] , ] ] ,[ [“changeVar:by:” , “x” , [“-” , “0” , ] ] , [“setVar:to:” , “x vel” , [“*” , , “-0.7” ] ] , [“doIf” , ,[ , [“setVar:to:” , “x vel” , [“*” , , “3” ] ] ] ] ] ] ] ] ] ] ] ] , ] ] ] ] , [“doIf” , [“>” , , [“+” , “240” , [“/” , , “2” ] ] ] ,[ , , ] ] , [“warpSpeed” ,[ , , , , , , , [“gotoX:y:” , , [“+” , , [“/” , , “2” ] ] ] , , [“penSize:” , ] , , , , , [“write” , [“concatenate:with:” , “level ” , ] ] , [“doIf” , , “1” ] ,[ , , ] ] , [“doIf” , , “2” ] ,[ , , ] ] , [“doIf” , , “3” ] ,[ , , ] ] , [“warpSpeed” ,[ , [“doUntil” , [“>” , [“getLinefList:” , , “walls” ] , [“-” , , “1” ] ] ,[ ] ] , [“doUntil” , [“>” , [“getLinefList:” , , “walls” ] , ] ,[ , , [“xpos:” , [“getLinefList:” , [“+” , , “1” ] , “walls” ] ] , [“ypos:” , [“getLinefList:” , [“+” , , “2” ] , “walls” ] ] , , [“xpos:” , [“getLinefList:” , [“+” , , “3” ] , “walls” ] ] , [“ypos:” , [“getLinefList:” , [“+” , , “4” ] , “walls” ] ] , [“xpos:” , [“getLinefList:” , [“+” , , “1” ] , “walls” ] ] , [“ypos:” , [“getLinefList:” , [“+” , , “2” ] , “walls” ] ] , , ] ] ] ] ] ] ] ] ] ] ]] ] }],“info”:{} }
replace the with : and o

biggest project in scratch emulator so far

Last edited by cuongvd (March 9, 2024 05:56:46)

1357car_red
Scratcher
3 posts

Scratch emulator (GriffScratch) saved projects

{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 22 , 33 , [ , , , [“doForever” ,[ , [“changeYposBy:” , ] , [“doIf” , ,[ ] ] ] ] ]] ] }],“info”:{} }
1357car_red
Scratcher
3 posts

Scratch emulator (GriffScratch) saved projects

{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 22 , -383 , [ , , , [“doForever” ,[ , , [“doRepeat” , ,[ [“setVar:to:” , “last value” , ] , [“changeXposBy:” , [“/” , , ] ] , [“doIf” , [“|” , [“<” , , “-240” ] , [“>” , , “240” ] ] ,[ [“xpos:” , ] , ] ] , [“setVar:to:” , “last value” , ] , [“changeYposBy:” , [“/” , , ] ] , [“doIf” , [“<” , , “-100” ] ,[ [“ypos:” , ] , , ] ] ] ] , [“doIf” , ,[ [“doIf” , [“<” , , “3” ] ,[ ] ] ] ] , [“doIf” , ,[ ] ] , [“doIf” , ,[ ] ] , [“setVar:to:” , “speed x” , [“*” , , “0.8” ] ] ] ] ]] , [ 26 , 259 , [ , [“setVar:to:” , “steps” , [“+” , [“computeFunctionf:” , “abs” , ] , [“computeFunctionf:” , “abs” , ] ] ] ]] ] }],“info”:{} }
Goofy_Chris
Scratcher
3 posts

Scratch emulator (GriffScratch) saved projects

{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 42 , 45 , [ , , , , , , , , , , , , [“doForever” ,[ , ] ] ]] , [ -65 , 142 , [ ]] , [ -121 , 168 , [ ]] , [ -95 , 209 , [ ]] , [ -135 , 275 , [ ]] ] }],“info”:{} }



This is a drawing thing with scratch cat following you around
Mathiscatch
Scratcher
1 post

Scratch emulator (GriffScratch) saved projects

how did you make it scroll? It is so weird. You add list etc. I don't understand anything. Can you explain me ? How do you know the mouse scroll without captor ?
WhyWhatsRain
Scratcher
1 post

Scratch emulator (GriffScratch) saved projects

Someone why am i getting notifications about this
FoxIsTheBeast
Scratcher
2 posts

Scratch emulator (GriffScratch) saved projects

Simple Math Game

{“objName”:“Stage”, “children”: [{“objName”:“project” ,“variables”: ,“scripts”:[ [ 49 , 193 , [ , , [“doForever” ,[ [“setVar:to:” , “qi1” , ] , [“setVar:to:” , “qi2” , ] , [“doAsk” , [“concatenate:with:” , ] , [“concatenate:with:” , “, What is ” , [“concatenate:with:” , , [“concatenate:with:” , “+” , ] ] ] ] ] , [“doIfElse” , , [“+” , , ] ] ,[ ] ,[ ] ] ] ] ]] , [ 24 , 47 , [ , , [“say:” , [“concatenate:with:” , “You have ” , [“concatenate:with:” , , “ Points.” ] ] ] , ]] , [ 295 , 43 , [ , , [“doForever” ,[ , , , , , , [“write” , [“concatenate:with:” , “Time Left: ” , ] ] , [“doIf” , , “0” ] ,[ ] ] , ] ] ]] ] }],“info”:{} }

Last edited by FoxIsTheBeast (March 17, 2024 22:04:34)

FoxIsTheBeast
Scratcher
2 posts

Scratch emulator (GriffScratch) saved projects

go to [Scratch v]
aNormalScratcher2019
Scratcher
24 posts

Scratch emulator (GriffScratch) saved projects

Make 3d. Block you need is
when green flag clicked
clear[scratchblocks]
[/scratchblocks]
forever

[scratchblocks]
change y by (5)end
[/scratchblocks]
stamp
aNormalScratcher2019
Scratcher
24 posts

Scratch emulator (GriffScratch) saved projects

I meant
when green flag clicked
clear[scratchblocks]
[/scratchblocks]
forever

[scratchblocks]
change y by (5)
stamp
[/scratchblocks]
aNormalScratcher2019
Scratcher
24 posts

Scratch emulator (GriffScratch) saved projects

when green flag clicked


forever

stamp
change y by (5)
aNormalScratcher2019
Scratcher
24 posts

Scratch emulator (GriffScratch) saved projects


when green flag clicked

clear

forever
change y by (5)
change x by (5)
stamp
straice30
Scratcher
18 posts

Scratch emulator (GriffScratch) saved projects

PLEASE play my games

Powered by DjangoBB