Follow will2781
Follow
Following will2781
Following
Add To Collection
Collection
Devlog
Escape By Any Means
←
Return to Escape By Any Means
Devlog
Escape By Any Means Devlog pt23
May 19, 2023
by
will2781
This is the controller disconnect script The script checks for any connected gamepad. If there is no gamepad found it will display the controller disconnected overlay If you are in a level and are not...
Continue reading
Escape By Any Means Devlog pt22
May 17, 2023
by
will2781
This is the credit scene. The credit scene uses playerprefs to get all of its data. When the player kills enemies it is sent into playerprefs, this way when they die that number is still kept. When th...
Continue reading
Escape By Any Means Devlog pt21
May 17, 2023
by
will2781
This is the win trigger. The script gets how many enemies you have killed and minuses it from the necessary amount you need to progress to the next level. When the player enters the trigger collider p...
Continue reading
Escape By Any Means Devlog pt20
May 17, 2023
by
will2781
This gif shows the minimap. The minimap was made by using another camera that is positioned above the player and rotated to look downwards. The minimap uses a render texture which is draw onto a raw i...
Continue reading
Escape By Any Means Devlog pt19
May 17, 2023
by
will2781
This is the options menu. The options menu consists of a controls button, sensitivity slider, volume slider and key remapping button. The controls button opens another panel which shows the player the...
Continue reading
Escape By Any Means Devlog pt18
May 17, 2023
by
will2781
This is the pause menu. When the player presses the start button the pause menu opens. The pause menu consists of a resume, options and menu button. The resume button will close the panel and resume t...
Continue reading
Escape By Any Means Devlog pt17
May 17, 2023
by
will2781
This is the level selector screen. When the user presses the start button on the main menu a new panel is opened labelled Level selector. The Level selector has 8 buttons but only 2 are interactable,...
Continue reading
Escape By Any Means Devlog pt16
May 17, 2023
by
will2781
This is the main menu screen. The main menu consists of a start, options and quit button. The quit button uses Application.quit() to close the application. The options button will open up the options...
Continue reading
Escape By Any Means Devlog pt15
May 17, 2023
by
will2781
The image above shows the UI that I added. The amount of knives remaining are shown in the top right. This updates when the user throws a knife. The amount of enemies killed is shown in the top left...
Continue reading
Escape By Any Means Devlog pt14
May 17, 2023
by
will2781
This is the smoke script The smoke is very similar to the invisibility ability. The smoke has a trigger collider box around it which detects if your in it. If your in it you become invisible The invis...
Continue reading
Escape By Any Means Devlog pt13
May 17, 2023
by
will2781
This is the invisibility script. This allows the player to go invisible by changing the material from an opaque material to a transparent material. When you are invisible the boolean isInvisible is se...
Continue reading
Escape By Any Means Devlog pt12
May 17, 2023
by
will2781
This is a new version of the knife throwing script When a knife is thrown the number of knives decreases. If the number reaches 0 they can no longer throw knives A line renderer is now used to visuali...
Continue reading
Escape By Any Means Devlog pt11
May 17, 2023
by
will2781
This is the knife throwing script. This allows the player to throw knives when they press rb. This version lacks the ability to see where the knife will hit and also allows the player to throw infinit...
Continue reading
Escape By Any Means Devlog pt10
May 17, 2023
by
will2781
This is the final addition to the AI line of sight script. This version of the line of sight script features a lose screen. At this point the game has been converted from keyboard and mouse to gamepad...
Continue reading
Escape By Any Means Devlog pt9
May 17, 2023
by
will2781
This is the line of sight script. The AI draws a mesh by calculating the triangles and vertices needed. When the player is spotted in this mesh the AI will transform.lookAt the player. The player is s...
Continue reading
Escape By Any Means Devlog pt8
May 17, 2023
by
will2781
This is the AI spawner. The spawner runs on start. The code instantiates a specified amount of AI into the scene at random positions. The AI wont spawn near previous AI by checking the random position...
Continue reading
Escape By Any Means Devlog pt7
May 17, 2023
by
will2781
This is the AI movement code. The AI movement uses Unity Navmesh. The AI picks a random point within a distance of itself on the map to move to. (it won't move to the other side of the map). This is d...
Continue reading
Escape By Any Means Devlog pt6
May 17, 2023
by
will2781
This code allows you to kill the AI. This is done by detecting whether you are in a trigger collider which covers the surrounding area of the AI. If you are in the collider an array of colliders is cr...
Continue reading
Escape By Any Means Devlog pt5
May 17, 2023
by
will2781
This is the final version of rotation. This version of rotation allows the user to rotate the camera and player at the same time. This is done by changing the cinemachine vcam eulerangles to subtract...
Continue reading
Escape By Any Means Devlog pt4
May 17, 2023
by
will2781
This is a new version of rotation. This version of rotation allows the user to move in the direction they're facing. This is done by multiplying the x input by transform.right and the z input by trans...
Continue reading
Escape By Any Means Devlog pt3
May 17, 2023
by
will2781
This is the first attempt of rotation. As you can see this is a very simple rotation script. The script uses the new input system to get the rotation input from the mouse. This version of rotation rot...
Continue reading
Escape By Any Means Devlog pt1
May 17, 2023
by
will2781
This is the first attempt of movement. As you can see this is a very simple movement script. The script uses the new input system to get the movement input from the keyboard. This version of movement...
Continue reading
Escape By Any Means Devlog pt2
May 17, 2023
by
will2781
This is the animations script. The movement animation runs whilst movement is detected. If movement isn't detected then the idle animation plays. This code is run in the update method. The attack anim...
Continue reading