1
1
import Background from './Background.js'
2
2
import BackgroundTransitions from './BackgroundTransitions.js' ;
3
3
import Platform from './Platform.js' ;
4
- import JumpPlatform2 from './PlatformJump2.js' ;
4
+ // import JumpPlatform2 from './PlatformJump2.js';
5
5
import BlockPlatform from './BlockPlatform.js' ;
6
6
import Coin from './Coin.js' ;
7
7
import skibidiTitan from './SkibidiTitan.js' ;
@@ -105,7 +105,7 @@ const assets = {
105
105
island : { src : "/images/platformer/platforms/island.png" } ,
106
106
block : { src : "/images/platformer/platforms/brick_block.png" } , //MAY need 3 new variables: sizeRatio, widthRatio, and heightRatio
107
107
108
-
108
+ /*
109
109
itemBlock2: { //power-up
110
110
src: "/images/platformer/sprites/jumppowerup.png", //spritesheet
111
111
sizeRatio: 0.000000001,
@@ -118,6 +118,7 @@ const assets = {
118
118
hitbox: { widthPercentage: 0, heightPercentage: 0 }
119
119
120
120
},
121
+ */
121
122
} ,
122
123
backgrounds : {
123
124
boss : { src : "/images/platformer/backgrounds/BossBackground.png" , parallaxSpeed : 0.4 , moveOnKeyAction : true } ,
@@ -510,7 +511,7 @@ const assets = {
510
511
{ name : 'blocks' , id : 'jumpPlatform' , class : BlockPlatform , data : assets . platforms . sand , xPercentage : 0.7 , yPercentage : 0.84 } ,
511
512
{ name : 'blocks' , id : 'jumpPlatform' , class : BlockPlatform , data : assets . platforms . sand , xPercentage : 0.3 , yPercentage : 0.4 } ,
512
513
///{ name: 'coin', id: 'coin', class: Coin, data: assets.obstacles.vbucks, xPercentage: 0.475, yPercentage: 0.5 },
513
- { name : 'itemBlock2' , id : 'jumpPlatform' , class : JumpPlatform2 , data : assets . platforms . itemBlock2 , xPercentage : 0.56 , yPercentage : 0.8 } , //item block is a platform
514
+ // { name: 'itemBlock2', id: 'jumpPlatform', class: JumpPlatform2, data: assets.platforms.itemBlock2, xPercentage: 0.56, yPercentage: 0.8 }, //item block is a platform
514
515
//{ name: 'itemBlock2', id: 'jumpPlatform', class: BlockPlatform, data: assets.platforms.itemBlock2, xPercentage: 0.56, yPercentage: 0.8 }, //item block is a platform
515
516
{ name : 'coin' , id : 'coin' , class : Coin , data : assets . obstacles . coin , xPercentage : 0.35 , yPercentage : 0.85 } ,
516
517
{ name : 'coin' , id : 'coin' , class : Coin , data : assets . obstacles . coin , xPercentage : 0.3 , yPercentage : 0.34 } ,
0 commit comments