More image optimization
This commit is contained in:
parent
4dee9156bd
commit
a403584465
71 changed files with 139 additions and 80 deletions
17
src/data/splats/Splats.jsx
Normal file
17
src/data/splats/Splats.jsx
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import Blue from './sprites/Blue.png';
|
||||
import Cyan from './sprites/Cyan.png';
|
||||
import Orange from './sprites/Orange.png';
|
||||
import Pink from './sprites/Pink.png';
|
||||
import Teal from './sprites/Teal.png';
|
||||
import Yellow from './sprites/Yellow.png';
|
||||
|
||||
export const Splats = [
|
||||
Blue,
|
||||
Cyan,
|
||||
Orange,
|
||||
Pink,
|
||||
Teal,
|
||||
Yellow,
|
||||
];
|
||||
|
||||
export default () => Splats[Math.floor(Math.random() * Splats.length)];
|
||||
Loading…
Reference in a new issue