Hiya,
i'm building a small game and seem to be having trouble with having my code respawn a projectile
currently i'm using an if statement
the projectiles are stored as Bitmap graphics
Code:
if cshtProjectileX >= pnlGame.width then
graProjectile.translatetransform(-3,0)
else if cshtProjectileX <= pnlGame.Width then
CshtProjectileX = 401
graProjectile.translatetransform(-3,0)
the Object Moves successfully the first time through but wont respawn
as for the Lives matter, i have something like this
Code:
if intPoints = 100 then
Health += 1
lblHealth.text = Health.tostring
this works successfully for the first 100 points, how would i go about it for every 100 points?
Thank you
-Shappy