Activating Game Objects

Evidence

Script #1

using System.Collections;
using UnityEngine;

public class script : MonoBehaviour 
{

    void Start () 
    {
        gameObject.SetActive(false);
    }
}

Script #2

using System.Collections;
using UnityEngine;

public class scriptscript : MonoBehaviour 
{
    public GameObject myObject;

    // Use this for initialization
    void Start() 
    {
        Debug.Log(“Active Self: “ + myObject.activeSelf);
        Debug.Log(“Active in Hierarchy: “ + myObject.activeInHierarchy);
    } 
}

Screencast

What I Learned

After watching this tutorial I learned how to activate game objects in a scene using SetActive and activeSelf / activeInHierarchy tools. This helped me learn some new code that could be useful in the future. One problem I had to solve was at first I didn’t realize I had two scripts that were supposed to be for two separate objects located as a component for only one object. It took me a couple minutes of searching to locate the problem and fix which script was attached to which object, but after I figured that out the objects acted just as they were supposed to.

Project Management and Bug Reporting Software

CC Image My planner by Janice Wood at Flickr

#1: Trello

Pros: Trello is very easy to organize. When I first made my account, it showed me how to organize my lists and my board. The layout is very simple, and can be easily understood and changed according to the user’s preferences. There are also options to create teams, which is a feature that allows you to collaborate. You can also add due dates, which would be helpful to keep a team on task. It is also free.

Cons: In some other organization software, there are ways to add more customizations and organize your notes even further, which I would have appreciated. Otherwise, there aren’t a lot of cons, Trello seems to be a pretty full proof project management software.

#2: Taiga.io

Pros: When first signing up for Taiga, it gave a short tutorial/tour of how to use the software. When going to create a project, there were a couple of options for what type of project to use. This was a cool option that Trello didn’t have, nor an option I would have thought to have in the first place. It was the sort of thing you didn’t know you needed. The first option I chose shows the evolution of your project which is pretty interesting.

Cons: At first all the options were a little overwhelming, and the layout wasn’t nearly as simple as Trello. Along with lacking the simplicity Trello had, it also didn’t have the easy-to-follow tutorial that would show me how to use the software, which was present in Trello.

#3: Slack

Pros: Slack when first logging in is already very easy to use. The layout is simple, but not too simple. There is also a short fill in the blank type thing in the beginning of getting an account to help you understand how to start your first project. There is also an easily-accessible chat function in Slack, which is unique to the other two softwares. Along with all of this, it is very easy to set up an account and it’s free.

Cons: There isn’t a list function, and it seems like more of a chat room than an organizing/project management software. There also really isn’t a clear way to track your progress or see how far you’ve gotten, which is present in the other two softwares.

Conclusion

For my project, I would like to use Trello. It seems to be the easiest to use and has the best overall set of functions that would be convenient for this project. Both Taiga and Slack are great, but would work better in other projects (in my opinion).

My Game Flowchart

Chart

CC Image Final game chart at Flickr

Summary

While making this flowchart I learned a lot about different symbols, organization and design of a flow chart. With the symbols, the rectangles/squares represent the game checking for different processes, which are later represented by rectangles with lines on the inside. The rectangles can also lead to diamonds, which represent different decisions. Finally, the rounded rectangles represent the start or finish of the game. As I write this, I’m now realizing I probably should add in a couple more rounded rectangles to make things more clear. As for some picky details, I learned that in a flow chart you always want the arrows moving down or to the sides or directly up, never diagonally. The arrows should also have sharp edges, not rounded ones. Finally, everything should be spaced neatly, organized, and sequential to the process you want the actions to happen in. All in all, making this flow chart has forced me to look at my game idea from a different perspective, and I think it made all the choices I have to make about my game seem a lot simpler.

Building Scripting Skills

CC Image SCRIPT by GhoDilated at Flickr

Spinning Cube and Simple Clock

CC image #code by George Postoronca at Flickr

Spinning Cube and Simple Clock

Spinning Cube Screencast

Simple Clock Screencast

Scripting Resources

What You Learned

Through doing this project I learned more about basic scripting and using the asset store. Both projects had no animation and all relied simply on the scripting of the object. The simple clock definitely had the more complicated script out of the two, and it took me a class period to get perfect, but otherwise it was a relatively simple concept. With the spinning cube, the hardest part was just getting the assets into the game. On the tutorial, there was a link to the Robot Lab assets, but the link didn’t work. To solve this, I found the asset package directly from the asset store in Unity. Once I imported the assets, all I had to do was drag the cube provided into the scene, click 2 boxes, and write the script for the box so that it was able to spin. The script for the spinning cube was very easy, and took me five minutes to write. All in all, after doing these two tutorials I now have 2 new pieces of script that I can use in future games and a little more knowledge of the asset store.

Roll a Ball

Screencast

Summary

For this project we were tasked with watching a series of tutorials about creating a Roll a Ball type game, and to follow them and create our own. I found the tutorials very easy to follow, and the game was relatively easy to put together. The only problems I had were when I was copying the code from the tutorial and I accidentally left a couple things out so I had to go back and forth from the tutorial to my own code to see where I went wrong, and when I couldn’t get my ball to move faster so I asked Bryce (who sits next to me) how to change the speed of the ball. The game was very fun to make, and I definitely learned a couple basic things that I didn’t know before.

Click here for the link to the tutorials.

Making A Flappy Bird Style Game

Summary

For this game, I learned a lot about basic scripting, animation, components, and more fundamental concepts of building a game in Unity. When I first started this project, I was already running into problems (being me). The first thing I did wrong was make the game in 3D instead of 2D, and then I became extremely confused when all of a sudden I couldn’t import certain sprites into my hierarchy view. To solve this problem I asked Bryce, who sits next to me, and he pointed out my mistake and also cracked a couple jokes about my IQ. The next problem I ran into was writing the script. As it was my first script, I didn’t realize how nit-picky you had to be with all the little semi-colons and periods and indents, so my first draft didn’t work at all. I had to go back through the tutorial’s script and compare it to my own about 10 times to get it completely right. The third big problem I ran into was recording the animation. For some reason, as I followed the tutorial, the recording button for them started automatically. On my computer, I figured out I had to start recording my animation manually, but after around the fifth animating attempt. Unfortunately, after I finished animating, I left on a trip to California for the week. I took my laptop with me and actually redid everything I had already done, and much faster as I knew what I was doing this time, but I still didn’t have the time to finish the game. This is also why my screencast is recorded in the personal edition, in case you were wondering. All in all, this tutorial was a great way to get introduced to Unity and I learned a lot and solved a lot of problems.

Click here for the link to the Flappy Bird tutorials

Contemporary Game Assignment

Screenshot of Finger Driver from Flickr

Summary

For this blog post I have analyzed 3 games in order to learn more about how to build my own game in the future.

Task 1

Screenshot of Finger Driver from Flickr

The only rule of the game is to not hit the side of the track, and it is also the only way to die. You can accumulate coins by completing the missions given to you or by running your car through the coins on the track while driving. While driving, you can not only accumulate coins but also shields, which will protect you for a short amount of time if you happen to run into the side of the track, but then will disappear. The game is challenging because to steer you have to rotate your finger around the wheel but also follow the track, or you can change your control so you’re tapping either side of the screen to turn left and right. The steering controls are what make the game harder than other driving games because it is more difficult to master. The track also progressively becomes more difficult as you continue to drive.

Screenshot of Finger Driver from Flickr

Task 2

The primary goal of the game Finger Driver is to gain as much distance as possible in the track without hitting the sides of the track. The separate goals, which I mentioned in Task 1, are to accumulate coins through completing missions or driving. These coins can be used to purchase new cars. The genre of the game is a 2D Top-Down driving game. (?) The game requires only one mechanic, which is steering/driving. There is no mechanic for speed, or something to make the car go, as it moves at a constant speed automatically for as long as you play. The game is very easy to navigate, as the layout of the game is very simple and there are only 2 main menus and the design is based off of simplicity to appeal to the player. The player finds motivation through beating their own high score, but also by gaining more money and completing missions (which help you gain more money). I do not think that the game is balanced between the risk and the reward though, as there is a very limited amount of cars you can purchase with the coins so once all the cars are purchased part of the motivation is lost. Technically, you can get more cars by watching ads (4 ads per car), but that’s sort of lame and takes away from the main goal of the game. So, once all the cars have been purchased, there no longer seems to be a point to complete the missions or to earn more money while driving, as you can no longer use the money. This leaves the sole motivation of beating your last high score, which makes the risk greater than the reward. Of course, before the cars are purchased, the risk and reward are more balanced.

Task 3

Games that use 3D are generally more immersive with the main character, or more story oriented. Such genres that fit well with 3D are survival, fighting, dance, sports, first-person shooter, etc. All of these genres rely more heavily on the characters. The actions required for some of these games also flow better with a 3D environment because the intention is for them to be more realistic. The controls also have to be more immersive and dynamic for the style of game, which will fit better in a 3D environment.

2D games will work best with genres such as platformer, puzzle, sidescroller, etc. This is because the games are based of simplicity, and is why they appeal to audiences, so they do not require the immersive plot that a 3D game will. A 2D game has reasonably basic graphics, controls, objects, etc, and this is just because of the genre of game. A 3D game with super basic controls and graphics wouldn’t be very appealing just as a 2D game with a super immersive plot and character depth. This is because with a game that has such depth to it, players want to see the design of the games to match the depth. It doesn’t make the game better or worse, just changes the appeal and to whom.

Task 4

Game #1: Temple Run

Screenshot of Temple Run at Flickr
  1. The genre of this game is a platform, with maybe the sub genre of survival or action. This is because it is simply a character running at an automated pace and dodging obstacles through a few simple actions (jump, slide, turn left/right).
  2. The game targets those who aren’t looking for a very complicated game, but can be played by anyone. It attracts many younger kids because it is so easy to learn, but again it can be played by anyone. There is the possibility of it being restricted by a parent or something for mild violence, bit otherwise almost anyone can play it.
  3. The goal is to get as far as possible without dying because of an obstacle or the giant monster chasing you. There is also the added objective of completing the missions given to acquire money.
  4. You are an explorer of some sort who has found a treasure in a temple, but after finding it you find a giant monkey monster things which presumably guards the treasure you just found. It is now chasing you as you attempt to escape the temple alive.
  5. The game overall is very easy to play, and the increase in difficulty the farther you get is reasonable and makes the game progressively more fun and entertaining. It gets much faster as you survive for longer, and this adds a large excitement factor and makes it very fun to play. It is easy to learn, and the game is balanced with its risk and reward. The graphics are decent, but could be improved.

Game #2: Crossy Road

Screenshot of Crossy Road at Flickr
  1. The genre for this game is primarily survival, but could be included in the sub genre platform. This is due to the design of the game, which is to survive as long as possible but also to avoid obstacles.
  2. The intended audience for this game is almost everyone (an infant might be the exception). It is very playable and easy to learn, and there is no violence or anything.
  3. The goal is to go as far across the road as possible without dying by being hit by a car or train, drowning in the water, or being picked up by the eagle for taking too much time.
  4. You are a chicken (or whatever other character is selected) attempting to cross the road. You don’t want to die by any of the given means: hit by car, hit by train, drowning, or eaten by eagle. Because of this you are stuck in an eternal loop of repeatedly hopping across an endless road in which you will die every time only to be re-spawned.
  5. The overall look of the game is very boxy and arcade-like. This arcade aesthetic adds nicely to the game

Game #3: Plants vs. Zombies

Screenshot of Plants vs. Zombies at Flickr
  1. The genre of this game is primarily survival. A sub-genre could be action. The game really only fits survival because it isn’t super action oriented and is simply a game about plants attempting to survive a zombie attack.
  2. The game is simple enough to where most people could probably learn to play it, but the game is very strategy oriented so it probably appeals more to people above the age of 10.
  3. The goal of the game is to complete each level by killing all of the zombies that invade your house using the plants you have. The objective is to increase in levels and by doing so unlock more plants and challenges and earn money.
  4. You’re house is being invaded by zombies. The only way to stop them is to plant your plants that have miraculously become skilled in combat around your house to kill the zombies. If a zombie invades your house, the zombie will eat your brain. (bummer)
  5. The game is kind of child like and glorifies zombie apocalypses more than other games, which is probably why it is still played by younger kids. The graphics are decent and serve their purpose, but again they are very cartoon like and are meant to make zombies appear much less scary than your average 1st person shooter.

 Task 5

  1. What is the general flavor of the game? You can make references to other games, movies, books, or any other media if your game contains similar characters, actions, or ideas.
  2. What is the player’s role? Is the player pretending to be someone or some- thing, and if so, what? Is there more than one? How does the player’s role help to define the gameplay?
  3. Does the game have an avatar or other key character? Describe him/her/it.
  4. What is the nature of the gameplay, in general terms? What kinds of challenges will the player face? What kinds of actions will the player take to overcome them?
  5. Does the game fall into an existing genre? If so, which one?
  6. Why would someone want to play this game? Who is the game’s target audience?
  7. What is the game’s setting? Where does it take place?
  8. Will the game be broken into levels? What might be the victory condition for a typical level?
  9. Does the game have a narrative or story as it goes along? Summarize the plot in a sentence or two.

What I Learned

I learned more about how different aspects of game design appeal to different audiences, and how every element contributes to the overall feel of the game. This helped me learn to identify different game genres, what their target audience is, what the game’s goals and objectives are, the narrative of the game, and the overall feel of the game. This will help me build games in the future because I will be able to identify and make decisions on the elements listed above.

Capstone Project – Top 2-3 Ideas

CC Image Idea by Joey Gannon at Flickr

Idea #1

For this game, the idea will be based off of the phone game Geometry Dash but with rocket ships. It is a side scroller and a platformer and requires jumping and shooting. The object of the game is to complete each level and to earn money for completion. The more money you have, the more customization options you will have for your rocket ship.

Idea #2

The Earth is dying because of global warming, is really a bunch of aliens basically toastering the world. Only blind people can see the aliens, but nothing else. Must figure out how to kill the aliens to save the Earth but also get around basic obstacles because they are blind (couches, how to drive a car, etc.) Dumb things like stubbing their toes are how they lose life points. Simple formatted game, sort of complicated story line. Fun and light aesthetic, bright colored aliens with everything else dark to put emphasis on blind factor.