top of page

Game Jam 1

  • Jennifer Chamorro
  • Mar 3, 2016
  • 2 min read

Picking up items using raycasting in Unity3D tutorial: https://www.youtube.com/watch?v=PntmX-3nvVw

.

Assignment Overview: I had planned to pick up items with the tank. I wanted to do this exercise so that I knew how to pick up different items. Later on, I could probably use this technique so that my tank can go through different weapons from the choices they can pick up on the field. I think what I hope to at least achieve in this process is to be able to pick up a cube and if I succeed, then I will change the cube and put a weapons icon on the field. During the meantime, I would like to see if I can get the code right so that I can have a general “picking up” mechanism through a “Raycast”.

The Engine: I chose to use Unity because I feel more comfortable working with this engine. The “tanks multiplayer” also needs Unity in order for it to work. What I like about Unity is that I can substitute certain items with shapes and when I’m ready, I can change the shapes into an actual item that will be consistent throughout the game. Although I’m not the best programmer; I do try my best to understand various codes in this engine, “Visual Studio” really lets me have more control of scripts whenever I need to.

The Tutorials: In the “learning on how to pick up items” video, the narrator talks about his method on using a cube and inputting a code (through Visual Studio) that lets the players pick up an item whenever they walk up to the cube. When the players get close to the item; the players will also see a message that can only be seen when they are close enough to the cube. On the second video “tank creation and control tutorial”, the two help everyone put together their tanks and the controls to their tanks. The tanks were already created by the two creators of the multiplayer tank game; all we needed to do was add in a few lines of the audio tank movement and the tank movement through the tank movement script. The third video “tank camera control” shows the audience on how to get the main camera to pan in/ out when the tanks move around. By adding a camera rig and changing the rotation/ position coordinates; the players can now have a camera that pans very smoothly around the players movements.


 
 
 

Comments


bottom of page