Skip to content

Commit

Permalink
pwiddier
Browse files Browse the repository at this point in the history
  • Loading branch information
sky-is-winning committed Jun 4, 2024
1 parent d50b8c7 commit 8d89983
Show file tree
Hide file tree
Showing 176 changed files with 366 additions and 704 deletions.
2 changes: 1 addition & 1 deletion src/engine/airtower/Airtower.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ export default class Airtower {
}
}
return 'en'
}
}
}
4 changes: 2 additions & 2 deletions src/engine/boot/Preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ export default class Preload extends BaseScene {
this.interface.hideLoading()
this.scene.start('InterfaceController')
// let queryString = window.location.href.substring(window.location.href.indexOf('?') + 1, window.location.href.length)
this.scene.start('Shell')
}
this.scene.start('Shell')
}

send2FA(id, code) {
this.airtower.connectLogin(false, false, () => {
Expand Down
3 changes: 1 addition & 2 deletions src/engine/interface/InterfaceController.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,7 @@ export default class InterfaceController extends BaseScene {
this.input.setDefaultCursor('default')
}

hideIglooEdit() {
}
hideIglooEdit() {}

showEmoteBalloon(id, emote) {
this.main.balloonFactory.showEmoteBalloon(id, emote)
Expand Down
17 changes: 8 additions & 9 deletions src/engine/world/Shell.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ export default class Shell extends BaseScene {
}

const defaultIgloo = `${1}%${[]}%${1}%${0}%${0}%${1}%${[]}`
if (!localStorage.iglooData) localStorage.iglooData = JSON.stringify({
currentIgloo: 0,
igloos: [defaultIgloo, defaultIgloo, defaultIgloo, defaultIgloo]
})
if (!localStorage.iglooData)
localStorage.iglooData = JSON.stringify({
currentIgloo: 0,
igloos: [defaultIgloo, defaultIgloo, defaultIgloo, defaultIgloo]
})

let iglooData = JSON.parse(localStorage.iglooData)

this.joinIgloo(iglooData.igloos[iglooData.currentIgloo].split('%'))
}

setClient(args) {
}
setClient(args) {}

joinRoom(id, users = null) {
this.lastRoom = this.room ? this.room.id : 100
Expand All @@ -121,7 +121,7 @@ export default class Shell extends BaseScene {
if (!this.room) {
return this.createIgloo(args)
}

this.room.events.once('shutdown', () => this.createIgloo(args))
this.room.stop()
}
Expand All @@ -130,8 +130,7 @@ export default class Shell extends BaseScene {
this.room = this.iglooFactory.createIgloo(args)
}

addPenguin(userInfo) {
}
addPenguin(userInfo) {}

removePenguin(id) {
// If no room, try again in 0.1 seconds
Expand Down
8 changes: 2 additions & 6 deletions src/scenes/igloos/IglooScene.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,9 @@ export default class IglooScene extends RoomScene {
location.depth = -4
}

hidePenguins() {
}
hidePenguins() {}

showPenguins() {
}
showPenguins() {}

loadFlooring(flooring) {
if (flooring == 0) return
Expand Down Expand Up @@ -263,7 +261,6 @@ export default class IglooScene extends RoomScene {
this.quantities[item] = this.quantities[item] ? this.quantities[item] + 1 : 1
}


/*======= Physics =======*/

addPhysics() {
Expand Down Expand Up @@ -297,7 +294,6 @@ export default class IglooScene extends RoomScene {
}

addInput() {

this.input.dragDistanceThreshold = 1

this.input.on('pointerdown', (pointer, target) => this.onPointerDown(pointer, target))
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/backyard/Backyard.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class Backyard extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [1080, 490]
this.wallSpawn = [970, 200]
this.wallBounds = [410, 1110]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/bamboohut/BambooHut-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export default class BambooHut extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [770, 750]
this.wallSpawn = [790, 400]
this.wallBounds = [520, 1050]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/bamboohut/BambooHut.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class BambooHut extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [770, 750]
this.wallSpawn = [790, 400]
this.wallBounds = [520, 1050]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/basic/Basic-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class Basic extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [760, 760]
this.wallSpawn = [750, 320]
this.wallBounds = [580, 1000]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/basic/Basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class Basic extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [760, 760]
this.wallSpawn = [750, 320]
this.wallBounds = [580, 1000]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/beachparty/BeachParty-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export default class BeachParty extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [670, 440]
this.wallSpawn = [870, 70]
this.wallBounds = [838, 904]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/beachparty/BeachParty.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ export default class BeachParty extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [670, 440]
this.wallSpawn = [870, 70]
this.wallBounds = [838, 904]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/bigcandy/BigCandy-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export default class BigCandy extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [720, 720]
this.wallSpawn = [720, 260]
this.wallBounds = [350, 1200]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/bigcandy/BigCandy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class BigCandy extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [720, 720]
this.wallSpawn = [720, 260]
this.wallBounds = [350, 1200]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default class BlackPuffleTreeHouse extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [580, 634]
this.wallSpawn = [1040, 250]
this.wallBounds = [460, 1060]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export default class BlackPuffleTreeHouse extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [580, 634]
this.wallSpawn = [1040, 250]
this.wallBounds = [460, 1060]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default class BluePuffleTreeHouse extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [580, 634]
this.wallSpawn = [1040, 250]
this.wallBounds = [460, 1060]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/bluepuffletreehouse/BluePuffleTreeHouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export default class BluePuffleTreeHouse extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [580, 634]
this.wallSpawn = [1040, 250]
this.wallBounds = [460, 1060]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default class BrownPuffleTreeHouse extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [580, 634]
this.wallSpawn = [1040, 250]
this.wallBounds = [460, 1060]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export default class BrownPuffleTreeHouse extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [580, 634]
this.wallSpawn = [1040, 250]
this.wallBounds = [460, 1060]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/candy/Candy-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export default class Candy extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [760, 760]
this.wallSpawn = [750, 320]
this.wallBounds = [580, 1000]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/candy/Candy.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class Candy extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [760, 760]
this.wallSpawn = [750, 320]
this.wallBounds = [580, 1000]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/candysplitlevel/CandySplitLevel-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export default class CandySplitLevel extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [1080, 290]
this.wallSpawn = [970, 200]
this.wallBounds = [410, 1110]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/candysplitlevel/CandySplitLevel.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class CandySplitLevel extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [1080, 290]
this.wallSpawn = [970, 200]
this.wallBounds = [410, 1110]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/cave/Cave-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export default class Cave extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [760, 760]
this.wallSpawn = [760, 260]
this.wallBounds = [250, 1200]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/cave/Cave.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class Cave extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [760, 760]
this.wallSpawn = [760, 260]
this.wallBounds = [250, 1200]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/circus/Circus-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default class Circus extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [760, 800]
this.wallSpawn = [760, 440]
this.wallBounds = [300, 1230]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/circus/Circus.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export default class Circus extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [760, 800]
this.wallSpawn = [760, 440]
this.wallBounds = [300, 1230]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/cozycottage/CozyCottage-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export default class CozyCottage extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [656, 614]
this.wallSpawn = [672, 266]
this.wallBounds = [510, 874]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/cozycottage/CozyCottage.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class CozyCottage extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [656, 614]
this.wallSpawn = [672, 266]
this.wallBounds = [510, 874]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/cpairliner/CPAirliner-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default class CPAirliner extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [720, 720]
this.wallSpawn = [400, 340]
this.wallBounds = [480, 940]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/cpairliner/CPAirliner.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export default class CPAirliner extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [720, 720]
this.wallSpawn = [400, 340]
this.wallBounds = [480, 940]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/creepycavern/CreepyCavern-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default class CreepyCavern extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [720, 720]
this.wallSpawn = [720, 720]
this.wallBounds = [400, 340]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/creepycavern/CreepyCavern.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export default class CreepyCavern extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [720, 720]
this.wallSpawn = [720, 720]
this.wallBounds = [400, 340]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/deluxeblue/DeluxeBlue-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export default class DeluxeBlue extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [720, 720]
this.wallSpawn = [720, 260]
this.wallBounds = [350, 1200]
Expand Down
2 changes: 0 additions & 2 deletions src/scenes/igloos/deluxeblue/DeluxeBlue.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ export default class DeluxeBlue extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [720, 720]
this.wallSpawn = [720, 260]
this.wallBounds = [350, 1200]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ export default class DeluxeGingerbreadHouse extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [1000, 686]
this.wallSpawn = [654, 440]
this.wallBounds = [440, 1054]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ export default class DeluxeGingerbreadHouse extends IglooScene {

/* START-USER-CTR-CODE */



this.floorSpawn = [1000, 686]
this.wallSpawn = [654, 440]
this.wallBounds = [440, 1054]
Expand Down
Loading

0 comments on commit 8d89983

Please sign in to comment.