diff --git a/html/images/space.svg b/html/images/space.svg index 972e743..4f493b2 100644 --- a/html/images/space.svg +++ b/html/images/space.svg @@ -112,8 +112,8 @@ - - + + @@ -183,12 +183,9 @@
  • fall off screen after crash
  • make ship a helicopter
  • use paths for walls
  • -
  • no walls
  • stop reading data from elements
  • -
  • ability to land
  • limited fuel
  • additional cannon firing modes
  • -
  • only light up the collided wall
  • keep ship position at 0,0 actual
  • only start on movement not just any keypress
  • @@ -520,6 +517,7 @@ function fireBullet(position, velocity) { lineEl.setAttribute('y2', bulletDestination.y); const startTime = performance.now() + // console.time('bulletCollision'); let pt, hit; for (let i = 0; i <= lineEl.getTotalLength(); i++) { @@ -529,12 +527,11 @@ function fireBullet(position, velocity) { } const endTime = performance.now() - + // console.timeEnd('bulletCollision'); console.log(`Took ${endTime - startTime} milliseconds`) // lineEl.addEventListener('transitionrun', e => console.log('transitionrun', e)); // lineEl.addEventListener('transitionstart', e => console.log('transitionstart', e)); - // lineEl.addEventListener('transitionend', e => console.log('transitionend', e)); lineEl.addEventListener('transitionend', e => e.target.remove()); if (hit) {