Tuesday, January 1, 2019

Designing Boss Battles - Comparing Super Mario Odyssey Bosses To Dead Cells

Disclaimer
I'm a recent graduate, I have just finished my Masters degree in Commercial Games Development so I in no way have the same experience as any of the developers of any mentioned games and in fact I actual love each on that I mentioned. This is just some critical thinking that might help me in the future when it comes to designing games and implementing gameplay mechanics in the future, so take what I say with a pinch of salt.

Actual Post
Some of the games I've played recently include Super Mario Odyssey and Dead Cells. Both games have bosses and mini bosses within the various levels the player goes through. This got me thinking of how to design boss battles.

From memory each boss battle in Super Mario Odyssey, follows the traditional rule of three design used for most boss battles. The boss has three stages and each stage gets a bit harder compared to the last. Each stage is also distinct visually as aspects of the boss will change, such as Topper using more hats to try and beat Mario.

Dead Cells on the other hand is a bit different, it doesn't always use the rule of three design like Mario. Each boss has a giant health bar that stretches horizontally across the top of the screen, all the player has to do it get that health bar to 0. The first boss, the Concierge doesn't have any stages and no noticeable and visible difference between the boss being at 75% health or 25% health. It does have different types of attacks that it will use throughout the fight but even Topper has a few attacks that he can use at any stage of the fight.

While the first boss might not have any stages, the Conjunctivius does and its noticable as the chains holding the monster are destroyed. It also somewhat uses a modified version of the rule of three design, there are six stages to the fight and the first two stages are repeated three times each. This is vastly different in design compared to the first boss and I think I know why, the first boss is an all out brawl and it's okay to brute force the fight, taking as much damage as possible because compared to all of the other bosses (some I still haven't fought), this is meant to be the easiest. The second boss on the other hand, the player has to survive longer and therefore have to be more tactile. 

This is where patterns come into play. A Theory of Fun is a book by Raph Koster and I highly recommend picking it up and reading it. Within the book Raph describes patterns as a learning mechanism that helps humans learn to survive and is something we have been doing for a long time. Once we have leart a specific pattern, we can reuse it without even thinking, for example how often do you actually have to think about how to walk, you don't, our brains have figured out the pattern of how to walk and uses that to allow use to walk without barely giving it a second thought.

This is why the rule of three is useful because its essentially a pattern, we as the player has to beat the boss in a specific way (with slight variations) three time. By having those stages, visible changes to the bosses and a slight break inbetween each stage, we can learn the fight and the mechanics needed to beat the boss and survive. This is partly why the bosses in Super Mario Odyssey are so good (there are a ton of other factors like animation and game feel).

Raph also mentions within his book about noise, which is when we are unable to find a pattern in something. This causes us to get frustrated and give up, I think Dead Cells's bosses suffer from this, even with the second boss, where it somewhat uses the rule of three, I have only beaten it once (I haven't go that route to face him since) and because until I did, I couldn't see the pattern and was just trying to brute force the fight like before. Eventually the pattern clicked but it did take a while.

So why does this happen, well I think Rami Ismail stated it really well in his 2018 GOTY list. How can you design (he uses interesting, but both prove the point) something when the player can be in various states, with a huge range of weapons and abilities to use. How many weapons or abilities does Mario have? He has Cappy, which he can throw in various ways to damage or capture and enemy or theres the ground pound and if Mario has captured an enemy, then whatever that enemy's ability might be. Theres 3 types of attacks and in terms of the enemies that Mario can capture, those are known and determined beforehand unlike the player within Dead Cells.

Could it be down to the type of game that Dead Cells is? No I don't think so, There are roguelikes such as The Binding of Isaac and Enter the Gungeon, which have a range of character, weapons and abilities, but their bosses are fun and interesting to fight, I rarely use brute force. That being said with the Rogue Legacy bosses, brute force was my main strategy because I could level my characters to such that I was completely overpowered, with more health and dps compared to any of the bosses, even in new game + x4. So maybe its a design issue that isn't just about the bosses as discussed with using the rule of three or not, but also a weapons/abilities/leveling up system issue as both The Binding of Isaac and Enter the Gungeon doesn;t have a permanent level up system.


Friday, November 23, 2018

Perlin Noise Texture Generator

The Perlin Noise texture generator is a small processing program I wrote that could easily and quickly generate Perlin Noise textures for whatever need. While I've never needed to use Perlin Noise textures, having the tool there ready to use would be useful should I ever need it but also is available for others to use as well.

There are three windows:
  • The texture window, which displays the noise texture.
  • The settings window, which displays the current settings for the current/next texture, but also handles input for changing those settings.
  • Finally the controls window, which just displays the keyboard controls of the program.
Codebase: here
Executables: 32 bit and 64 bit windows

Thursday, November 22, 2018

Reference Sorter Program

Why Create A Reference Sorter?

The reason why I created this small program is purely out of laziness, whilst writing my thesis for my masters dissertation I had added various references over time but never put them in alphabetical order when I did. However, in the end I needed them to be in alphabetical order, I could have simply cut and pasted the references into the correct order, but instead I wrote a C++ program to do it instead. It probably would have been just as fast if not faster to cut and paste but having a program that can do it in seconds could also be reused, not that I plan on writing another thesis anytime soon. That being said it can be used by any other student who might need it and therefore still useful.

Links

Repository

Executables: 32 bit and 64 bit

Wednesday, November 14, 2018

Camera Shake

These are notes made while watching this GDC talk.

General Information

  • Use a trauma variable that has a range of (0,1)
  • Factors like damage or stress adds to the trauma variable
  • The trauma variable decreases linearly overtime
  • Set the camera shake amount equal to trauma² or trauma³
  • This means that the camera shake and trauma variable are not linearly proportional
  • This creates a spring and damper effect that feels right for the player
  • It also allows the player to perceive how its escalating

Translational VS Rotational

2D

  • Rotational is okay
  • Translational is great
  • But Translational + Rotational is awesome

3D

  • Rotational is awesome
  • Translational is lame
N.B. Translational in 3D can also cause clipping with the environment.

VR

DON'T DO IT!!!

Implementations

In both implementations a second camera is used to do the camera shake effect, this means that the original camera is preserved. Also all angles used are eular angles.


2D

angle = maxAngle * shake * Random.Range(-1, 1);
offsetX = maxOffset * shake * Random.Range(-1, 1);
offsetY = maxOffset * shake * Random.Range(-1, 1);

shakyCam.angle = cam.angle + angle;
shakyCam.center = cam.center + Vector2(offsetX, offsetY);


3D

yaw = maxYaw * shake * Random.Range(-1, 1);
pitch = maxPitch * shake * Random.Range(-1, 1);
roll = maxRoll * shake * Random.Range(-1, 1);

shakyCam.rotation = cam.rotation + Vector3(pitch, yaw, roll);

If you want translational as well in 3D then include:
offsetX = maxOffset * shake * Random.Range(-1, 1);
offsetY = maxOffset * shake * Random.Range(-1, 1);
offsetZ = maxOffset * shake * Random.Range(-1, 1);

shakyCam.center = cam.center + Vector3(offsetX, offsetY, offsetZ);


3D using Perlin Noise

yaw = maxYaw * shake * GetPerlinNoise(seed, deltaTime, ...);
pitch = maxPitch * shake * GetPerlinNoise(seed + 1, deltaTime, ...);
roll = maxRoll * shake * GetPerlinNoise(seed + 2, deltaTime, ...);

shakyCam.rotation = cam.rotation + Vector3(pitch, yaw, roll);

If you want translational as well in 3D then include:
offsetX = maxOffset * shake * GetPerlinNoise(seed + 3, deltaTime, ...);
offsetY = maxOffset * shake * GetPerlinNoise(seed + 4, deltaTime, ...);
offsetZ = maxOffset * shake * GetPerlinNoise(seed + 5, deltaTime, ...);

shakyCam.center = cam.center + Vector3(offsetX, offsetY, offsetZ);

Random VS Smoothed Noise (Such as Perlin Noise)

  • Smoothed noise feels better
  • Smoothed noise automatically works with pause and slow motion due to use of deltaTime
  • Smoothed noise has adjustable frequency
  • Smoothed noise is more easily reproducible on replays

Monday, November 12, 2018

Rotating Images

Recently I have been working on a small image processing program built using Processing 3. I wanted to add the ability to rotate the image 90° clockwise or anti-clockwise, but I needed to modify the pixels themselves and figure out where they should be after the rotation.


Original Image

Image Rotated 90° Clockwise


To do this I needed to use Vector Math and more specifically rotating a vector. Each pixel has a position in screen space, made of an x co-ordinate and a y co-ordinate. Depending on the program/engine/framework being used the screen space will start (aka the origin (0, 0)) either in the top left corner or bottom left corner (this will be important later).

To rotate a vector in any angle (ϑ) we use the equation:
New X = v.x * cos(ϑ) - v.y * sin(ϑ)
New Y = v.x * sin(ϑ) + v.y * cos(ϑ)

This will then rotate any vector assuming that you are rotating it around the origin (0, 0), however, you'll most likely want to rotate it using a different pivot point. You could move each pixel relative to the origin, rotate each pixel using the above fomula and then translate that back to the actual pivot point but thats a lot of extra calculations. The equation can be modified to do this all in one go.



New X = (v.x - rotate point.x) * cos(ϑ) - (v.y - rotate point.y) * sin(ϑ) +  rotate point.x
New Y = (v.x - rotate point.x) * sin(ϑ) + (v.y - rotate point.y) * cos(ϑ) +  rotate point.y

Now depending on which way your screen origin is located, you might have to invert the angle, so if your screen origin is in the top left, you are fine and can use 90° to rotate something clockwise. However, if your screen origin is in the bottom left, you unfortunately have to invert the angle, so for 90° clockwise, the angle actually used is -90°.

Tuesday, November 6, 2018

Unity Property Attributes

Unity allows developers to use property attributes to modify how a class instance looks within the inspector. Here are some of them and how they work.

[Header("Some Header")]
Header allows you to title a set of variables so if you had a string for the characters name and a string for their description you can place a header attribute above them to signal to anyone that those variables are specifically for a character's description, then use another header attribute for the character's movement stats.

[Tooltip("Some Tip")]
Tooltip allows you to display a tip within the inspector to help explain any variable viewed in the inspector. This is especially useful if the naming of the variable is confusing or could possibly be confused with another variable.

[ContextMenu("Some Menu Name")]
Context Menu allows you to call a function defined within the class from the inspector and can be used to check the functionality of a function without going into play mode in the editor. This attribute is placed above the function that would be called. An example of this would be a TakeDamage() function that in game would be called if the player/character gets hit. Adding a context menu attribute allows that TakeDamage function to be visible in the inspector and allows you to check that the function works as expected due to being able to see the characters health decreasing when called.

[Multiline]
The multiline attribute modifies the text field of a string to be a text area instead, providing more room to write and as the name suggests use multiple lines. This attribute is useful for things such as character/level descriptions.

[Range(min, max)]
The range attribute creates a slider for the variable attached to and requires a min value and a max value. An example use of this would be for a damage per second variable, where you can adjust that value using the slider instead of typing a value in.

[ContextMenuItem("Some Menu Item Name", "Some Function Name")]
Context Menu Item works similar to the context menu attribute but is specific to a variable aka the one below said attribute. This will then call a specified function when clicked on within the inspector. An example of this would be a characters health, which has a context menu item that calls the TakeDamage function from earlier. Another could be added that can then be used to call a GainHealth function, which gives the character more health.

[CreateAssetMenu(fileName = "Some File Name", menuName = "Some Menu Name", order = Some Number]
Create Asset Menu is particularly useful when creating scriptable object classes. This attribute allows you to create a scriptable object file within the project view. This attribute goes above the class definition.
For Example:
[CreateAssetMenu(fileName = "Gun Stats", menuName = "ScriptableObject/Guns/Stats", order = 1]
public class GunStats : ScriptableObject
{
  public float reloadRate;
}

[Space]
The space attribute added a gap between two variables being displayed within the unity inspector.

Friday, October 26, 2018

Case Study: Fallout Shelter

What is Fallout Shelter?

Fallout Shelter was originally a mobile game produced by Bethesda Software and a part of the Fallout series. The game originally was released in 2015 and since then has be released on the Xbox One, PS4, PC and recently the Nintendo Switch.

Gameplay

The gameplay of Fallout Shelter is fairly simple, you play a vaults overseer, allowing you to build up the vault in whatever manner you like. Within your vault you will have a collection of dwellers, which you have to manage. The vault requires three resources to function, electricity, water and food. This is done by building up specific rooms within the vault and assigning dwellers to those rooms. Then after a set amount of time, you can collect that rooms resources. You can also set the room to be in rush mode, which speeds up the process but runs the risk of causing a radroach infestation or spontaneous fire.
As well as maintaining the vaults resources, you also have to maintain the dwellers happiness, this can be done in a variety of ways such as giving them pets or assigning them to a room that meets their skill set. Each dweller also has a level, which can be increased over time whilst assigned to a vault, succeeding in a rooms rush or wandering the wasteland.
This leads to the next gameplay mechanic, the wasteland. Instead of assigning a dweller to a room, you can send them off to explore the wasteland, in which they can encounter various monsters and enemies from the Fallout series, find various resources or find buildings that lead to mini quests. Should they survive their exploration, you can then spread the resources such as weapons and clothing to the other dwellers.
Why do the dwellers need the extra weapons and clothing, well clothing wise it can provide them with a skill boost, increasing their stats by a set amount as well as provide protection.The weapons on the other hand help with vault specific events like radroach infestations or Raider attacks, in which the dwellers have to survive and protect the vault.
Another mechanic is the questing system that is unlocked once the player builds a overseer room. It’s similar to sending a dweller to explore the wastelands but you can send a team to a specific location to complete a specific objective like clear out a super-duper mart of ghouls. Once the team reaches their destination, you have to help them navigate the area and defeating enemies using a simpler version of VATS. Once each room is cleared you and your team can collect the loot.

Graphics

The game uses a 2.5D perspective where the characters (dwellers, raiders and monsters) are 2D animated sprites , however, the rooms in the vault and buildings that you explore through quests are somewhat 3D, at least perspective wise. It wouldn’t surprise me if everything was 2D sprites, but it has a 3D feel. This is helped by the way characters move around the environment, moving past pillars or climbing up stairs that isn’t on the same plane as them.
Overall, the graphics are more cartoony than other titles in the series, but are styled in the same way as the Vault Boy, which has appeared in the previous titles. This style is simple and cartoony enough to attract players outside of the Fallout Series whilst being familiar to existing players.

Other Details

Similar to the graphics familiarity, there are aspects within Fallout Shelter that will remind existing players of the previous games, such as the mysterious stranger, who will occasionally show up to your vault and if you find him in time, will reward you with some caps. The weapons and armour also provide the player with some familiarity as the player has most likely used them in a previous Fallout game. It also feels very much like a Fallout game whilst still being its own entity due to all of this familiarity.
It also makes use of user interface polish, having the mysterious stranger burst into bottle caps or the resources flying towards its resource bar, is extremely satisfying for the player. This satisfaction is increased through the audio as well with sound effects matching the polish that is displayed on the screen.

What Does Fallout Shelter Do Well?

Fallout Shelter is very simple to understand from the start and as the player progresses, the resources becomes harder to balance and enemies become harder to kill. This means the player skill level increases with the games difficulty. The input itself is simple and intuitive, on mobile and Nintendo Switch touch input can be used whereas on console there is controller support (the Nintendo Switch also has controller support), both input systems allow the player to quickly get into the main chunk of the game without having to look at any control screen. It's also a Fallout game and even though it's not a typical Fallout game, still feels like a typical Fallout game, allowing you and your dwellers to explore the wasteland, craft weapons and armour, fight of raiders and Dealthclaws. Which brings a welcoming familiarity to players of the previous games. 

What Does Fallout Shelter Do Poorly?

The juggling act of maintaining a high happiness rating gets challenging as the game progresses, the more dwellers in your vault the more you have to manage. You can place them in rooms that match their skills but even that might not help and sometimes the rooms are too full to put them in without risking lowering another dwellers happiness. However, if you ignore that its a enjoyable game to sit back and play.

Wednesday, October 17, 2018

Bubble Sort and Bucket Sort

Bubble Sort

This sorting algorithm works by taking to elements within an array and compares the two. Depending on how it is sorting the elements in an array, will switch the two values around. For example, if we had an array [3, 17, 83, 6, 24, 52] and we want to order those elements, smallest to largest. The first two elements, 3 and 17 won’t be swapped, same applies for 17 and 83. However, with elements 83 and 6, the two will swap as 6 is less than 83. Once the algorithm has sorted through the array the first time, we should end up with [3, 17, 6, 24, 52, 83]. This array hasn't been sorted so the algorithm needs to run again or run until there are no changes to be made, which can take a while if the size of the array is large. The next pass will sort the array and give us [3, 6, 17, 24, 52, 83], which is correctly sorted, however the algorithm doesn't know that and therefore has to run a second time in order to make sure that no changes can be made and therefore give us our sorted array.
This sorting algorithm is slow to perform especially with large datasets as the increase in size means there will be an increase in possible elements that need sorting. However, this algorithm is simple to implement and get a computer to carry out.

Bucket Sort

This algorithm works by grouping elements within an array into buckets (hence the name), then if the bucket contains more than one element, that bucket is sorted using another algorithm such as bubble sort. Once each bucket has been sorted, their elements are put back into the array in its sorted ordering.
For example, if we had an array [4, 32, 13, 6, 27, 35, 19, 38] the algorithm will group the elements like so:
0 - 9 [4, 6]
10 - 19 [19, 13]
20 - 29 [27]
30 - 39 [35, 32, 38]
then each group will use the bubble sort to give us:
0 - 9 [4, 6]
10 - 19 [13, 19]
20 - 29 [27]
30 - 39 [32, 35, 38]
from this we can recreate the array to finally give us:
[4, 6, 13, 19, 27, 32, 35, 38]
The bucket sort is quicker than the bubble sort but will struggle when trying to sort arrays that do not contain numbers as if its sorting based on letters, there is a decision that needs to be made on how the elements are grouped. Do you have one bucket for each letter or do you have a bucket for a group of letters i.e. A, B and C?

Game Recommendations (September 2018)

So I might try to do this regularly (once a month), but here are a few recommendations of games that I have played recently. This month there are two games, the first being Minit and the second being The Spectrum Retreat, both being played on the Switch.
Minit is a roguelike game where you have 60 seconds or a minute to live before dying and being reset back to your house.
Pros:
  • Great soundtrack that I ended up listening to a lot after finishing the game
  • Some puzzles were challenging to solve but not overally stupid or confusing
  • Adorable graphics style both in game and out game.
Cons:
  • Managed to complete the game but missed like 50% of the game due to accidentally finding the end boss.
  • Got easily confused with some puzzles and power ups. For example, the long tree need to be chopped, my thought was to find an axe, but ended up needing some gardening gloves.
  • Some of the tasks are extremely hard to do within the 60 seconds given and were completed with less than a second to spare.
The Spectrum Retreat is a puzzle game in a similar vein to Portal, the main mechanic is swapping colours to get past force fields that match the same colour you have. There is also an intriguing narrative surrounding the game.
Pros:
  • The puzzles seemed balanced and the harder ones were completable after a few tries.
  • While some of the narrative was easy to guess it was still intriguing
  • Had a colour blindness option to switch out the three colours being used for the puzzles
Cons:
  • No checkpoint system, especially for the last level which is one long level and you restart from the beginning.
  • Some points of the narrative were easy to guess
  • Possibly due to the Switch, the engine used or both but there were a lot of lighting glitches, didn’t take away from the game but something I noticed whilst playing

Coding Challenge

So during work, my collegue had a excel sheet filled with numbers from 1 to 365 based on issues collected of a magazine, he wanted to see how many occurances of each issue number there was but also which issues were missing. I figured out the first part in excel using the countif function but that wasn't quick enough for him and I couldn't figure out a solution that would automate the process a bit more. However, I did say that I could write a program that would do all of the functionality in one go. So it became a race to see who could finish the task first. Technically I couldn't finish entirely as there was no programming facility built into the computers we were using so I had to use a online compiler (in this case cpp.sh) which meant I couldn't read in his data, but I could simulate it by randomly generating those numbers and create a quick proof of concept program. Below is the final code.

#include <iostream> #include <string> #include <vector> #include <stdio.h> #include <stdlib.h> /* srand, rand */ #include <time.h> /* time */ #include <algorithm> std::vector<int> GenerateNumbers(int count, int min, int max); std::vector<int> FindAllMissingNumbers(std::vector<int> _numbers, int count); void FindOccurances(std::vector<int> _numbers, int count); int main() { srand (time(NULL)); std::vector<int> numbers = GenerateNumbers(365, 1, 365); std::cout << std::endl; FindOccurances(numbers, 365); std::cout << std::endl; std::vector<int> missingNumbers = FindAllMissingNumbers(numbers, 365); int temp; std::cin >> temp; } std::vector<int> GenerateNumbers(int count, int min, int max) { std::vector<int> tempNumbers; for (int i = 0; i < count; i++) { int randInt = rand() % max + min; tempNumbers.push_back(randInt); std::cout << "Number Generated: " << randInt << std::endl; } return tempNumbers; } std::vector<int> FindAllMissingNumbers(std::vector<int> _numbers, int count) { std::vector<int> tempMissingNumbers; for (int i = 0; i < count; i++) { std::vector<int>::iterator it; it = std::find (_numbers.begin(), _numbers.end(), i); if (it != _numbers.end()) { std::cout << "Element: " << *it << " found" << std::endl; } else { tempMissingNumbers.push_back(i); std::cout << "Element: " << i << " not found" << std::endl; } } int missing = tempMissingNumbers.size(); std::cout << "Total Missing: " << missing << std::endl; int found = count - missing; std::cout << "Total Found: " << found << std::endl; return tempMissingNumbers; } void FindOccurances(std::vector<int> _numbers, int count) { int total = 0; for (int i = 0; i < count; i++) { int occurance = 0; for(std::vector<int>::iterator it = _numbers.begin(); it != _numbers.end(); ++it) { if (i == *it) { occurance++; } } std::cout << "Element: " << i << " occured: " << occurance << " times" <<std::endl; total += occurance; } std::cout << "Total amount of occurances: " << total << std::endl; }

Tuesday, October 16, 2018

Celeste

So like last month I have some recommendations for games to play. This was going to be one of those posts but I have so much to talk about with this game that a single post dedicated to it was needed. That game is Celeste, a precision platformer, where you play as Madeline (or whatever name you give her) and you have challenged yourself to climb Celeste, a mysterious mountain.

If you follow me on twitter you may have seen a few tweets I've made about the game, I really enjoyed it but I was hesitant to even buy the game, watching the trailer made the game seem impossible but it really wasn't. Sure I died a lot and got frustrated at times but nothing was impossible.

There's plenty of content in the game to challenge you further besides the main story, you can collect all of the strawberries, find all of the crystal hearts or unlock the b-sides and c-sides of the levels. There is also a Pico-8 version of the game built into the game itself, which is impressive from a technical standpoint but also allows the player to try the original version of the game.

If there's anything I would complain about is the directional dash. For a game that requires precision, there were a lot of times where I died due to dashing in the wrong direction even though I believe to be pushing the left analogue stick in the correct direction. Maybe I wasn't but it was frustrating to deal with and possibly could have be solved by changing some of the settings as you can change the game speed, thus allowing me enough time to make sure to dash in the correct direction.

Again I'm not 100% sure of the cause but it's something that was frustrating and actually used that experience to help decide how to handle the dash input within my dissertation project as there was a suggestion to use a similar control scheme to Celeste but only being able to dash left and right, instead of the current way in which the bumpers are used to dash either left or right. It minimises the amount of mistakes that player can make.

Besides being able to modify the game speed, the player has a variety of options as well to make the game more suited to them, such as infinite stamina or dash. This means that you can still play the game and enjoy the story in a way that suits you best, ultimately giving you the best experience possible.

This also impacted my dissertation project as while the prototype games difficulty would dynamically change between levels, the player still might need something to get them over the edge of they are stuck on a level or a specific part. While I didn't implement an assist system like Celeste's, I have one planned out that would borrow some features from Celeste's assist mode and include some of my own.

The art is incredible, both in terms of the pixel art and the high resolution art. With the pixel art you can easily identify everything, you know straight away if something will kill you or is there to help. But it also still conveys emotion, even though you can't actually see any facial features besides the high resolution art. You can still see and feel the emotions that Madeline has.

This also makes the story even more incredible as you start to become attached to Madeline and you get a connection between the player and Madeline. When she becomes anxious and/or scared, you actually start to worry and care about her. That's powerful stuff!

Finally, the music is awesome, each track matches the theme of each chapter but also doesn't get repetitive after dying countless times, which can be hard to achieve. The b-sides remixes also provide a fresh take on the originals and I haven't unlocked any c-sides levels so I'm not sure if there is another remix of those original tracks but if there are I'm sure it would be something different but the same as the original as well.

So yeah I highly recommend that you buy Celeste and give it ago, try it as the developers intended because you might discover that you can actually do a lot better than you expect! But if not there's always the assist mode!

Also to the developers, thanks for making such an amazing game and unknowingly providing a reference point helped inform my decisions on my dissertation project. My dissertation project has been one of my favourite projects to work on so far and that's thanks to you guys!

Tuesday, October 9, 2018

Notes on Unity Cinemachine Set Up

Unity Cinemachine
Requires the timeline plugin and the cinemachine plugin

Set up for 3D:
The main camera needs a cinemachine brain component
If there is already a virtual camera then that can be assigned within the brain component
Otherwise a new virtual camera can be created

Within the timeline we can add a cinemachine track
On that track we can create clips that use specific virtual cameras to achieve different shots
I.e. one clip can be stationary and tracks the player but the following clip can be following the player using a set offset

A blend state can be created between clips to create a transition between the two shots instead of a sharp cut

Each virtual camera has specific settings that can be modified, so you can assign a transform to either the look at variable or the follow variable to decide the behaviour of the camera

Dead zone is the area in which the camera will track the object its looking at
If the object is not in the dead zone it will not track that object and will wait until that object is.
Decrease the dead zone for a continuous pan
Increase the dead zone for a pan that happens close to the edge of the screen

Soft zone controls how much an object can move within the shot
A large soft zone provides a natural feel
A small soft zone provides a mechanical feel

Original Video