I managed to get a sound to play during the hittest between the power plant and the mountain. It works and shows that I could also implement a power up dot effect. Now that I know how to link sounds in I'm going to work on reducing the amount of code I'm writing. The way I have it now if there were 100 mountains I would perform an individual check on each one. I've got to figure out a way of basically making the mountains the exact same. That way 1 change affects all of them and I don't have to re-code each one every time.
No comments:
Post a Comment