added: tinfoil hat1

This commit is contained in:
yourcoke 2020-11-20 10:59:22 +01:00
parent 92137dc0a3
commit a6c8132f0a
No known key found for this signature in database
GPG Key ID: F2469FFA4FB136F6
5 changed files with 1598 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

View File

@ -254,7 +254,8 @@ export const HATS_RESOURCES: Array<BodyResourceDescriptionInterface> = [
{name: "hats_23", img: "resources/customisation/character_hats/character_hats23.png"},
{name: "hats_24", img: "resources/customisation/character_hats/character_hats24.png"},
{name: "hats_25", img: "resources/customisation/character_hats/character_hats25.png"},
{name: "hats_26", img: "resources/customisation/character_hats/character_hats26.png"}
{name: "hats_26", img: "resources/customisation/character_hats/character_hats26.png"},
{name: "tinfoil_hat1", img: "resources/customisation/character_hats/tinfoil_hat1.png"}
];
export const ACCESSORIES_RESOURCES: Array<BodyResourceDescriptionInterface> = [

18
maps/dist/computer.js vendored Normal file
View File

@ -0,0 +1,18 @@
import * as Phaser from 'phaser';
var Sprite = Phaser.GameObjects.Sprite;
class MySprite extends Sprite {
}
export default {
preload: (loader) => {
loader.atlas('computer', '/resources/items/computer/computer.png', '/resources/items/computer/computer_atlas.json');
},
create: (scene) => {
},
factory: (scene, object) => {
// Idée: ESSAYER WebPack? https://paultavares.wordpress.com/2018/07/02/webpack-how-to-generate-an-es-module-bundle/
let foo = new MySprite(scene, object.x, object.y, 'computer');
scene.add.existing(foo);
//scene.add.sprite(object.x, object.y, 'computer');
}
};
//# sourceMappingURL=computer.js.map

1
maps/dist/computer.js.map vendored Normal file
View File

@ -0,0 +1 @@
{"version":3,"file":"computer.js","sourceRoot":"","sources":["../objects/computer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAEjC,IAAO,MAAM,GAAG,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC;AAmC1C,MAAM,QAAS,SAAQ,MAAM;CAE5B;AAGD,eAAe;IACX,OAAO,EAAE,CAAC,MAAkC,EAAE,EAAE;QAC5C,MAAM,CAAC,KAAK,CAAC,UAAU,EAAE,wCAAwC,EAAE,+CAA+C,CAAC,CAAC;IACxH,CAAC;IACD,MAAM,EAAE,CAAC,KAAY,EAAE,EAAE;IAEzB,CAAC;IACD,OAAO,EAAE,CAAC,KAAY,EAAE,MAAuB,EAAE,EAAE;QAC/C,mHAAmH;QACnH,IAAI,GAAG,GAAG,IAAI,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,EAAE,UAAU,CAAC,CAAC;QAC9D,KAAK,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QACxB,mDAAmD;IACvD,CAAC;CACJ,CAAC"}

1577
maps/yarn.lock Normal file

File diff suppressed because it is too large Load Diff