Sunday, February 27, 2011

Day 8 (Feb.27.11) - Home - 1

1000 PM - 1130 AM

  1. Opened up Scene1 in new project and continued working on the script
  2. I was able to complete the battery collection script (I had to go back and correct it after going into the PlayerCollider script)
  3. Completed the PlayerCollider Script, that is until I realized that there were errors in the script. Going back I was able to fix most of the problems but unfortunately there is a line of script that I can't figure out what exactly is wrong with it.
  4. The problem is with line 70 which is written as follows : function OnTriggerEnter(collisionInfo : Collider){ 
  5. And due that error I can't apply the sound to the Battery Collect function that is suppose to show up in the inspector panel. I'm going to leave that alone for now and continue through the rest of the packet because I have other assignments to work on before I can call it a night
  6. I commented the troublesome code out so that it can still function with the new additions made to it.
  7. Alright made it to the GUI Texture where I'm suppose to be able to input the text "it seems that the door needs more power " and have come across another problem. This time it's with line 30 and in the console it's saying that I don't have an ending bracket. I DO!!!!! I know because it's positioned right under the else if where it's suppose to be so i don't understand what's wrong.
  8. I'm just going to have to end it here it's almost 1130PM and I looked through the rest of the packet being only 1 page left of coding and this error is now my primary problem of two. I would comment it out but I need it in order to put in the GUI Texture in so I can't do that can continue with what I'm being instructed
  9. Blogged

No comments:

Post a Comment