survival project - wordpress.comunity- health and oxygen script when the game isn’t paused, the...

38
Survival Project Melanie Griffiths

Upload: others

Post on 05-Jun-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Survival Project

Melanie Griffiths

Page 2: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Mindmap

Page 3: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Hazards in the world:● Toxic air that you can’t breathe in without a

mask● Polluted acidic water that is undrinkable and

corrosive- the island is surrounded by acidic water so the player can’t leave

Primary Items to help survive against the hazards:● A gask mask to breathe in the toxic air● A oxygen tank attached to mask that runs out

over time so oxygen tanks have to be collected throughout the game

Secondary items that could be used:● A first aid kit to recover health● Water bottles● Cans of food or MRE food● Water filter● Radiation detector

Page 4: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

UI designs-Inventory

Page 5: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

UI Designs- Main Menu

Page 6: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

UI Designs- Main Menu

Page 7: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

UI Designs- HUD

Page 8: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

UI Designs- HUD

Page 9: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Survival Object Designs- Front of Oxygen Tank

Page 10: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Survival Object Designs- Front of Oxygen Tank

Page 11: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

UI Designs- Side and Back of Oxygen Tank

Page 12: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Character Planning Sheet

Page 13: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Character Planning Sheet Justification

The Jump speed of my character can also be affected by the health as if you are injured then you cant jump as high as you would normally as you are too tired due to suffocating from the toxic air.

The Walk speed could go faster or slower depending on the health because if you are injured, then you would move slower than normal due to dying from the toxic air.

My objects, the oxygen tank and the medpack, affect the characters health and oxygen bars.

The oxygen tank keeps the oxygen tank bar full so my character can breathe in the toxic environment.If the oxygen bar ran out, the character would breathe in the the toxic air and would begin to suffocate.

This would affect the health as they can’t breathe and make the more tired so they can run fast.

The medpack can help heal the character so they feel better and can run quickly again.

Page 14: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity-Health bar and Oxygen BarThe Oxygen Bar decreases slowly and can increase when a oxygen tank is picked up.

When the oxygen bar runs out, the health bar decreases as you are suffocating from the toxic air.

Page 15: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity-InventoryYou can access the Inventory by pressing “e” on the Keyboard or via the Pause menu. For the Inventory design,I went with a dirty, ripped backpack where images of the items and the amount of them are shown. The amount changes when the items are picked up around the environment.There are also buttons that allow you to close the Inventory or go to the pause menu.

Page 16: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity-Main MenuFor my Main menu, I designed the background and design in Photoshop.I added a start button that sends you to the scene with my junkyard environment. The other buttons were added but don’t do anything. I also added a small summary of what the game is about and controls of the game.

Page 17: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity-Pause MenuThe pause menu contains 3 working buttons.The Inventory button opens the inventory and closes the pause menu. The Close button, closes the pause menu and allows the player to move around the environment. The Main Menu button, opens the main menu scene. The Pause Menu pauses the game so the progression bars stop once the pause menu is opened.

Page 18: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity- Walk ScriptWhen the current health is higher than 75, then the walk speed is 8, run speed is 12 and jump speed is 10

When the health is less than 75 but more than 50, then the walk speed is 5, run speed is 6 and jump speed is 5

If the health is less than 50 but more than 25, then walk speed is 3, run speed is 3 and jump speed is 2

If the health is less than 0, then the walk speed, run speed and jump speed is 0 so the character stops moving and would be dead

Page 19: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity- Collecting Items Script

When my oxygen tank is collected, destroy the block, add 1 to the oxygen tank score and add 20 to the current oxygen

When my medpack is collected, destroy the block, add 1 to the medpack score and add 40 to the current health

Page 20: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity- Main Menu Script

Loads the Junkyard environment scene when the “Start” button is pressed.

Page 21: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity- Health and Oxygen Script

When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down by one

Starts the game with 300 oxygen and 100 health and the game is paused at the start

Sets the code to the sliders and defines CurHealth and CurOxygen as floats (can use decimal numbers).

Page 22: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity- Score Script

Set the canvases and text up to be used and defines variables

Sets values to the oxygen numbers and medpack numbers at the start

Has the pause menu on, inventory off and fpc off so you can’t move when the pause menu is open

Page 23: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity- Score Script

When “e” is pressed on the keyboard, the inventory opens, fpc stops, health and oxygen are paused and a cursor is visible.

When “q” is pressed on the keyboard, the pause menu opens, fpc stops, health and oxygen are paused and a cursor is visible.

Page 24: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unity- Score ScriptCreated an inventory function to open the inventory when the inventory button is pressed in the pause menu Created an pause menu function

to open the pause menu when the pause menu button is pressed in the inventory menu

Created an close menu function to close the pause menu when the close button is pressed in the pause menu Created an close inventory

function to close the inventory when the close button is pressed in the inventory

Loads the Main menu scene when the main menu button is pressed

Page 25: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Organising Digital WorkspaceWindow Positioning

In Adobe Photoshop, you can undock several images from the top bar onto the screen as small windows to see them while you are working on one at the same time.This is useful when you need to look at images for reference whilst working instead of having the flick back and forth through documents The windows can be moved around the workspace freely and the size of the windows can be adjusted to the users liking so the images aren’t covering the screen too much. The images can be docked onto the top bar again if they don’t want the images on the screen at that time.

Page 26: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Organising Digital WorkspaceEssential Palettes for concept art

On the left side in Photoshop, there is the digital tools selection bar with icons representing each tool so they don’t take up too much space on the screen. When using the brush tool, you use a brush preset and can change brush type, brush width and brush edge hardness.This gives multiple options for an artist to use while the menu is not obstructing their view of their work.

Page 27: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Organising Digital WorkspaceColour Selection

In Adobe Photoshop, on the the Digital tools selection bar, there is the colour swatch that lets you select the colour you want. You can set the tone of the colour, whether you want light or darker tone of that colour.This allows easier access for the user to pick their colour and tone and won’t obstruct their view of the screen. Also two colours can be switched between when needed.

Page 28: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Digital tools for concept art

The brush tool in Photoshop can be used to paint an area of the colour the user has chosen in the colour selection.This allow them the freely choose where they want to paint with the colours of their choosing.

The crop tool allows the user to cut around parts of an image to remove parts of the image they don’t want. This can be useful for adding other work onto current work and you want a specific section.

The Zoom tool allows the user to zoom into the image and work in smaller parts of the image or to focus on specific areas of an image.

The blur tool can give the effect of fast movement or blurring the background and making an object in the foreground sharper can create more depth to an image.

Page 29: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Digital tools for concept artThe pen tool can draw straight line segments in photoshop. This can affect concept art if the user wants to have straight lines in there drawings which is clean and sharp.

The path selection tool selects and moves (fragments of) existing path's / vector shape mask's segments / anchor points. This allows the user to move fragments of their paths if they want to edit their work.

The spot healing brush is used to clone areas from an image and blend the pixels from the sampled area seamlessly with the target area. The user can blend them together better and clone certain parts of their work.

The Gradient tool creates a gradual blend between multiple colors. This can be good for concept art as the colours can be blended and adds better shading and colour blends.

Page 30: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Digital tools for concept art

The dodge tool is used to lighten parts of the image. This can create a light effect to make parts brighter where light would reflect and creates more depth with the shading.

The Eraser tool can erase parts of an image that they want maybe to show something from a layer underneath such as if they made a character on one layer then a mask on a layer above, then the can erase the eye section to see the characters eyes underneath.

The quick selection tool is used to quickly “paint” a selection using an adjustable round brush tip. As you drag, the selection expands outward and automatically finds and follows defined edges in the image.

The clone stamp tool can be used to clone an area and use it to paint another area and the size and hardness of the brushed can be changed to suit the user better.

Page 31: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Advantages of Digital Painting Tool Sets

The colour pallette allows the user to have access to a variety of different colours, shades and tones. The colour and tone can be changed very easily and there is no mess with paint. With a traditional tool set, paint mixing to get the wanted colour and tone can be time consuming and if you left you work and came back to it the next day, you would have to remix the paint which may be a different tone than before. You would also need a lot of space to store the paint and buying the paint can be expensive.

Page 32: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Advantages of Digital Painting Tool Sets

The brush preset tool allows the user to pick the type of brush they want to use, the size of the brush and the hardness of them. A graphics tablet can be used with them to accurately simulate brush strokes. More brush presets can be download giving the user more variety. With a traditional tool set, they would have to buy multiple types of brushes and sizes which can be expensive and would need space to store all these brushes. Whereas, photoshop had all these presets built in and you would only need space for a desk with a computer with the software.

Page 33: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Advantages of Digital Painting Tool Sets

With the history tool in photoshop, you can go back to fix mistakes you made in your work. This makes it easy to go back a couple of step to change something and allows a quick restart if the concept art needs to be started again. With a Traditional tool set, if you made a mistake then you would have to work around that mistake to correct it which could take a lot of time or scrap the project and start again. More equipment like erasers and pot of water would cost money to buy.

Page 34: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Digital Palettes in Concept artWhen creating my Inventory, I made use of multiple layers. Layer 0 was my drawing using pen and colour pencils to use a a base, Layer 2 was my base paint for the backpack, Layer 3 was for shading and Layer 1 was my lines. By separating them as different layers, I could word on specific things without affecting other parts for example, I could change the shading without affecting the base paint.

Page 35: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Digital Palettes in Concept artUsing the colour pallete made it easier for picking certain colours and shades whilst working on my Inventory design. This made painting it much quicker than using real paint and having to mix paint. This helped with shading by using brighter or darker colours to create a lighting effect and depth to the image.

Page 36: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P02- Digital Palettes in Concept art

Using the eraser allowed my to fix mistakes quickly and neaten up areas where paint went out the lines or the lines need to be neatened up. This is much easier to fix mistakes than doing traditional concept art which you may fix the mistakes but you may not and will have to work around them or start again.

Page 37: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P04- Visual Communication

Halo Reach

This concept art is broken up into background, midground and foreground. In the colour pallette there is use of black, bright red, bright green, muted greens with occasional use of light blue and orange. The background is brighter than the midground and light in the midground is being blocked which is creating a shadow. The scenes seems to be shot a slightly lower angle and angled slightly to the right which shows the background more and emphasises the depth of the image. The Proportion is both realistic with the people in armour and slightly exaggerated with the monsters in the midground and background. The use digital techniques such as glow filters and effects for the robots and the layering of the foreground, midground and background.

Page 38: Survival Project - WordPress.comUnity- Health and Oxygen Script When the game isn’t paused, the current oxygen goes down by one and when the oxygen is at 0, the health goes down

Unit 4 P04- Visual Communication

Ark Survival Evolved

This concept art is broken up into background and foreground. In the colour pallette there is use of black, bright green, muted greens, occasional use of black to emphasise darker areas and bright yellow to emphasise lighting. The background is brighter than the foreground but some light enters the foreground. The scenes seems to be shot a straight angle but wide perspective. The proportion is both realistic with the people in armour and exaggerated with the dinosaur which are not alive in modern age. The use digital techniques such as lighting effects for the sunlight through the trees and the unrefined digital paint brush strokes on the environment.