Tuesday, June 9, 2015
Week 17, Day 19: It's Due
Friday, June 5, 2015
Week 16, Day 17: Fixing those Reserve Planets
Today was spent mainly fixing the scripts for the reserve planets because there was something off about them. Mainly it was that the ordering for the if statements was off by a line or two. So yeah I restructured my ifs and elses. Also all of the models for the planets are in the game now so that's great! I spent a fair amount of time checking if the references were correct and I also had to switch the models for all of the dark matter planets.
Monday, June 1, 2015
Week 16, Day 16: Reserve List
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.
Subscribe to:
Posts (Atom)