Skip to content

Commit

Permalink
Fixed texture for JumpBooster
Browse files Browse the repository at this point in the history
  • Loading branch information
reihoron committed Jun 13, 2024
1 parent cf401e6 commit fe3cd0f
Show file tree
Hide file tree
Showing 2 changed files with 115 additions and 82 deletions.
7 changes: 4 additions & 3 deletions JumpBooster.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ public class JumpBooster extends Actor {

public JumpBooster() {
image = new GreenfootImage(64, 64);
image.setColor(new Color(63, 81, 181, 128));
image.fillRect(0, 0, 64, 64);
setImage(image);
}

public void addedToWorld(World w) {
image.setColor(new Color(63, 81, 181, 50));
image.drawRect(getX(), getY() + 30, 32, 2);
setImage(image);

}

public void act() {
Expand Down
190 changes: 111 additions & 79 deletions project.greenfoot
Original file line number Diff line number Diff line change
Expand Up @@ -33,107 +33,125 @@ dependency17.from=Level
dependency17.to=Level1
dependency17.type=UsesDependency
dependency18.from=Level
dependency18.to=Coin
dependency18.to=EndScreen
dependency18.type=UsesDependency
dependency19.from=Level
dependency19.to=Mites
dependency19.to=Coin
dependency19.type=UsesDependency
dependency2.from=TitleScreen
dependency2.to=Button
dependency2.type=UsesDependency
dependency20.from=Level
dependency20.to=BlueBee
dependency20.to=Mites
dependency20.type=UsesDependency
dependency21.from=Level
dependency21.to=RedBee
dependency21.to=BlueBee
dependency21.type=UsesDependency
dependency22.from=Level
dependency22.to=GreenBee
dependency22.to=RedBee
dependency22.type=UsesDependency
dependency23.from=Level
dependency23.to=Spider
dependency23.to=GreenBee
dependency23.type=UsesDependency
dependency24.from=Level
dependency24.to=Crown
dependency24.to=Spider
dependency24.type=UsesDependency
dependency25.from=Level
dependency25.to=JumpBooster
dependency25.to=Crown
dependency25.type=UsesDependency
dependency26.from=Level0
dependency26.to=ImgScroll
dependency26.from=Level
dependency26.to=JumpBooster
dependency26.type=UsesDependency
dependency27.from=Level0
dependency27.to=Player
dependency27.from=Level
dependency27.to=Spike
dependency27.type=UsesDependency
dependency28.from=Level0
dependency28.to=Orb
dependency28.from=Level
dependency28.to=FloorHole
dependency28.type=UsesDependency
dependency29.from=Level1
dependency29.to=ImgScroll
dependency29.from=Level
dependency29.to=Tile
dependency29.type=UsesDependency
dependency3.from=TitleScreen
dependency3.to=Level0
dependency3.type=UsesDependency
dependency30.from=Level1
dependency30.to=Player
dependency30.from=Level0
dependency30.to=ImgScroll
dependency30.type=UsesDependency
dependency31.from=Level1
dependency31.to=Orb
dependency31.from=Level0
dependency31.to=Player
dependency31.type=UsesDependency
dependency32.from=Mobs
dependency32.to=Player
dependency32.from=Level0
dependency32.to=Orb
dependency32.type=UsesDependency
dependency33.from=Mobs
dependency33.to=Brick
dependency33.from=Level1
dependency33.to=ImgScroll
dependency33.type=UsesDependency
dependency34.from=Mobs
dependency34.to=Tile
dependency34.from=Level1
dependency34.to=Player
dependency34.type=UsesDependency
dependency35.from=Mites
dependency35.to=Level
dependency35.from=Level1
dependency35.to=Orb
dependency35.type=UsesDependency
dependency36.from=Mites
dependency36.to=Tile
dependency36.from=Mobs
dependency36.to=Player
dependency36.type=UsesDependency
dependency37.from=Bee
dependency37.to=Level
dependency37.from=Mobs
dependency37.to=Brick
dependency37.type=UsesDependency
dependency38.from=RedBee
dependency38.to=Player
dependency38.from=Mobs
dependency38.to=Tile
dependency38.type=UsesDependency
dependency39.from=Spider
dependency39.to=Tile
dependency39.from=Mites
dependency39.to=Level
dependency39.type=UsesDependency
dependency4.from=TitleScreen
dependency4.to=LoadSettings
dependency4.type=UsesDependency
dependency40.from=Coin
dependency40.to=Player
dependency40.from=Mites
dependency40.to=Tile
dependency40.type=UsesDependency
dependency41.from=Coin
dependency41.from=Bee
dependency41.to=Level
dependency41.type=UsesDependency
dependency42.from=Crown
dependency42.from=RedBee
dependency42.to=Player
dependency42.type=UsesDependency
dependency43.from=Crown
dependency43.to=Level
dependency43.from=Spider
dependency43.to=Tile
dependency43.type=UsesDependency
dependency44.from=JumpBooster
dependency44.from=Coin
dependency44.to=Player
dependency44.type=UsesDependency
dependency45.from=Player
dependency45.to=GameOverScreen
dependency45.from=Coin
dependency45.to=Level
dependency45.type=UsesDependency
dependency46.from=Player
dependency46.to=Brick
dependency46.from=Crown
dependency46.to=Player
dependency46.type=UsesDependency
dependency47.from=Orb
dependency47.to=Player
dependency47.from=Crown
dependency47.to=Level
dependency47.type=UsesDependency
dependency48.from=JumpBooster
dependency48.to=Player
dependency48.type=UsesDependency
dependency49.from=FloorHole
dependency49.to=Brick
dependency49.type=UsesDependency
dependency5.from=LoadSettings
dependency5.to=SuperDisplayLabel
dependency5.type=UsesDependency
dependency50.from=Player
dependency50.to=GameOverScreen
dependency50.type=UsesDependency
dependency51.from=Player
dependency51.to=Brick
dependency51.type=UsesDependency
dependency52.from=Player
dependency52.to=Spike
dependency52.type=UsesDependency
dependency53.from=Orb
dependency53.to=Player
dependency53.type=UsesDependency
dependency6.from=LoadSettings
dependency6.to=Button
dependency6.type=UsesDependency
Expand All @@ -146,13 +164,13 @@ dependency8.type=UsesDependency
dependency9.from=GameOverScreen
dependency9.to=SuperDisplayLabel
dependency9.type=UsesDependency
editor.fx.0.height=733
editor.fx.0.width=810
editor.fx.0.x=1419
editor.fx.0.y=420
editor.fx.0.height=0
editor.fx.0.width=0
editor.fx.0.x=0
editor.fx.0.y=0
height=1042
package.numDependencies=47
package.numTargets=26
package.numDependencies=53
package.numTargets=28
project.charset=UTF-8
publish.hasSource=false
publish.locked=true
Expand All @@ -175,72 +193,72 @@ target1.width=120
target1.x=0
target1.y=0
target10.height=70
target10.name=SuperDisplayLabel
target10.name=LoadSettings
target10.showInterface=false
target10.type=ClassTarget
target10.width=120
target10.x=0
target10.y=0
target11.height=70
target11.name=Player
target11.name=SuperDisplayLabel
target11.showInterface=false
target11.type=ClassTarget
target11.width=120
target11.x=0
target11.y=0
target12.height=70
target12.name=Bee
target12.name=Spike
target12.showInterface=false
target12.type=AbstractTarget
target12.type=ClassTarget
target12.width=120
target12.x=0
target12.y=0
target13.height=70
target13.name=Tile
target13.name=Player
target13.showInterface=false
target13.type=ClassTarget
target13.width=120
target13.x=0
target13.y=0
target14.height=70
target14.name=EndScreen
target14.name=Bee
target14.showInterface=false
target14.type=ClassTarget
target14.type=AbstractTarget
target14.width=120
target14.x=0
target14.y=0
target15.height=70
target15.name=BlueBee
target15.name=Tile
target15.showInterface=false
target15.type=ClassTarget
target15.width=120
target15.x=0
target15.y=0
target16.height=70
target16.name=GameOverScreen
target16.name=EndScreen
target16.showInterface=false
target16.type=ClassTarget
target16.width=140
target16.width=120
target16.x=0
target16.y=0
target17.height=70
target17.name=Crown
target17.name=BlueBee
target17.showInterface=false
target17.type=ClassTarget
target17.width=120
target17.x=0
target17.y=0
target18.height=70
target18.name=Brick
target18.name=GameOverScreen
target18.showInterface=false
target18.type=ClassTarget
target18.width=120
target18.width=140
target18.x=0
target18.y=0
target19.height=70
target19.name=Mobs
target19.name=Crown
target19.showInterface=false
target19.type=AbstractTarget
target19.type=ClassTarget
target19.width=120
target19.x=0
target19.y=0
Expand All @@ -252,54 +270,68 @@ target2.width=130
target2.x=0
target2.y=0
target20.height=70
target20.name=Spider
target20.name=Brick
target20.showInterface=false
target20.type=ClassTarget
target20.width=120
target20.x=0
target20.y=0
target21.height=70
target21.name=Collection
target21.name=Mobs
target21.showInterface=false
target21.type=ClassTarget
target21.type=AbstractTarget
target21.width=120
target21.x=0
target21.y=0
target22.height=70
target22.name=RedBee
target22.name=Spider
target22.showInterface=false
target22.type=ClassTarget
target22.width=120
target22.x=0
target22.y=0
target23.height=70
target23.name=Level
target23.name=Collection
target23.showInterface=false
target23.type=ClassTarget
target23.width=120
target23.x=0
target23.y=0
target24.height=70
target24.name=Level0
target24.name=RedBee
target24.showInterface=false
target24.type=ClassTarget
target24.width=120
target24.x=0
target24.y=0
target25.height=70
target25.name=Level1
target25.name=Level
target25.showInterface=false
target25.type=ClassTarget
target25.width=120
target25.x=0
target25.y=0
target26.height=70
target26.name=Orb
target26.name=Level0
target26.showInterface=false
target26.type=ClassTarget
target26.width=120
target26.x=0
target26.y=0
target27.height=70
target27.name=Level1
target27.showInterface=false
target27.type=ClassTarget
target27.width=120
target27.x=0
target27.y=0
target28.height=70
target28.name=Orb
target28.showInterface=false
target28.type=ClassTarget
target28.width=120
target28.x=0
target28.y=0
target3.height=70
target3.name=Mites
target3.showInterface=false
Expand Down Expand Up @@ -343,7 +375,7 @@ target8.width=120
target8.x=0
target8.y=0
target9.height=70
target9.name=LoadSettings
target9.name=FloorHole
target9.showInterface=false
target9.type=ClassTarget
target9.width=120
Expand Down

0 comments on commit fe3cd0f

Please sign in to comment.