Okay so i have my player on the left hand side of the screen. The enemies are on the right hand side and are being spawned every random number of seconds. They have a current bullet speed of 400 heading towards the player.
To increase the difficulty of the game i want to increase their speed by 100 every 5 seconds. Now i tried doing this through the following:
Enemy.Bullet.Speed+100...............This increased the enemies speed by 100 after being spawned, however once a new enemy was spawned it was back to its original speed of 400 and then increasing by 100. So it was only ever 400+100.....400+100......400+100 and not 400+100.....500+100.......600+100........etc
Do i need to add an instant variable to the enemy? if so how do i associate the instant variable with the enemies bullet speed??