Today has gone pretty well. I have a script on the three reserve planets that I've created that keeps track of weather it is reserved or not, so that if it is it shows up. If not however it is black so it is invisible against the black background that I have. Once I get the planets up and running I will be able to put the values of the planets into the reserved ones. In this way the reserve planets will act just as real planets and have the same buy action on them. I've also loaded all of the models into the reserve planet script so that they can have the correct model when they are reserved. In many ways this script is similar to the planet info script. Really the only difference is that there are all of the models on this rather than just two. Speaking of similarities I did have to go back and add an isMine variable on the planets and an isTwoColor variable to keep track of if the planets are mines or two colors. This way it is far easier for the reserve planet code to tell if the planets are mines, one color or two.
No comments:
Post a Comment