Thank you so much for making this. Also, I think another way for making hitboxes for clones is adding the hitbox and visuals in the same sprite, then making it so the clones have a forever loop, and in it it has switch costume to hitbox and below that is switch costume to visual. This makes it so you see the visual, but it has a functioning hitbox.
So I’m currently working on a project that will involve enemies, and I think I’d like to take your approach of making a separate hitbox and visual sprite for enemies and using lists. This is because some enemies in the game I’m working on currently will change the player in point towards them, but if I use the method of putting both the hitbox and visuals in the same sprite then the hitbox would also rotate.
Very cool what you have done with the clones and that they dont spin around but still turn in the direction of the player. But i dont get the Thing with the hitboxes. Do they affect the range it needs to touch each other and why?^^
what about for like, a scrolling menu?like a shop with a scrolling feature. how would i get the hitboxes to stay on one item? (i only have one sprite, and its just a row of the items)
Why make a hitbox sprite when you can just swap to the costume, check for collision, then swap back to the previous costume? If you fear the controls will interfere with the collision check, you can use variables to control movement (velocity variables, very versatile), and only change the position BEFORE checking collision.
The nice thing is I’m making a boss and making an animation while it’s moving is getting frustrating. And now with this hitbox all I need to do is loop the animation. Thanks bro!
You just got me an A on one of my projects
Lmao
What do you mean
@@palmossi i think he has some school project and he got a on his game for doin dis tutorial
@@sefafut ok
Thank you so much for making this. Also, I think another way for making hitboxes for clones is adding the hitbox and visuals in the same sprite, then making it so the clones have a forever loop, and in it it has switch costume to hitbox and below that is switch costume to visual. This makes it so you see the visual, but it has a functioning hitbox.
So I’m currently working on a project that will involve enemies, and I think I’d like to take your approach of making a separate hitbox and visual sprite for enemies and using lists. This is because some enemies in the game I’m working on currently will change the player in point towards them, but if I use the method of putting both the hitbox and visuals in the same sprite then the hitbox would also rotate.
Very cool what you have done with the clones and that they dont spin around but still turn in the direction of the player. But i dont get the Thing with the hitboxes. Do they affect the range it needs to touch each other and why?^^
second
hmmm
what about for like, a scrolling menu?like a shop with a scrolling feature. how would i get the hitboxes to stay on one item? (i only have one sprite, and its just a row of the items)
first
hmm
this is so helpful now my games will turn for the best!
why it has to be purple not invisible becase u can see it#######################
i might be stupid but how do i make the hit boxes interact, i want to make a wall, and floor
Why make a hitbox sprite when you can just swap to the costume, check for collision, then swap back to the previous costume? If you fear the controls will interfere with the collision check, you can use variables to control movement (velocity variables, very versatile), and only change the position BEFORE checking collision.
cuz some people want to still be able to switch costumes
@@bereichsleiter8800you could just create a variable and switch the costume to that variable
@@NoobBot3309 thats an idea
I forgot to use variables.
POV: you say basically in every word you say..
So helpful!
good tutorial i lern alot
but you didn't learn how to write correctly
@@gastastana1288 LOL
@@gastastana1288 epik
thanks the odd sprite I had in my game made it so I could walk into walls now that isn't happening
tyty
Ty
The nice thing is I’m making a boss and making an animation while it’s moving is getting frustrating. And now with this hitbox all I need to do is loop the animation. Thanks bro!
Bru just put the turn code under the point towards code and the problem is fixed 1:15
This will be good for making a-60
what if you have differnt costumes for one sprite
octopus be like: i be as fast as frick boiii
how do you do it on multiple sprites?
Hey guys! get him to 1K subs!
I can't get the hitbox to work
He’s just showing how to set it up which is stupid
Wait how do we make it work then?
You saved my life
📝 interesting
Tysm this is a lifesaver
this doesn't work
Good job 👍
4, 006th
Thanks man
this is wayyy too complicated for me but the hitbox really isnt necessary for my project, thanks anyways
thanks
Thanks 👍
dont worked just like i expected
it dident work for me :(
same