MCPcopy Create free account
hub / github.com/codemistic/Web-Development / preload

Function preload

SpinWheel-Santa/JS/game.js:26–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24let game = new Phaser.Game(config);
25
26function preload(){
27 console.log("Preload");
28 //load object, load some images
29 this.load.image('background','Assets/screen.jpg');
30 console.log(this);
31 this.load.image('wheel','Assets/wheelin.png');
32 this.load.image('pin','Assets/pinin.png');
33 this.load.image('stand','Assets/stnd.png');
34 // this.load.image('button','Assets/button.ico');
35
36}
37function create(){
38 console.log("Create");
39

Callers

nothing calls this directly

Calls 2

logMethod · 0.45
imageMethod · 0.45

Tested by

no test coverage detected