This site requires JavaScript, please enable it in your browser!
Greenfoot back

TehRyan's Comments

Back to TehRyan's profile

Cant** not can
Add a tank driving sound and a running over bush sound. You should also add classes that are buildings (things you can go through)
ok, i get the sorrounding by enemys. But hmm i understand the problem. I think i have a way to fix it so its just not one sound played over, causing lag. but can explain how to do it XD
hmm, you could try to make a new class that makes the sound when the tank is in range. so that the sound would not be running all the time, and you should add it so that the enemys move around randomly and ONLY turn towards if theirs in range of the tank. it looks a tad flat when the enemy is allways moving and turning towards the tank.
what kind of sound files are they? or you could only make the gun on ur tank shootable once every 5 ticks so lag would be alot less
hmm i have sound in my outbreak defence scenario. it dosent cause lag for me at this point?
And if you need help with your game I could try to work on other features (sounds etc, to add depth) you can still publish the game, I would be more then happy to help!!
I would stick with the space control for shooting, I think it would be easier to use
You should add a delay tick, to delay your shots becuase you can really just keep clicking as fast as you can and shoot! you could make a tick += 1 and when the tick = 50 you can click, its slightly more realistic, and to counteract the slower shooting you could add an explosion that the shell hits (only when it hits the ground) and the explosion can kill more then one enemy. just my 2 cents! Ryan