Stencyl Quick Tutorial 5 - All Direction Moving

  Рет қаралды 2,686

Mad Tech

Mad Tech

Күн бұрын

We look at a special kind of movement in this video - where our character has to be able to move in any direction. It's really useful for car games, and top down games.

Пікірлер: 13
@RaqiiCat
@RaqiiCat 2 жыл бұрын
This helped a lot, but I was wondering if you could teach us more top down stencyl tutorials as I want to create a few top down pixel games and this was the only tutorial I found that was on top down, I am unsure if the other tutorials could also apply to top down
@Hamentsios10
@Hamentsios10 5 жыл бұрын
That's great tutorial, however, what about top down 8 direction movement? Like Up-Right-Left-Down-UpRight-UpLeft-DownRight-DownLeft? I only managed to do the 4 ways direction based on your crockodile tutorial.
@sashax2845
@sashax2845 3 жыл бұрын
You're making me happy!
@upsideduck9165
@upsideduck9165 Жыл бұрын
how do i make where the car cant turn if the character isnt moving?
@vitalija8778
@vitalija8778 5 жыл бұрын
Very helpful, thank you very much!!
@Kolegate
@Kolegate 3 жыл бұрын
Would it be the same blocks for enemies that's not controlled by the player?
@techismad
@techismad 3 жыл бұрын
Enemy movement is easy to understand, as long as you know why your enemy is moving. So if it's repeated movement, you need to program left / right or up / down movements. You can do this with time, so after a time the enemy will move left, and then after a time it will move right. Or you can do it by position, so IF x of enemy > (some number) Change Direction.
@alexandermoisesbulejequisp5412
@alexandermoisesbulejequisp5412 4 жыл бұрын
hi man, nice vide. How can i change or modify actor's velocity? . Please i really need how to do that.
@techismad
@techismad 4 жыл бұрын
Do you mean you wan the actor to go faster in the game?
@alexandermoisesbulejequisp5412
@alexandermoisesbulejequisp5412 4 жыл бұрын
@@techismad exactly but i wanna do that pressing a key
@techismad
@techismad 4 жыл бұрын
@@alexandermoisesbulejequisp5412 This should be quite easy if we think about it correctly. If you watch from about 3:00, you'll see that we talk about using the UP and DOWN key to change the velocity. How we do that is to simply do the "SET VEL TO |VEL| - 2" block. So when you press UP, we -2 to VEL. Remember that VEL is set to 0 when we start the game. Now, if you want to press a button to make the car go even faster, you can simply put in another IF block, and then choose the key you want to press for the boost speed, and then use the same thing we did for the UP key, where you you put a "SET VEL TO |VEL| - X". X would be a number like 1. So, if I understand what you might be doing, you would press up to move the car, and then WHILE you are pressing UP, you press another key and go faster. Does that make sense?
@alexandermoisesbulejequisp5412
@alexandermoisesbulejequisp5412 4 жыл бұрын
​@@techismad Yes I should pay attention to the video better , thank you.
@techismad
@techismad 4 жыл бұрын
@@alexandermoisesbulejequisp5412 - No problem my friend, it's my honour to help out a fellow game maker! And don't be too hard on yourself - I spend a long time making these videos so I get to make my mistakes first and then when I film it looks like I know how to do everything without even thinking about it! Let me know about the progress of your game ok?
Stencyl Quick Tutorial 6 - Character Firing
7:54
Mad Tech
Рет қаралды 3,4 М.
Stencyl Quick Tutorial 2 - Character Movement
5:45
Mad Tech
Рет қаралды 6 М.
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 11 МЛН
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 14 МЛН
Making Minecraft from scratch in 48 hours (NO GAME ENGINE)
16:38
The Secrets of Photorealism
24:38
Blender
Рет қаралды 818 М.
We Need to Rethink Exercise - The Workout Paradox
12:00
Kurzgesagt – In a Nutshell
Рет қаралды 5 МЛН
Stencyl Quick Tutorials 3 - Jumping
5:48
Mad Tech
Рет қаралды 4 М.
Stencyl Quick Tutorials 4 - Character Animations
2:18
Mad Tech
Рет қаралды 2,7 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 825 М.
GOODBYE - And thanks for everything!
6:18
Brackeys
Рет қаралды 2,6 МЛН
How to ACTUALLY get into Gamedev
14:01
DaFluffyPotato
Рет қаралды 707 М.
10 Minutes vs. 10 Years of Animation
19:29
Isto Inc.
Рет қаралды 756 М.
How To Read Russian In 9 Minutes (Seriously)
9:10
Life of Yama
Рет қаралды 576 М.
Looks very comfortable. #leddisplay #ledscreen #ledwall #eagerled
0:19
LED Screen Factory-EagerLED
Рет қаралды 7 МЛН
Проверил, как вам?
0:58
Коннор
Рет қаралды 197 М.
low battery 🪫
0:10
dednahype
Рет қаралды 1,4 МЛН