GameMaker Studio Tutorial - 2D Hack-n-Slash #14: INHERITANCE

preview_player
Показать описание


Thank you all so much for your support!
Рекомендации по теме
Комментарии
Автор

Love your channel, most of my love for game development comes from here, I just wanted to say thank you.

dragonsdream
Автор

Great!
I had one suggestion for a post-series completion video. Once all of the videos are done, I hope you create one last video to walk us through how you'd actually go about programming this specific game in a specific order and workflow. For example, what would you set up first, what code would you first script, like the character movement code is essential and probably pinned down first, but what next? What is immediately the next step in the process of programming this? And what after that? Is that too done step-by-step as you move on or is it planned right from the start?
Because this series aims to teach us step by step, it withholds certain information that shall be dealt with later on in the series, which might not be the actual sequence in the coding process for this. One video I'm coding states for rolling, and the next I'm modifying it and inserting new code inside it.
So I wanna know, if I were put in a similar situation to make a game in 48 hours like you were for this game, in what order would you go about making this specific game base (and fortunately you just have to remember how you went about making THIS game for LD48 recently). I hope this was clear to understand, thanks as always!

RuthwikRao
Автор

You've gotten me so excited about learning to code, and to develop games. Sadly I'm at that stage in life where I don't have the time to properly learn. I'm legitimately bummed. But love the video, keep on posting the great work.

mr.distinguished
Автор

Hola! I'm following along with GMS 1.4 and the lifeform object doesn't have any effect (and in fact seems to negate the damage object). I've tried putting the creator etc variables in the lifeform, making sure this object's in the room, whatever else I can think of, and it doesn't make any difference.

I checked your reference file and you have the lifeform in there but it doesn't seem to be in use, so is this because there's some weird small difference between 1.4 and 2 that causes code conflict or something...? Or is the reason so obvious I'll facepalm when I find out haha

edit: I forgot to put event_inherited() in the child objects

thisyoutubeishaunted
Автор

Hey HeartBeast, love ur vids, but I've been having a problem. I can't get the hitboxes to work, they keep affecting their creator I copied exactly what u wrote there but still... Thx in advance for ur reply.
Edit: Nope I wrote it wrong. Thx anyways ;-;

blankalpaca
Автор

Hi, I love the way you explain things! But you forgot to mention how to do the inheritance in game maker studio 1. Thank you!

eterno_presente
Автор

Hello Heatbeast, I really ove this serie. I'm trying to make a perfect collision system but it doesn't work. When the player touches the ground after jumping, sometime hr stays one pixel above the solid object(he can walk after) and sometime he stays one pixel below the solid object(stuck).
I would like to know what can I do?
Also, I use "hspd, vspd, grav, etc" as variables, but I don't know how to use them on this project.

SO thxt for you reply.
have a nice day!

mix-ousoy
Автор

So if I'm understanding this correctly the reason we are using "other" instead of "self" for the enemy is because it still may end up hitting other things in the scene and you don't want it to damage them? or am I missing something?

SilverSpectre
Автор

Hey! I love your content. Would you consider making a course on isometric games? It's easy to make basic square maps, but it's a real headache to make it truly isometric with angled environments. :D

StayOkToday
Автор

I am mind blown by how people figure this stuff out.. I hope to be as good as this someday, or even better.

Riversofash
Автор

For anyone having their Knight still kill themselves in GMS2, ensure that you are using "self" instead of "id" in the create hit box function
create_hitbox(x, y, self, s_skeleton_attack_one_damage, 4, 4, 1, image_xscale)
If you use id, the instance will kill themselves.

Coda
Автор

Question: should the hitbox sprite hit the enemy/player mask instead of their sprite?
When attacking with the player, I feel like the enemy dies with just a "scratch" because sometimes the hitbox sprite hits the edge of the knight's shoulder. It might be simple, but how would one tell the hitbox object to hit the enemy/player masks instead of their sprite?

teinimon
Автор

so happy to see you got a retweet from yoyo games <3

spiralcraft
Автор

Hey! I have completed your Udemy course and I love it. The way you explain things makes everything easy.

In this course though, I am not able to create a hitbox for the knight. The player is able to kill the knight but the knight is not able to do the same. I have followed step as it is and still it's not working. Can you help me out, please?

kk
Автор

Ben, my enemies keep damaging themselves. I know other people have this issue as well. Is there a fix? My code is the same as yours. I'm using GM2

Chupie
Автор

I'm using Gamemaker studio 1.4 and even tho I have almost the same code as you my objects keep killing themselfs when attacking.
Thanks for the tutorials :3

franchuHL
Автор

For people having trouble with collision with parents after 2.3. There is a bug due to changing an event to a collision event. Delete the collision event and remake it. Might be fixed by now.

Fierco
Автор

I also had error while rolling, it keeps destroy the player. Could you help me out please, thank you so much

ngoctuvu
Автор

When will you do a tutorial on gm 1.4. I know its old but a lot of people don't have the money to buy gm 2. It does have a free option but it is so limiting it wont work for some people. would really love some 1.4 tutorials. till next time.

avatangents
Автор

hi how are you like your videos t thank you I'm following these hack and slash, in fact the game I'm doing is hack and slach just that it's more a souls but all this is very good I'm digital artis and it costs me a lot of programming It is my first program that I use, I would like you to help me with something that is the typical Megaman movement to climb Walls please like I would program it in game maker studio 2 I would be very grateful greetings, sorry for my english

memorias