Ranjan: insead of ~~~~~~~~~~ if(type == 2) { for(var i in _root.ship.enemies) { _root.ship.enemies[i].explode(); } } ~~~~~~~~~~ try ~~~~~~~~~~ if(type == 2) { for(var i in _root.ship.enemies) { _root.ship.enemies[i].takeDamage(); } } ~~~~~~~~~~ how the hell can I add line breaks here? :|
Yapyap: Math.random() generates a random number between zero and one, including zero (but not one). Math.floor(someNumber) rounds "someNumber" down the the nearest integer (for example if someNumber = 17.4 then Math.floor(someNumber) would be 17). Math.floor(Math.random()) will always give you a zero unless you multiply the random by a number greater than one.
When you click "Host Game" you can only pick 3- or 5-card games... I wish there was a cancel button.
Great game though! I'm looking forward to the final release.