Of course, these 3D programs also required copying some C# code from the teacher. Some kids even made their own 3D mazes using the information we just learned about as a base. Once done, they had fun controlling characters to move around and explore the worlds they had created. If we look at a 3D space directly from the front, we lose a sense of depth (Z-axis) and only see the X and Y axes.īy looking directly from the side, we can no longer see the X-axis, and only see the Y and Z axes.įinally, we can look at the space from straight above to see only the X and Z axes while losing perception of the Y-axis.įor example, let’s take the shape shown below:Įxcluding the Z-axis gives a view from straight in front.Įxcluding the X-axis makes it a direct side-view.įinally, excluding the Y-axis give a top-down view, like a map.Īctually, we told the kids that building in this view is a bit easier, since it’s similar to a map.īy changing around the vantage point, the children made their own maps. To help with this, I’ll explain how to think about a three dimensional space in terms of just two dimensions at a time. Since the computer screen is flat, it can be a bit tough to place things exactly where you want. However, things get a bit more complicated with the addition of the Z-axis.įirst, we had the kids try out placing blocks into a 3D space. Then, by copying the teacher’s code, we made action games where you can control the movements of a character.įor the characters, we found images online we liked and created animations.Īs with 2D programming, our 3D games also started with creating maps. Let’s fill in those settings!īy configuring gravity, opposing forces, and other physics, we tried making a pinball-style game. The block won’t actually fall until we configure physics settings like weight and gravity. Today, I’d like to showcase part of this activity.įor 2D programming, we started by placing blocks along the X-axis and Y-axis to create a map. By having the kids use Unity to make 2D and 3D games, they could get a feel for coordinates while building maps, deal with physics settings like gravity and opposing forces, and try out using the C# programming language. Many popular games, including Pokemon GO, were made with Unity. Targeting the older-elementary summer school students, we tried out using Unity programming to make real 2D and 3D games. Hanada here, TECH PARK’s rockstar engineer/curriculum leader.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |