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 2: Plan

WHAT IS THIS GAME GOING TO BE? P arty game: local couch party game maken. Een simplistisch spel met goede afwerking. Denk hierbij aan -> 3d local multiplayer game Die met 4 camera's in splitscreen opereert Ik ga mijn main game vroeg "af" maken om vooral te focussen op polish en extra's. Op het eind zou ik me eventueel kunnen focussen op het Publiceren van dit spel. W at maakt dit spel uniek? Als Core gebruik ik voor dit spel Verstoppen. Dit baseer ik natuurlijk grotendeels op het real life spel: verstoppertje. om het echte creatieve gevoel van verstoppen na te maken gebuik ik dus physics in het environment. je kan zo dingen verschuiven. oppakken en… verstoppen. iets waar ik veel aan wil werken is het aantal assets en game mechanics. extra’s glas dat breekt, spiegels die werken, lichten die aan en uit kunnen. tauw dat dynamisch is, kussens en dekens met soft bodies water waarmee je kan interacteren....

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...