Learn Intermediate OOP by Building a Platformer Game - Step 74

Tell us what’s happening:

What am I doing wrong here. I have checked and double checked All the info is right!

Your code so far

<!-- file: index.html -->

/* file: styles.css */

/* file: script.js */
// User Editable Region


const platformPositions = [
  {x= 500,  y = proportionalSize(450) },
  {x= 700,  y = proportionalSize(400) },
  {x= 850,  y = proportionalSize(350) },
  {x= 900,  y = proportionalSize(350) },
  {x= 1050, y = proportionalSize(150) },
  {x= 2500, y = proportionalSize(450) },
  {x= 2900, y = proportionalSize(400) },
  {x= 3150, y = proportionalSize(350) },
  {x= 3900, y = proportionalSize(450) },
  {x= 4200, y = proportionalSize(400) },
  {x= 4400, y = proportionalSize(200) },
  {x= 4700, y = proportionalSize(150) }
];


// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36

Challenge Information:

Learn Intermediate OOP by Building a Platformer Game - Step 74

I got it. Needed colons instead of =

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.