User Tools

Site Tools


cs444swise:bug_log

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs444swise:bug_log [2014/05/03 12:45]
wisesm0
cs444swise:bug_log [2014/05/03 12:46] (current)
wisesm0
Line 24: Line 24:
  
 Having tons of problems giving my enemies HP Having tons of problems giving my enemies HP
-  * The problem is that I can only update enemy HP in an onCollisionEnter Function. However, the update is made locally and gets changed back to 2 (I set the hp to 2 in an HP global variable and try to update it when an enemy collides with a bullet) every time a new enemy gets created. So the game will have a bootleg version of hp (the bullets will bounce off of some of the characters). This actually adds a nice challenge to the game that will leave people frustrated and wanting to play more. :)+  * The problem is that I can only update enemy HP in an onCollisionEnter Function. However, the update is made locally and gets changed back to 2 (I set the hp to 2 in an HP global variable and try to update it when an enemy collides with a bullet) every time a new enemy gets created. So the game will have a bootleg version of enemy health ​(the bullets will bounce off of some of the characters ​-- you will see when you play it). This actually adds a nice challenge to the game that will leave people frustrated and wanting to play more. :)
cs444swise/bug_log.1399139132.txt.gz ยท Last modified: 2014/05/03 12:45 by wisesm0