Sunday School - Sermon 1 - An exploration of Collision Checking in GameMaker

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

PixelatedPope

PixelatedPope

Күн бұрын

Пікірлер: 34
@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.
@Stefan-bn4wh
@Stefan-bn4wh 2 жыл бұрын
great thx for sharing!
@DarkKnightDad
@DarkKnightDad 2 жыл бұрын
Honesty is part of the commandments 😅👍🏾
@soreyJr
@soreyJr 2 жыл бұрын
Glad to see you back!
@Mattstov
@Mattstov 2 жыл бұрын
The first time I’ve actively loved Sunday school!
@NanoGamingGamer
@NanoGamingGamer 2 жыл бұрын
Wow welcome back! It's been a long time.
@bradleebowers8203
@bradleebowers8203 2 жыл бұрын
Stoked to see something new from you!
@martinperon4576
@martinperon4576 2 жыл бұрын
38:00 man, that is exactly what I needed! Thank God for the PixelatedPope!
@scotsparaman
@scotsparaman 2 жыл бұрын
Man… you’re back… 🙌🏼
@sunguh
@sunguh 2 жыл бұрын
nice to see you are back
@HlootooThunderhammer
@HlootooThunderhammer Жыл бұрын
And on the third year year did Pixelated Pope return! Rejoice!
@xotmatrix
@xotmatrix 2 жыл бұрын
Very interesting. I learned some new techniques.
@VamosFener
@VamosFener 2 жыл бұрын
Great !! better then school
@Evanski
@Evanski 2 жыл бұрын
finally, collision code explained
@NickyNoo
@NickyNoo 2 жыл бұрын
Omg the legend is back
@CoffeeAI201
@CoffeeAI201 2 жыл бұрын
Awesome!
@Poetax
@Poetax Жыл бұрын
Just a question. On pixel perfect collisions, if a donut shape was used against a small enough pixel shape that would fit inside it without touching the donut, would it count as a collision or not. Is the collision just the outside shape?
@PixelatedPope
@PixelatedPope Жыл бұрын
You mean if a pixel was "in the donut hole"? That would not be a collision if precise collisions are enabled for the donut sprite.
@TheRealZen00
@TheRealZen00 2 жыл бұрын
The new collision system is fundamentally broken. If I have a 16 pixel square, and I set its collision mask to be pixel precise, then check for a point collision at x = 15.4, a hit will register, but if I test for a collision at x = 15.6, no collision will register. So it's pretty much unusable for subpixel world movement (using the tile/object combo system you devised)
@PixelatedPope
@PixelatedPope 2 жыл бұрын
My latest top down movement and collision system uses a whole number locked coordinate system, and then draws the object "lerped" to create sub pixel motion. I'm never going back to non-whole number coordinates. You can check out the demo (both precise tiles and object based walls) over on itch: pixelatedpope.itch.io/tdmc
@TheRealZen00
@TheRealZen00 2 жыл бұрын
@@PixelatedPope I broke the demo somehow, got it to tank the FPS when you move straight/diagonally into a flat surface. Otherwise it looks pretty smooth now.
@TheRealZen00
@TheRealZen00 2 жыл бұрын
@@PixelatedPope Though yeah, that was my eventual decision, non-pixel perfect positions are just a hassle. I did leave the subpixel code in my game, but since I set the pixel accuracy to 1, it essentially turns it off.
@JaguarPanda
@JaguarPanda 2 жыл бұрын
nice, ty, do you have plans to explain tilemap collsions too?
@PixelatedPope
@PixelatedPope 2 жыл бұрын
No current plan. I do have a article on the Yoyo Tech blog that covers it pretty well. gamemaker.io/en/blog/precise-tile-collisions-by-pixelated-pope
@JaguarPanda
@JaguarPanda 2 жыл бұрын
@@PixelatedPope Thanks for the link, i had a look at your blog post, it works pretty good for detecting collisions, but what i'm missing and cannot find anywhere, is how to resolve them (it's pretty easy for full tiles but it's a nightmare when it's about slopes and what not).
@PixelatedPope
@PixelatedPope 2 жыл бұрын
@@JaguarPanda Yeah, what you are looking for at that point is any tutorial that allows for slopes. Then you can replace their "place meeting" with your "tile meeting" and it should work
@alessandromangiapia7082
@alessandromangiapia7082 2 жыл бұрын
If it’s from pixelated pipe it will be interesting guarantee. Hit like before even seeing it
@ronbriscoe888
@ronbriscoe888 2 жыл бұрын
Video was good. I liked it. but if you didn't want to use a list to do the collision to detroy all the bullets you could use a while loop and just keep executing the while loop until the collision function returned noone. (just an observation).
@PixelatedPope
@PixelatedPope 2 жыл бұрын
While true, it is usually safe to assume that if there is a built in way to do something, it is going to be significantly faster than doing it in GML yourself. So when possible, I defer to built in functions. That being said, I didn't like benchmark it or anything, so there may be little to no difference, and that would be a perfectly acceptable method
@flaviopsilva_
@flaviopsilva_ 2 жыл бұрын
Nice!
@hakuzosionnach
@hakuzosionnach 2 жыл бұрын
3 years in the making.
@timthaman5778
@timthaman5778 2 жыл бұрын
Have you returned to us?
@PixelatedPope
@PixelatedPope 2 жыл бұрын
Seems so for now 😅
@overidon
@overidon 2 жыл бұрын
FIRST!
Sunday School - Sermon 2 - An exploration of GML Features
1:42:40
PixelatedPope
Рет қаралды 1,3 М.
Sunday School - Sermon 3 - Dealing Damage
1:12:57
PixelatedPope
Рет қаралды 1 М.
Мама у нас строгая
00:20
VAVAN
Рет қаралды 3,1 МЛН
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 71 МЛН
Let's Game Dev - 02 - Basic Room Transitions
32:40
PixelatedPope
Рет қаралды 1,8 М.
How to Add Interaction in Godot 4
16:48
Nagi
Рет қаралды 20 М.
GMS2 Cameras: As Simple as Possible
13:27
PixelatedPope
Рет қаралды 66 М.
Let's Game Dev - 01 - The Most Important Video of the Series
15:08
PixelatedPope
Рет қаралды 2,5 М.
GM Anatomy: The Resource Tree
13:18
PixelatedPope
Рет қаралды 3,4 М.
How I learned Unity without following tutorials (Developing 1)
18:11
Game Maker's Toolkit
Рет қаралды 2 МЛН
How I Do It: Smart Clickable GUI
17:22
PixelatedPope
Рет қаралды 27 М.
The Ultimate Guide for Physics in Game Development!
1:04:41
Will Hess
Рет қаралды 136 М.