biyaniM / ALICE-IN-WONDERLAND-professional-nappers

Single Player, 3D Platformer movement-based game with Color and Level Mechanics with WebGL Builds
6 stars 1 forks source link

level 1 walls not fading fix #75

Closed biyaniM closed 2 years ago

biyaniM commented 2 years ago

Closes #73

Pulled from the latest PR.

Fix -

  1. Add the "Fading Object" Script to all game objects under the "obstacles" game object.
  2. Marked the layer of all the game objects under the "obstacles" game object as "Fade". In the File diff, the layer change is from 0 to 3. This is present in the top right corner of the inspector of all these game objects.
  3. Added the "Fade Object Blocking Object" Script component with the following values: Fading Component on Main Camera

We can repeat this for all the objects we want to fade.

PROTOCOL FOR TESTING Checkout to the branch from which this PR is made, i.e., in this case, 73-level-1-walls-not-fading. Pull the last commit for this PR of this branch. After this, you should have the code for the test. Check out everything in Unity and add a review here to notify the problem. Note - This protocol works with the assumption that the person making the PR, i.e., me, has pulled the latest version of dev to make the change. Please make sure you do that and if you are checking then make sure to ask the person.

biyaniM commented 2 years ago

Cannot implement this with current Dev, will need to reimplement this on latest dev with the Edit -> Project Settings -> Graphics Add another always use shader -> Standard

Will need to reimplement based on the art being used.