Skip to content

Commit abddb0e

Browse files
authored
Merge pull request #107 from casonpollak/ethan
update sprite image
2 parents a1544c7 + 858fd09 commit abddb0e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

assets/js/platformer/GameSetterHills.js

+6
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ const assets = {
2020
height: 81, //125
2121
scaleSize: 100,
2222
},
23+
trash: { src: "/images/platformer/trash.png" },
24+
trashCan: { src: "/images/platformer/trashbin.png" },
2325
coin: { src: "/images/platformer/obstacles/coin.png" },
2426
},
2527
platforms: {
@@ -142,6 +144,10 @@ const assets = {
142144
{ name: 'coin', id: 'coin', class: Coin, data: assets.obstacles.coin, xPercentage: 0.34, yPercentage: 0.69},
143145
{ name: 'coin', id: 'coin', class: Coin, data: assets.obstacles.coin, xPercentage: 0.31, yPercentage: 0.27},
144146
{ name: 'coin', id: 'coin', class: Coin, data: assets.obstacles.coin, xPercentage: 0.5, yPercentage: 0.27},
147+
{ name: 'trash', id: 'coin', class: Coin, data: assets.obstacles.trash, xPercentage: 0.05, yPercentage: 0.4},
148+
{ name: 'trash', id: 'coin', class: Coin, data: assets.obstacles.trash, xPercentage: 0.55, yPercentage: 0.3},
149+
{ name: 'trash', id: 'coin', class: Coin, data: assets.obstacles.trash, xPercentage: 0.2, yPercentage: 0.69},
150+
{ name: 'trash', id: 'coin', class: Coin, data: assets.obstacles.trash, xPercentage: 0.33, yPercentage: 0.6},
145151
{ name: 'mario', id: 'player', class: PlayerHills, data: assets.players.mario },
146152
{ name: 'tube', id: 'finishline', class: FinishLine, data: assets.obstacles.tube, xPercentage: 0.85, yPercentage: 0.85 },
147153
{ name: 'loading', id: 'background', class: BackgroundTransitions, data: assets.transitions.loading },

images/platformer/trash.png

-28.4 KB
Loading

0 commit comments

Comments
 (0)