()
| 30 | let parallax={x:0,y:0}; |
| 31 | |
| 32 | function loadTextures(){ |
| 33 | loadImages([ |
| 34 | {name:"dropAlpha",src:"img/drop-alpha.png"}, |
| 35 | {name:"dropColor",src:"img/drop-color.png"}, |
| 36 | ]).then((images)=>{ |
| 37 | dropColor = images.dropColor.img; |
| 38 | dropAlpha = images.dropAlpha.img; |
| 39 | |
| 40 | init(); |
| 41 | }); |
| 42 | } |
| 43 | loadTextures(); |
| 44 | |
| 45 | function init(){ |
no test coverage detected