From cd606702b4cc73119e8472ff2b006a3f13687d9c Mon Sep 17 00:00:00 2001 From: Tom Barrett Date: Sun, 31 Jul 2022 14:00:56 +0200 Subject: functional parity with master, although a bug with the textures --- src/main.rs | 53 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 21 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index d0fb782..0c7f92e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,17 @@ use bevy::math::Vec3; use bevy::prelude::*; +use bevy::render::texture::ImageSettings; use gems::cell::{self, AnimationTimer, Cell, Occupant}; use gems::constants; use rand::{thread_rng, Rng}; use std::time::Duration; -fn star_spawning(mut commands: Commands, time: Res