Tuesday, March 24, 2015

Cops 4 Kidz Part 6: The Squeakual

The frustration continued for the first part of class.  I attempted to implement a ray cast hit, but that didn't work.  So eventually I finally caved and made 3 separate scripts to hold the properties of the 3 donuts.  Originally I wanted to do it one script, but eventually realized that that would be impossible.  I also finally managed to call the variables that need being compared, so my task for next week to finally get that system working.


Cops 4 Kidz Part 5: The Frustration

I continued on my quest to try and program an algorithm that would the donuts compare sizes and which platform they were on.  There's not a whole lot more to say other than how frustrating it is to come up with an advanced algorithm for a language I just started learning.  Even some of the basic syntax for C# vexes me, as it seems to want me to jump through hoop after hoop.  In a previous language i used to write scripts for, you could alter and object's properties by just naming the object then putting the property you wanted to edit next to it.  For example: "objectName.x" or objectName.speed", it was fairly simple.  But with Unity, you have set up the object as a GameObject, then use GetComponent to actually call the script you need, then use the script to finally access the variable.  It's just been and incredibly frustrating few weeks.



Tuesday, March 10, 2015

Cops for Kidz Part 4: This Time it's Personal

We continued to work on our respective games.  I built the scene in which the game takes place, the most difficult part about that was zooming in because of the slow mouse scroll speed.  The rest of the assets where put in with greater ease.


This is currently what the game will look like.  I did a bit of programming, so now the player is able to drag around the donuts.  I still need to come up with an algorithm to actually place the donuts.