错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Hitting Enemies with Projectiles

  • Wallace Wang,
  • Tonnetta Walcott

摘要

Once you have a player you can control and a way to fire projectiles, the next step involves hitting enemies with a projectile. This involves creating an enemy, detecting when a collision occurs between a projectile and an enemy, and then removing both the projectile and the enemy afterward. By removing the enemy, the enemy is eliminated in the game.