Something to do while checking out Dave’s joystick code...

I came across @dave1707 dual joystick code example and added a bit too it. Now you can shoot at some bothersome gnats flying around you. It’s pretty dumb but, I thought it a little more entertaining while evaluating Dave’s code :smiley: . If its too easy, you can uncomment some code in the collision detect function to make things much harder. Cheers!

@krdavis Nice demo, no code is dumb because it will teach someone something. Plus it gave you something to code.

@krdavis nice Icon, you’re a man after my own heart.

Crashes on my iPhone; error message is in attached image.

@UberGoober You need to load the Codea Game Sounds. Look in assets.

@dave1707 thanks!

@krdavis This is cool!

As a game it doesn’t really feel like the player has a chance against the flies, though.

I made some tweaks to make it feel more achievable to get all the flies, plus some cosmetic stuff:

  • Circles are more transparent
  • Vignette effect at corners of screen
  • Small shadow under main character
  • Player’s shots are larger and more colorful
  • Sound effect for shooting added
  • Sound effect for hitting a fly changed
  • Flys are larger
  • Fewer flies
  • Lessened the amount the player can go off the sides of the screen in each direction
  • New icon more close-in on player

Update: made the sounds quieter and less annoying. Note the word “less”. :wink:

@UberGoober nice!