73
edits
No edit summary |
No edit summary |
||
Line 40: | Line 40: | ||
== '''Modelling''' == | == '''Modelling''' == | ||
I did not intend to spend much time on Modelling in Unity. I created a colourful terrain by applying a simple texture and change to the reflection rate of it. I tried to apply random trees in the terrain, but it was too heavy to load them. So I would like to keep the scene simple and try to add more dynamic elements by scripting later. In addition, in order to make the whole dreamy world more surreal, I tried to make the sky green in color and filled with pink fog. In addition, I download the Water4AdvancedReflection Asset to create the water flowing on top of the terrain. | I did not intend to spend much time on Modelling in Unity. I created a colourful terrain by applying a simple texture and change to the reflection rate of it. I tried to apply random trees in the terrain, but it was too heavy to load them. So I would like to keep the scene simple and try to add more dynamic elements by scripting later. In addition, in order to make the whole dreamy world more surreal, I tried to make the sky green in color and filled with pink fog. In addition, I download the Water4AdvancedReflection Asset to create the water flowing on top of the terrain. | ||
[[File:Screen Shot 2020-06-15 at 10.47.46 PM.png|400px]] | [[File:Screen Shot 2020-06-15 at 10.47.46 PM.png|400px]] | ||
[[File:Screen Shot 2020-06-15 at 10.49.47 PM.png|400px]] | [[File:Screen Shot 2020-06-15 at 10.49.47 PM.png|400px]] | ||
Line 48: | Line 50: | ||
'''Spiral staircases visual''' | '''Spiral staircases visual''' | ||
Building a staircase is repetitive and yet time consuming. But this is the main idea of my dreaming world, so I followed the script tutorial from Youtube and created a spiral staircase leading to the sky. The idea is that you can place down one cube with this script attached, and it will generate a whole staircase of a chosen number of steps, where the steps will be sized according to the size of the original cube. I also tried to apply Shader Graph to the stairs to make the refractive effect. I spent a lot of time changing the setting and the Render Pipeline(URP), but sadly it still did not work. | Building a staircase is repetitive and yet time consuming. But this is the main idea of my dreaming world, so I followed the script tutorial from Youtube and created a spiral staircase leading to the sky. The idea is that you can place down one cube with this script attached, and it will generate a whole staircase of a chosen number of steps, where the steps will be sized according to the size of the original cube. I also tried to apply Shader Graph to the stairs to make the refractive effect. I spent a lot of time changing the setting and the Render Pipeline(URP), but sadly it still did not work. | ||
Reference | Reference | ||
Speed Coding #2: Stairway to Heaven Unity script (steps generator) | Speed Coding #2: Stairway to Heaven Unity script (steps generator) | ||
https://www.youtube.com/watch?v=W-ZYhHYGSUg | https://www.youtube.com/watch?v=W-ZYhHYGSUg | ||
Unity Spawning Objects Tutorial! | |||
https://www.youtube.com/watch?v=M_khN0EhbOM&t=2s | |||
Mini Unity Tutorial - How To Make A Collectable And Scoring System In C# | |||
https://www.youtube.com/watch?v=D0lx90n0s-4 | |||
'''Interaction Elements''' | '''Interaction Elements''' | ||
In order to make this scene more dynamic and interactive, I tried to make some randomness and interaction. At first, I would like to make a random shapes creation system come from the sky. It would automatically create random colourful shapes and fall onto the terrain floor. When the FPS character came across with some objects in the terrain, there will be a scoring system sound effect and cumulative scores. | In order to make this scene more dynamic and interactive, I tried to make some randomness and interaction. At first, I would like to make a random shapes creation system come from the sky. It would automatically create random colourful shapes and fall onto the terrain floor. When the FPS character came across with some objects in the terrain, there will be a scoring system sound effect and cumulative scores. | ||
In order to function the scoring and sound collecting interactive system, I made several individual self- rotating torus on the terrain for the SFP player to collect. I hope I can fix this problem later on. | In order to function the scoring and sound collecting interactive system, I made several individual self- rotating torus on the terrain for the SFP player to collect. I hope I can fix this problem later on. | ||
Reference: | Reference: | ||
Unity Spawning Objects Tutorial! | Unity Spawning Objects Tutorial! | ||
https://www.youtube.com/watch?v=M_khN0EhbOM&t=2s | https://www.youtube.com/watch?v=M_khN0EhbOM&t=2s | ||
== '''Problem I encountered''' == | |||
'''Problem I encountered''' | |||
I failed to combined different scripts together. When I am making the random shapes generator from the sky. I used parent and child objects with C# for the Spawn-objects script. And then I did not manage to attached the scoring system scripts to the child objects. I tried several times but still not so successful. Maybe I need to understand the hierarchy system from the basic. | I failed to combined different scripts together. When I am making the random shapes generator from the sky. I used parent and child objects with C# for the Spawn-objects script. And then I did not manage to attached the scoring system scripts to the child objects. I tried several times but still not so successful. Maybe I need to understand the hierarchy system from the basic. | ||
== '''Reflection''' == | == '''Reflection''' == | ||
I think I should spend more time of making change of different scenes with the timelines and make the dreaming world more appealing. And maybe make it more mysterious without the scoring system, but triggering different events when FPS control collided with different spawn objects. | I think I should spend more time of making change of different scenes with the timelines and make the dreaming world more appealing. And maybe make it more mysterious without the scoring system, but triggering different events when FPS control collided with different spawn objects. |
edits