Tvick22 / platformer3x

Student repository for Trimester 3, Spring 2024. (Leaderboard Team)
https://tvick22.github.io/platformer3x/
Apache License 2.0
0 stars 0 forks source link

Introduction to our new level #16

Closed AlexRubio1 closed 1 month ago

AlexRubio1 commented 2 months ago

Making new Skibidi Level

idea from Trevor and Andrew, agreed by the whole group

New files

File name:

SkibidiTitan.js
SkibidToilet.js
SkibidiEnding.js
PlayerSkibidi.js

image

We were able to add the level into the level tag portion and with some more changes we were able to link it to the actual level. image

image-2

new enemies

          src: "/images/platformer/sprites/skibidiEnemy.png",
          width: 529,
          height: 884,
          scaleSize: 60,
          speedRatio: 0.85, 

By adding the image of the enemy into images, platform into sprites. Called skibidi enemy.png.

Src: allowed us to use that image to put it as the enemy.

assets: {
      obstacles: {
        tube: { src: "/images/platformer/obstacles/tube.png",
                hitbox: { widthPercentage: 0.5, heightPercentage: 0.5}
              },
        coin: { src: "/images/platformer/obstacles/coin.png"},
        vbucks: { src: "/images/platformer/obstacles/vbucks.png"},
        tree: { src: "/images/platformer/obstacles/tree.png",
                hitbox: { widthPercentage: 0.5, heightPercentage: 0.5}
              },
        toilet: { src: "/images/platformer/obstacles/toilet.png",
                hitbox: { widthPercentage: 0.5, heightPercentage: 0.5}
              },
      },
Screenshot 2024-05-06 at 1 43 32 PM