Removed Stuff

This commit is contained in:
2025-10-29 16:48:03 -05:00
parent ab79e95734
commit e6daabf16d

View File

@ -2,7 +2,6 @@ let images = {};
let simulator = []; let simulator = [];
let maxSpeed = 1; let maxSpeed = 1;
let backgroundImage; let backgroundImage;
let worldScale;
let LEFT = [-1,0]; let LEFT = [-1,0];
const entityTypes = Object.freeze({ const entityTypes = Object.freeze({
@ -133,7 +132,7 @@ function checkCollision(entity1, entity2){
Explode(entity2); Explode(entity2);
} }
} }
} }
function Explode(entity){ function Explode(entity){
if(entity.type == entityTypes.METERORITE_SMALL){ if(entity.type == entityTypes.METERORITE_SMALL){
@ -190,7 +189,7 @@ function setup(){
describe("A space physics simulator"); describe("A space physics simulator");
canvas.position(0,0); canvas.position(0,0);
worldScale = createSlider();
//Load Entities //Load Entities
for(var i = 0; i <= Settings.entityCount; i+=1){ for(var i = 0; i <= Settings.entityCount; i+=1){
@ -214,7 +213,6 @@ function mouseClicked(){
simulator.forEach((entity) =>{ simulator.forEach((entity) =>{
}) })
console.log(worldScale.value());
} }
function draw(){ function draw(){