55
edits
Phanchris5 (talk | contribs) No edit summary |
Phanchris5 (talk | contribs) |
||
Line 137: | Line 137: | ||
[[File:fogworld24.png|800px]] | [[File:fogworld24.png|800px]] | ||
In order to fill in some of the empty space in the scenario and because a horror game wouldn't be complete without any hideous creatures, I used some humanoid creatures. The image below appears to be a location used for ceremonial prayer by creatures for the main character. | In order to fill in some of the empty space in the scenario and because a horror game wouldn't be complete without any hideous creatures, I used some humanoid creatures. The image below appears to be a location used for ceremonial prayer by creatures for the main character. | ||
[[File:fogworld25.png| | [[File:fogworld25.png|800px]] | ||
''' The praying “Pyramid Head” ''' | ''' The praying “Pyramid Head” ''' | ||
Line 149: | Line 149: | ||
[[File:fogworld29.png|800px]] | [[File:fogworld29.png|800px]] | ||
''' The dissolved texture effect ''' | ''' The dissolved texture effect ''' | ||
<br> | |||
When a character enters Silent Hill's "Other World," the wall and the items in the immediate vicinity gradually change into rusty, unsettling things. | When a character enters Silent Hill's "Other World," the wall and the items in the immediate vicinity gradually change into rusty, unsettling things. | ||
[[File:fogworld30.png|800px]] | [[File:fogworld30.png|800px]] | ||
Line 156: | Line 157: | ||
Here are all the nodes I utilized in my project, but I don't know why after Unity was restarted, all of my node connections vanished. A similar bug was also reported by several people on Unity forum. | Here are all the nodes I utilized in my project, but I don't know why after Unity was restarted, all of my node connections vanished. A similar bug was also reported by several people on Unity forum. | ||
[[File:fogworld32.png| | [[File:fogworld32.png|400px]] | ||
The model we wish to utilize must then be attached to this shader material, which I did by substituting my previous material for the city buildings. I have multiple materials that use this shader, a Box collider to start the effect, and a script, as you can see in my Inspector window. The simplest way to start the dissolve effect when the character enters the collider is to use a box collider to initiate an event. | |||
[[File:fogworld33.png|400px]] | |||
My friend advised me to use another plugin (DOTween) to launch the script to trigger this effect. | |||
[[File:fogworld34.png|400px]] | |||
public class RustCollider : MonoBehaviour | |||
{ | |||
public float transitionTime; | |||
private float rust_amount=0; | |||
private void OnTriggerEnter(Collider other) | |||
{ | |||
rust_amount = 0; | |||
DOTween.To(() => rust_amount, x => rust_amount = x, 1, transitionTime) | |||
.OnUpdate(() => { | |||
Debug.Log("rust=" +rust_amount); | |||
Shader.SetGlobalFloat("rust_amount", rust_amount); | |||
}); | |||
} | |||
private void OnTriggerExit(Collider other) | |||
{ | |||
rust_amount = 1; | |||
DOTween.To(() => rust_amount, x => rust_amount = x, 0, transitionTime) | |||
.OnUpdate(() => { | |||
Debug.Log("rust=" + rust_amount); | |||
Shader.SetGlobalFloat("rust_amount", rust_amount); | |||
}); | |||
} | |||
My friend told me that by employing the DOTween plugin will enable us to create this kind of straightforward animation with less effort. The time variable will automatically flip between states of 1 and 0. | |||
== '''Self-evaluation''' == | |||
Self-evaluation | |||
Overall, I think my Unity project has been a valuable learning experience for me, but there are areas where I feel I could have done better. | Overall, I think my Unity project has been a valuable learning experience for me, but there are areas where I feel I could have done better. | ||
Line 187: | Line 195: | ||
- Modelling 3D objects and creating textures was a challenging task for me, and I regret not having enough time to go through some tutorials to improve my skills in this area. In future projects, I will make sure to allocate more time to 3D modelling and texture design to improve the visual quality of my game. | - Modelling 3D objects and creating textures was a challenging task for me, and I regret not having enough time to go through some tutorials to improve my skills in this area. In future projects, I will make sure to allocate more time to 3D modelling and texture design to improve the visual quality of my game. | ||
One of the key areas where I learned a lot was in designing game levels, including-<br /> | - One of the key areas where I learned a lot was in designing game levels, including-<br /> | ||
planting trees, sculpting terrain, and using skyboxes. However, I recognize that I need to study more on environment composition to create more engaging and immersive game levels in the future. | planting trees, sculpting terrain, and using skyboxes. However, I recognize that I need to study more on environment composition to create more engaging and immersive game levels in the future. | ||
Line 194: | Line 202: | ||
- One fun aspect of the project was learning how to do color grading in<br /> | - One fun aspect of the project was learning how to do color grading in<br /> | ||
Post-processing, which felt similar to using Lightroom or Photoshop. This is an area where I feel more comfortable and confident, and I will continue to explore more advanced techniques in color grading in future projects. | Post-processing, which felt similar to using Lightroom or Photoshop. This is an area where I feel more comfortable and confident, and I will continue to explore more advanced techniques in color grading in future projects. | ||
< | <br> | ||
Finally, I wish I had more time to learn C# and improve my scripting skills to create | |||
more complex interactions and animations in the game. This is an area where I plan to invest more time in the future to improve the overall quality of my games. | |||
<br> | |||
Overall, while there were areas where I faced challenges and wish I could have done better, I am proud of what I accomplished in this Unity project and look forward to continuing to improve my skills in future projects. | Overall, while there were areas where I faced challenges and wish I could have done better, I am proud of what I accomplished in this Unity project and look forward to continuing to improve my skills in future projects. | ||
edits