Skip to content

Commit

Permalink
Bullet: faceRight=90
Browse files Browse the repository at this point in the history
  • Loading branch information
xushiwei committed Nov 1, 2021
1 parent b36c170 commit 5c88b75
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion tutorial/04-Bullet/Bullet.spx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ onCloned => {
show
for {
wait 0.04
changeYpos 10
step 10
if touching(Edge) {
destroy
}
Expand Down
3 changes: 2 additions & 1 deletion tutorial/04-Bullet/res/sprites/Bullet/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"bitmapResolution": 2,
"name": "bullet",
"path": "30.png",
"faceRight": 90,
"x": 8,
"y": 20
}
],
"currentCostumeIndex": 0,
"heading": 90,
"heading": 0,
"isDraggable": false,
"rotationStyle": "normal",
"size": 0.65,
Expand Down
2 changes: 1 addition & 1 deletion tutorial/05-Animation/Bullet.spx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ onCloned => {
show
for {
wait 0.04
changeYpos 10
step 10
if touching(Edge) {
destroy
}
Expand Down
3 changes: 2 additions & 1 deletion tutorial/05-Animation/res/sprites/Bullet/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@
"bitmapResolution": 2,
"name": "bullet",
"path": "30.png",
"faceRight": 90,
"x": 8,
"y": 20
}
],
"currentCostumeIndex": 0,
"heading": 90,
"heading": 0,
"isDraggable": false,
"rotationStyle": "normal",
"size": 0.65,
Expand Down
2 changes: 1 addition & 1 deletion tutorial/09-AircraftWar/Bullet.spx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ onCloned => {
setXYpos MyAircraft.xpos, MyAircraft.ypos+5
show
for {
changeYpos 10
step 10
wait 0.04
if touching(Edge) {
destroy
Expand Down
5 changes: 4 additions & 1 deletion tutorial/09-AircraftWar/res/sprites/Bullet/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,29 @@
"bitmapResolution": 2,
"name": "bullet1",
"path": "29.png",
"faceRight": 90,
"x": 8,
"y": 20
},
{
"bitmapResolution": 2,
"name": "bullet2",
"path": "30.png",
"faceRight": 90,
"x": 8,
"y": 20
},
{
"bitmapResolution": 2,
"name": "bullet3",
"path": "31.png",
"faceRight": 90,
"x": 8,
"y": 20
}
],
"currentCostumeIndex": 1,
"heading": 90,
"heading": 0,
"isDraggable": false,
"rotationStyle": "normal",
"size": 0.65,
Expand Down

0 comments on commit 5c88b75

Please sign in to comment.