top of page

Trial and Error

  • Writer: Sophie K.
    Sophie K.
  • Mar 10, 2022
  • 1 min read

Recently, we were asked to write scripts that came together to make a game with a health bar, enemies, and more. A task that proved challenging since we hadn't learned many of the basics behind writing C# code. Coding the enemy AI system so that it moved around the map and patrolled for the player model proved to be surprisingly easy. Making a health system that connected to a health bar image went pretty smoothly as well. The real problem was linking those two systems together so that the enemy could do damage to the player. I tried a bunch of different things, but I'm not sure I would've ever been able to get it to work with the code that I copied. Now that I know some of the basics, I'm hoping to be able to go back and rewrite things. There will probably be a lot of trial and error, but I've discovered the most satisfying thing about writing a script is getting it to work after you have fixed all the little issues.

Recent Posts

See All
Wrapping Up Mission Two

Neither of my games were successfully able to go through the build process so they are not linked here but they were checked in class....

 
 
 
Designing Levels

Our latest assignment tasked us with creating three fully fleshed out levels that we could theoretically make in Unity if given the time...

 
 
 

Comments


Post: Blog2_Post

All works on this website are original and are not for use without permission from the artist; © 2019, Sophia Krause. 2019 by Digital Design and Animation Portfolio. Proudly created with Wix.com

bottom of page