Thursday, March 24, 2011

Day 14 (Mar.24.11) - Home - 1

1103 PM - 130 AM

  1. Opened up Project  ShootTheMoon from the computer's hard drive
  2. I uncommented line 14 of the code which had audio.Playback
  3. When I did that and played it the enemy ship continued to fall past the hero ship but did no respawn
  4. I put the audio source back into the enemy ship and the problem started back up again
  5. I'm changing some of the code in line 14 to see if that effects it
  6. When I played it after changing the line to say : audio.PlayOneShot(audioClips[Random.Range(0,-100)]) ;  it started to go lower than it originally did but now the enemy ship won't respond to the hero ship even if they collide
  7. Okay now I changed the Random.Range to (-4,0) and it just falls straight down. It won't respond to hitting the hero ship and it doesn't respawn.
  8. Since that isn't working I'm going to reset the code and try moving the audio source to a different part of the enemy ship
  9. That didn't make it work exactly right either. I put the audio source into the child of enemy ship and reset the code to what the book has it written as. It will fall but it will not make a sound nor will it react when it collides with the hero ship and it doesn't respawn.
  10. I'm going to completely delete the enemy ship from the scene and redo that whole section
  11. It had next to no effect, but I was able to fix the problem with the sphere collider. I got it so that you don't have to change the x and y in the drop down box for center. 
  12. If I could just find a way of getting the audio to go into the parent enemy ship then it should work just fine but I can't seem to figure out why it is that it's showing up out side of it
  13. Well I managed to reverse the slight bit of progress being that I had solve the Sphere Collider issue
  14. I'm going to have to call it a night I'm not getting anywhere with this tutorial. I've even looked it up and there's no mention of audio sources being outside of their intended slots so I really just don't know.
  15. I'll make a quick GDD and go home to play Sims
  16. Okay finished the GDD and saved it to Day14's folder under the name GDD, and also saved a base for the GDD format called GDDBase.
  17. I might have to skip on playing some more Sims. That sucks cause I was really looking forward to doing that when I got home.
  18. Blogged

No comments:

Post a Comment