Showing results for

player

movement

on catlikecoding.com
catlikecoding.com › unity › tutorials › movement
Physics
Physics
Pushing a Sphere Around
- Control the velocity of a rigidbody sphere.
- Support vertical movement via jumping.
- Detect the ground and its angle.
catlikecoding.com › unity › tutorials › prototypes
Paddle Square
...As the bottom paddle will be controlled by the player, make the velocity's Y component negative so it moves toward the player first...
catlikecoding.com › unity › tutorials › tower defense
The Board
...If the ray hits a tile, it is touched by the player, which indicates that it must be changed. Game
will handle player input...
catlikecoding.com › unity › tutorials › hex map
Hex Map 21
...To ensure that this is not possible for the player, you can adjust the camera to use 68615BFF as its solid background color, instead...
catlikecoding.com › unity › tutorials › movement
Swimming
...This is the ninth installment of a tutorial series about controlling the movement of a character. It makes it possible to float in and...
catlikecoding.com › unity › tutorials › runner
Runner, a Unity C# Tutorial
Runner, a minimal side-scroller
- generate a layered background;
- reuse objects;
- use simple physics;
- detect input to make the player jump;
catlikecoding.com › unity › tutorials › prototypes
Runner 2
...Movement
Our skyline is now functional enough to implement gameplay, which means giving the player control over the runner and having it navigate the...
catlikecoding.com › unity › tutorials › object management
Reusing Objects
...While D might seem like a reasonable default, it's part of the common WASD key configuration for movement. Let's use X instead...
catlikecoding.com › unity › tutorials › hex map
Hex Map 23
...Believability is about the player of a game accepting that a map is possible and real. This doesn't mean that maps have to...
catlikecoding.com › unity › tutorials › object management
Lifecycle
...public enum ShapeBehaviorType { Movement, Rotation, Oscillation, Satellite, Growing }
Add a corresponding case to the GetInstance
method that returns a GrowingShapeBehavior
.
case ShapeBehaviorType.Satellite: return...