Sunday School - Sermon 3 - Dealing Damage

  Рет қаралды 1,054

PixelatedPope

PixelatedPope

Күн бұрын

In this video I give a lecture on different ways to deal damage to objects. Covering collision detection and reaction to dealt damage.

Пікірлер: 11
@PixelatedPope
@PixelatedPope 2 жыл бұрын
This video was commissioned by a client for their purposes. If you found it useful, yay! If you didn't find it useful, I don't really care since you didn't pay to have it made. Feel free to leave a comment below telling me what you didn't like about it though, it will help with my engagement numbers.
@gamermasta525
@gamermasta525 2 жыл бұрын
What about time? That is more valuble than money.
@Mightyjordy
@Mightyjordy 2 жыл бұрын
@@gamermasta525 he will refund your time
@gamermasta525
@gamermasta525 2 жыл бұрын
@@Mightyjordy I don know
@DarkKnightDad
@DarkKnightDad 2 жыл бұрын
I watched the other two sermons and now I am on this one. This is awesome content. Also, the KZbin algorithm was harsh on you, because I didn't see your videos in my homepage. It wasn't until I checked your other accounts that I discovered that you made these videos
@PixelatedPope
@PixelatedPope 2 жыл бұрын
Well, hopefully as I start making more content, it will get a bit more visibility. Glad you were able to find this one!
@TheGrandMasterFunk
@TheGrandMasterFunk 2 жыл бұрын
I've been working with these finite state machines since I was 15 and I still have trouble with them lol, great video thanks Pope
@VaughnCampbell
@VaughnCampbell 2 жыл бұрын
Hey glad you are making videos again!
@Mightyjordy
@Mightyjordy 2 жыл бұрын
Awesome video, these are great to fix up a couple bad habits I have for basic stuff
@philosopherhobbs
@philosopherhobbs 2 жыл бұрын
Great job! Glad to see you back on KZbin. I’ve got one minor bit of constructive criticism and a question. First, and you may know this but forgot here, you are using array_length and list_length within the for-loops. That would be better done before the loops unless of course the loop is changing the size of the array/list, which it doesn't appear to be doing in your code (even then it's better to run the function only when the size changes). Better to just get a number from a local var than run a function every loop. My question is: What would you do differently for a modern top-down game that isn't straight top-down nor straight side-on? With a fake-3rd axis, it seems like the hit box would need a bit more tweaking to get it to line up right.n
@PixelatedPope
@PixelatedPope 2 жыл бұрын
So first comment: this is a micro optimization, and I typically avoid worrying about them (Commandment XIII). The difference performance wise is beyond negligible, so I prefer to maintain my coding style over worrying about it. The same could be said about repeat loops versus for loops. Are repeats faster? In theory. Am I about to change all my for loops to repeats? Absolutely not. So in top down games (like zelda, secret of mana, streets of rage/final fightt, etc) I position the hitbox as if it was the "shadow" of the attack. So the box would come out of the character's feet and collide with the target's hit box which would also be their "shadow". That tends to work for me.
Sunday School - Sermon 2 - An exploration of GML Features
1:42:40
PixelatedPope
Рет қаралды 1,3 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
Real Man relocate to Remote Controlled Car 👨🏻➡️🚙🕹️ #builderc
00:24
Let's Game Dev - 03 - Basic world collision
29:46
PixelatedPope
Рет қаралды 1,1 М.
Let's Game Dev - 01 - The Most Important Video of the Series
15:08
PixelatedPope
Рет қаралды 2,5 М.
How I made FLAPPY BIRD in Godot
4:33
bbit
Рет қаралды 230
GMS2 Cameras: As Simple as Possible
13:27
PixelatedPope
Рет қаралды 66 М.
Let's Game Dev - 06 - Victory and Defeat
30:37
PixelatedPope
Рет қаралды 533
Let's Game Dev - 02 - Basic Room Transitions
32:40
PixelatedPope
Рет қаралды 1,8 М.
Let's Game Dev - 07 - Momentum and Whole Number Coordinates
39:45
Let's Game Dev - 05 - Ultra basic camera setup
11:01
PixelatedPope
Рет қаралды 1 М.
How I Do It: Smart Clickable GUI
17:22
PixelatedPope
Рет қаралды 27 М.
GML6 If Statement
24:05
Errin Odell
Рет қаралды 57
КАК НУБ из Роблокс ПОПАЛ в Майнкрафт?!
13:19
ВЛАДУС — Майнкрафт
Рет қаралды 329 М.
ӨТЕ ҚАТЫГЕЗ АТА АНА | Bad Parenting
27:16
Armani -KazakhHL-
Рет қаралды 53 М.
Менің Әпкем Мұқажанмен Танысты!
24:21
Я Открыл 100 АНГЕЛЬСКИХ ПРИЗОВ и ВОТ Что Выпало!
9:08