Skip to content

Commit

Permalink
fixed ponit system
Browse files Browse the repository at this point in the history
  • Loading branch information
CasonPlayzYT committed Jun 27, 2023
1 parent 3a5b4d4 commit ec30ebf
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file modified .github/makecode/blocks.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified .github/makecode/blocksdiff.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion main.blocks
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ bccccc..b71b..cccccb
.........1..........
..........1.........
....................
`]</field><data>{"commentRefs":[],"fieldData":{"frames":"n;axsKOW~}3A#VI4FZ6a"}}</data></block></value><value name="frameInterval"><shadow type="timePicker" id="KJKvAX)]/uGjKFM|hRTu"><field name="ms">100</field></shadow></value><value name="loop"><shadow type="toggleOnOff" id="|seG-n,IQ*(fCawj_[-Q"><field name="on">true</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="gameonscore" id=";QXlWNnO=+k-#4/$XG7j" x="-20" y="820"><value name="score"><shadow type="math_number" id="[.JEa#_lpxrm)zbAg1hF"><field name="NUM">56</field></shadow></value><statement name="HANDLER"><block type="gameOver2" id="e*e7cL%|U7]]TuIiB`X0"><value name="win"><shadow type="toggleWinLose" id="?DCn)7dI~%9!u@q`85AS"><field name="win">true</field></shadow></value></block></statement></block><block type="keyonevent" id="jYwMZ:a?%_5!rYf*03+A" x="140" y="960"><field name="button">controller.A</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="variables_set" id="d7w+itj%+9lW^#S^(2{x"><field name="VAR" id="b:pk8,R=C)QQk|/2Shcp">projectile</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreateprojectilefromsprite" id="[Vq7I{:RZ_{pb:iy|pa6"><value name="img"><shadow type="screen_image_picker" id="j?7xhz[i!(gf](cT0-`G"><field name="img">img`
`]</field><data>{"commentRefs":[],"fieldData":{"frames":"n;axsKOW~}3A#VI4FZ6a"}}</data></block></value><value name="frameInterval"><shadow type="timePicker" id="KJKvAX)]/uGjKFM|hRTu"><field name="ms">100</field></shadow></value><value name="loop"><shadow type="toggleOnOff" id="|seG-n,IQ*(fCawj_[-Q"><field name="on">true</field></shadow></value></block></next></block></next></block></next></block></statement></block><block type="gameonscore" id=";QXlWNnO=+k-#4/$XG7j" x="-20" y="820"><value name="score"><shadow type="math_number" id="[.JEa#_lpxrm)zbAg1hF"><field name="NUM">90000000000000000000</field></shadow></value><statement name="HANDLER"><block type="gameOver2" id="e*e7cL%|U7]]TuIiB`X0"><value name="win"><shadow type="toggleWinLose" id="?DCn)7dI~%9!u@q`85AS"><field name="win">true</field></shadow></value></block></statement></block><block type="keyonevent" id="jYwMZ:a?%_5!rYf*03+A" x="140" y="960"><field name="button">controller.A</field><field name="event">ControllerButtonEvent.Pressed</field><statement name="HANDLER"><block type="variables_set" id="d7w+itj%+9lW^#S^(2{x"><field name="VAR" id="b:pk8,R=C)QQk|/2Shcp">projectile</field><value name="VALUE"><shadow type="math_number"><field name="NUM">0</field></shadow><block type="spritescreateprojectilefromsprite" id="[Vq7I{:RZ_{pb:iy|pa6"><value name="img"><shadow type="screen_image_picker" id="j?7xhz[i!(gf](cT0-`G"><field name="img">img`
. 1 .
. 1 .
. 1 .
Expand Down
2 changes: 1 addition & 1 deletion main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sprites.onOverlap(SpriteKind.Enemy, SpriteKind.Player, function (sprite, otherSp
sprite.destroy(effects.starField, 100)
info.changeLifeBy(-1)
})
info.onScore(56, function () {
info.onScore(90000000000000000000, function () {
game.gameOver(true)
})
let myRock: Sprite = null
Expand Down

1 comment on commit ec30ebf

@CasonPlayzYT
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.