XR STUDIO HW 02

Junke Chen
3 min readSep 19, 2020

Junke Chen TCID: T00043420

1. Which were the most difficult to grasp this week?

I think the most difficult part is typing the code correctly. On the one hand, some special vocabulary could not appear automatically or highlight in other colors on the mac, which partly increases the possibility of errors; on the other hand, it caused me a lot of trouble lacking the knowledge of basic code usage rules, especially capitalization.

When the above situation happened during course, I felt anxious for not being able to keep up with others, but I also don’t want to waste time which could be spent on more interesting parts just because of my carelessness .

To solve this problem, I have a small suggestion, that is the professor sends a copy of the correct code to the students before class or after explanation, so that we can keep up with the progress during the class, and check it by ourselves after class. If there are any questions, we can still bring them up in office hour or an email.

2. Which are you excited to explore more?

  • General rules for camera viewing design, including height, angle, etc.
  • How to set other perspectives in addition to the player’s perspective, so that the player can better understand the whole picture of the game?
  • How to set the camera to automatically frame two players so that both players can always see themselves in one screen, which cannot be done in the game I designed below?
  • How to overcome the problem that the object can rise infinitely regardless of gravity if the player presses “up” continuously?
  • How to design a game mechanism, like only when player finishes some tasks can he/she open the door?
  • How to design a reward mechanism, such as gold coins in Mario?
  • How to make environmental objects move?
  • How to design more complex objects, such as people, animals?
  • How to design multiple light sources, in order to prevent the player from not being able to see the object in the shadow?

[Game description]

Part 0 Basic Setup

There are two players (red ball and blue ball) in the game, and the camera follows the blue ball. Due to perspective problems, only the blue ball is operated in the video.

Part 1 Find the Exit

The player jumps from the starting point of plain to the terrain.There are 12 cubes and only of them can be knocked down.Find it, knock it down and pass.

Part 2 Labyrinth

There is only one way out in this two-layer star-shaped labyrinth.Finds it, and pass.

Part 3 Climb the Mountain

There is series of upward stairs on the mountain, the player will get a gold coin jumping to each floor(Haven’t realized in this game).Reach the top, push the small red square down the mountain, and pass.

Link for the video

--

--