@@ 1,6 1,10 @@
import * as PIXI from "pixi.js";
import { global, player } from "./globals.ts";
-import { part_texture_url, planet_texture_url, starfield_url } from "./textures.ts";
+import {
+ part_texture_url,
+ planet_texture_url,
+ starfield_url,
+} from "./textures.ts";
import tex_starfield from "./assets/starfield.svg";
const PART_WIDTH = 50;
@@ 28,9 32,9 @@ export function startRender() {
part_sprite_map: new Map(),
starfield: {
sprite: new PIXI.TilingSprite(
- PIXI.Texture.from(
- tex_starfield,
- ), app.width, app.height,
+ PIXI.Texture.from(tex_starfield),
+ app.width,
+ app.height,
),
off_x: 0,
off_y: 0,