Open in app

Sign In

Write

Sign In

Tyler Smallwood
Tyler Smallwood

51 Followers

Home

About

May 10

Layer Masks in Unity

Objective: Cover Layer Masks in Unity and how to use them in code. In Unity we have Layers for the Physics system. We can use those same layers with Raycast by using LayerMasks. There are two ways to use Layer Masks in code. The first is by just assigning it…

Gamedevhq

3 min read

Layer Masks in Unity
Layer Masks in Unity
Gamedevhq

3 min read


May 8

Placing Objects Via Raycast Hits

Objective: Use Raycast to place an object down. Today we will look into spawning objects at the place of mouse click. To get started I created a cube and stretched it out to make a floor. I also added a tag of Floor to the floor.

Gamedevhq

2 min read

Placing Objects Via Raycast Hits
Placing Objects Via Raycast Hits
Gamedevhq

2 min read


May 5

Casting Raycast from Mouse Position in Unity

Objective: Use Raycast to change color of objects. In this article we will use the New Input System to get the mouse position and on left mouse button, check to see if we hit something and if we do change it’s color. Then we will clean it up to check…

Gamedevhq

3 min read

Casting Raycast from Mouse Position in Unity
Casting Raycast from Mouse Position in Unity
Gamedevhq

3 min read


May 4

Creating A Progress Bar w/ New Unity Input system

Objective: Create a system to charge a progress bar. First thing that needs to be done for today is creating a Slider. In the Hierarchy right click → UI → Slider. Select the slider and set the position to 0 on the X and Y axis and set the scale…

Gamedevhq

4 min read

Creating A Progress Bar w/ New Unity Input system
Creating A Progress Bar w/ New Unity Input system
Gamedevhq

4 min read


May 3

Rapid Prototyping w/ New Unity Input System

Objective: Cover a quick way to check for Input with the New Unity Input System. Rapid Prototyping with the new Unity Input System can make sure the system works before creating an Input Action. We can do this with jumping. Just like using the Old Input System, we will check…

Gamedevhq

2 min read

Rapid Prototyping w/ New Unity Input System
Rapid Prototyping w/ New Unity Input System
Gamedevhq

2 min read


May 2

Framework Retrospective (recap)

Objective: Cover some of what I did to upgrade from Legacy System to Unity’s New Input System. For this modules Framework, I had to take an existing game and upgrade it to the new input system. I’ll cover how I handled it. We will start with the player movement. First…

Gamedevhq

5 min read

Framework Retrospective (recap)
Framework Retrospective (recap)
Gamedevhq

5 min read


Apr 26

Tap & Hold w/ New Unity Input System

Objective: Use Tap & Hold interaction to make the player jump. We will start this out by creating a plane for the player to stand and jump on. We will need a player as well, we’ll create a sphere for now. Next we will need to add a RigidBody onto…

Gamedevhq

3 min read

Tap & Hold w/ New Unity Input System
Tap & Hold w/ New Unity Input System
Gamedevhq

3 min read


Apr 25

How to Swap Action Maps

Objective: Talk about Swapping out Action Maps. We currently are using only one Action Map. In a game there will be a chance to move from walking Action Map to a Driving Action Map. Today we will cover out to swap between the two. …

Gamedevhq

2 min read

How to Swap Action Maps
How to Swap Action Maps
Gamedevhq

2 min read


Apr 22

2D Vector Composite w/ New Unity Input System

Objective: Use the Movement action to move the player around. In the last article, we got the dog to bark and the bark showed inside Unity Console. Today we will cover how to get 2D Vector Composite to move the character around. …

Gamedevhq

3 min read

2D Vector Composite w/ New Unity Input System
2D Vector Composite w/ New Unity Input System
Gamedevhq

3 min read


Apr 21

Scripting Actions (New Unity Input System)

Objective: Implement the Actions into Scripting. Once we have gotten the input actions and bindings set up we will need to generate a C# script from the input actions. To do so we will need to select the input actions in the project windows and in the inspector select Generate…

Gamedevhq

3 min read

Scripting Actions (New Unity Input System)
Scripting Actions (New Unity Input System)
Gamedevhq

3 min read

Tyler Smallwood

Tyler Smallwood

51 Followers

I am passonate on learning to program and use Unity to become a skillful Unity Developer

Following
  • James West

    James West

  • Rehtse Studio

    Rehtse Studio

  • Fernando Alcantara Santana

    Fernando Alcantara Santana

  • Brian Branch

    Brian Branch

  • Dominique Dos Santos

    Dominique Dos Santos

See all (10)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams