Browse Source

Display before moving

main
Luke Murphy 5 years ago
parent
commit
3deb7b2a57
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 2
      voicegardens/static/voicegardens.js

2
voicegardens/static/voicegardens.js

@ -283,8 +283,8 @@ function draw() {
} }
for (var shape of shapes) { for (var shape of shapes) {
shape.move();
shape.display(); shape.display();
shape.move();
if (shape.collide(shapes) === true) { if (shape.collide(shapes) === true) {
shape.sound(); shape.sound();
} }

Loading…
Cancel
Save