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
the Object Moves successfully the first time through but wont respawnCode:if cshtProjectileX >= pnlGame.width then graProjectile.translatetransform(-3,0) else if cshtProjectileX <= pnlGame.Width then CshtProjectileX = 401 graProjectile.translatetransform(-3,0)
as for the Lives matter, i have something like this
this works successfully for the first 100 points, how would i go about it for every 100 points?Code:if intPoints = 100 then Health += 1 lblHealth.text = Health.tostring
Thank you
-Shappy




Reply With Quote
