Skip to content

Commit

Permalink
adjust scene scale
Browse files Browse the repository at this point in the history
  • Loading branch information
Maoyeedy committed Oct 8, 2024
1 parent d5f17c5 commit 54e47dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const rotateSpeed = 0.002
const sceneScaleScrollStep = 0.0002
const sceneScaleMin = 0.5
const sceneScaleMax = 2
let sceneScale = 1
let sceneScale = 1.5

// Runtime Variables
let centerOffset
Expand Down Expand Up @@ -115,7 +115,7 @@ function setup () {

// Spawn
player1Pos = createVector(0, 0)
player2Pos = createVector(-3, -3)
player2Pos = createVector(-4, -4)

blocks.push({ position: createVector(0, -3), height: 4 })
blocks.push({ position: createVector(3, -1), height: 3 })
Expand Down

0 comments on commit 54e47dc

Please sign in to comment.