fix bugs
This commit is contained in:
+2
-2
@@ -68,8 +68,8 @@
|
|||||||
'sketch_231005a/bg/jpc16.png',
|
'sketch_231005a/bg/jpc16.png',
|
||||||
];
|
];
|
||||||
let imgIndex = 0;
|
let imgIndex = 0;
|
||||||
let x = Math.random() * window.innerWidth;
|
let x = (window.innerWidth - 100) /2;
|
||||||
let y = Math.random() * window.innerHeight;
|
let y = (window.innerHeight - 100) /2;
|
||||||
let xSpeed = 2;
|
let xSpeed = 2;
|
||||||
let ySpeed = 2;
|
let ySpeed = 2;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user