Doorgaan naar hoofdcontent

Blok 4 - Phase 3: Execute Part 2



TURN LIGHTS OFF

To turn all lights off and turn the hotel dark i had to disable all light gameobjects and change the color of my directional light to a darker shade. i did this by making a gameobject list for the lights and turning them off after a few seconds had past.
in my cooldown timer i added the same concept but the other way around.

GHOST ANIMATION

Assets.

first i had to create some assets to animate when the lights turn out. i created some dark assets with light assets. in the dark this creates an effect of a weird shape with
a clearly visable scary mask.

Aniamtion.

for the ghosts I made a couple of animators for a right, front or back animation (this is beacause i wanted to place the ghosts in different rotations. these aniamtions of course had no position so could place them whereever I liked.

next i could put hem in my list in the in spector and place them in my scene!

I also added a Bloom script to my main camera. now i can change the intensity with this simple code:glowFX.intensity = 2.5f;
I made it so that when the lights turn back on that there is a little flash which is meant to illustrate your eyes readjusting

Reacties

Populaire posts van deze blog

Blok 3 - Phase 1: Context Design

- Game Context My game is based on a classic game of hide and seek. the main difference is that it is played behind a computer screen! Gerne  This hide and seek game will be a party game. i am however concidering if it should be played on a differen screen per player or if only the seekers and hiders are sepparated. Core Gameplay & Mechanics The core gameplay is that the same as hide and seek. the hiders get a headstart in the level starting close to the same location as the seeker. then when their time is up the seeker gets a look at the level and tries to find the other players. once found the seeker has to either shoot the players from close range or touch them. knowing the seeker has a gun you could also see the players as cops and robbers, but in more friendly matter. The Core machanics are rather wonky. this is beacause i am trying to work with ragdoll physics that closely resemble "Gang |Beast" or "Human Fall Flat"   All players c...

Blok 4 - Phase 1: Analyse

TECHNICAL ART: L evel Assets I have lots and lots of low poly prefabs made which make up the map and the objects inside the characters are made of standerd unity shapes. I should sepparate these static enviroments and bake their shadows with shadowmasks. I made my level assets like walls and ground static and then baked my shadows into them with object maps. this should stop my game from being to laggy. the movable object are still in realtime shadows L ightning and shaders I have a FlatLitShader aplied with no fancy lighting technuiqes or anything. all i have is a couple of standerd spotlights and a directional light. I Should play with some lighting, quality and player options and also apply post processing. Here ar a couple of topics i worked on. Topics: Color Spaces I chose to render my color space in linear. it came acrros as the easiest way to make you game look bether and i did some resrach on how it works and it actualy aplies really we...

Blok 3 - Phase 4: Production

I worked a lot on my model which obviously took up the most time in my progress. this is my build finnished but it didnt fit in the render. you get the picture And i also worked a bit on my game design: blankets/kushens that arent static glass that breaks mirrors that work lights that go on and of (+ a power switch for the whole building) rope that works when you press start there will be a different scene each round all these scenes will alter slightly: objects are in different locations and there will be different themes. themes: random each round: different filters, guns, costumes per player: 70's pop, cops and robbers, enz. the seeker will always need to find a fixed amound of players.. lets say 5. but what if there are not enaugh players to fill the spots? well the seeker will then have to find objects in their place. so when there are 4 players. one will be the seeker and 3 will be hiders. the seeker then has to find 3 players and 2 items (maybe a milkb...