JordanIbanez

Members
  • Content Count

    1
  • Joined

  • Last visited

Posts posted by JordanIbanez


  1. Hi guys!

    I'm new to coding & to the forum, and I'd like some assistance in creating a function that spawns a new enemy at regular intervals at random locations on the screen. 

    Attached is the code I've been tweaking with & all related content needed to run the game.html, but I am simply unsure how to go about creating this function, or how to call it at regular intervals.

    Thanks in advance!

    Jordan

    Circuit_Blue.jpg

    Enemy1_Non_Projectile.png

    Enemy1_Projectile.png

    game.html

    gamemain1.js

    jquery.min.js

    NewGame.js

    Pistol1.png

    Pistol2.png

    Player_2.png

    processing.min.js

    projectile.png