GameMaker Tutorial - 2D Hack-n-Slash #22: HUD PART 2

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ •

  • @mythology100
    @mythology100 6 років тому +2

    My HeartBeast senses are tingling! A new chapter to the tutorial approaches!!

  • @hughmungus99
    @hughmungus99 6 років тому +1

    I've bough so many courses from you over the years and honestly you are one of the best Game Maker teachers out there. Worth every penny I spent and I've become a better programmer from it too. Before all I did was web stuff mainly in bootstrap but the amount of help your book and your courses have helped me stay motivated and improve my workflow is truly amazing and I want to thank you for that. Keep being awesome and teaching people.

  • @gnitsaf
    @gnitsaf 6 років тому +7

    Just found your channel, watching the rpg series. Love your videos man. Congrats on the baby.

  • @gerbolesinc.3432
    @gerbolesinc.3432 6 років тому +1

    Congratulations to your wife and you for the newborn. Wish you and your family all the best!

  • @mistagumbit8668
    @mistagumbit8668 6 років тому +2

    Congratulations. All the best to you and the family. Glad to see you're back on track with the tutorials.

  • @slegend6402
    @slegend6402 6 років тому

    and one more thing...
    HeartBeast, Congratulations on your new baby.

  • @leondecastro1807
    @leondecastro1807 6 років тому +3

    AYIEE! Congratulations man. Wish you all the best man!

  • @slegend6402
    @slegend6402 6 років тому +4

    First of all, thank you (HeartBeast) for your videos and assets,
    If anyone would like to have an exact code for the health bar drawing lines, they will be...
    Disappearing Health Bar:
    ----------------------------------------
    Just modify the Lerp as in else, like...
    }else{
    draw_hp = lerp(draw_hp, -0.15, 0.2);
    }
    Hard Edges for Health Bar Lines:
    ----------------------------------------------------
    draw_line_width_color(hp_x-1, hp_y-1, hp_x + hp_width, hp_y-1, 1, c_dkgray, c_dkgray);
    draw_line_width_color(hp_x-1, hp_y + hp_height, hp_x + hp_width, hp_y + hp_height, 1, c_dkgray, c_dkgray);
    draw_line_width_color(hp_x-1, hp_y-1.5, hp_x-1, hp_y + hp_height + 0.3, 1, c_dkgray, c_dkgray);
    draw_line_width_color(hp_x + hp_width, hp_y-1.5, hp_x + hp_width, hp_y + hp_height + 0.3, 1, c_dkgray, c_dkgray);
    Curved Edges (as in pixel art) for Health Bar Lines: (personally used this one)
    --------------------------------------------------------------------------------
    draw_line_width_color(hp_x-1, hp_y-1, hp_x + hp_width, hp_y-1, 1, c_dkgray, c_dkgray);
    draw_line_width_color(hp_x-1, hp_y + hp_height, hp_x + hp_width, hp_y + hp_height, 1, c_dkgray, c_dkgray);
    draw_line_width_color(hp_x-1.4, hp_y-0.8, hp_x-1.4, hp_y + hp_height-0.5, 1, c_dkgray, c_dkgray);
    draw_line_width_color(hp_x + hp_width+0.5, hp_y-0.5, hp_x + hp_width+0.5, hp_y + hp_height-0.5, 1, c_dkgray, c_dkgray);
    I hope people can benefit from these, and good luck everyone. :)

  • @brunomilcos
    @brunomilcos 6 років тому +1

    Oh nice! So glad you are back!!! =)

  • @ultragreninja8019
    @ultragreninja8019 6 років тому +4

    Congrats man👍✨

  • @ahrisenpai3438
    @ahrisenpai3438 6 років тому

    Cool to see you back man! time to get my brain up to work

  • @leeosub1647
    @leeosub1647 5 років тому

    Thank you Benjamin for great tutorials and congratulations!!!!!

  • @JAZ_2002
    @JAZ_2002 6 років тому +1

    oh congratulations to you and your wife on your new child!

  • @davisking8939
    @davisking8939 4 роки тому

    Omedeto on the baby my guy!

  • @CesarPinedaCervantes
    @CesarPinedaCervantes 6 років тому +1

    Congratulations!

  • @GrrrVahrrr
    @GrrrVahrrr 4 роки тому +1

    It's been a long time since you posted this, but within your resources there is "spr_bar".. so just put its origin to top left and add "draw_sprite(spr_bar, 0, _hpX, _hpY);" and there will be a thick outline around the hp bar)

    • @CuriousScribbles
      @CuriousScribbles 9 місяців тому

      I was about to post the same thing. This is definitely the move.

  • @Andrewspieces
    @Andrewspieces 6 років тому

    Congratulations on your 3rd child Ben. We're on our 1st, 2 months old. Looking forward to playing and making games with him. I'm still making my way through your beginner RPG tutorial, which I'm really enjoying, so thanks. Intending to go through your other content, also, to improve my game programming, and try to write it on my own without only copying.
    Do you write in C#, and will you make any C#, or Unity tutorials in the future? I really like your relaxed, natural teaching style, so it would be great to learn these skills from you. But I understand if your audience prefers you to stay with Gamemaker. It's just I feel C# and Unity skills are more in demand across the game industry, as a profession.
    Either way, thanks for all your content, and congratulations again.
    Peace

    • @uheartbeast
      @uheartbeast  6 років тому

      Congrats! I may end up doing Unity tutorials at some point. I want to focus on Godot first, though since I've been learning that and having a lot of fun with it.

    • @Andrewspieces
      @Andrewspieces 6 років тому

      Thanks for the reply, Ben. I appreciate it. I messaged a few times before, but this is the first time you replied 😄 I understand you have a lot of followers though.
      I've seen your Godot tutorials, and would like to experiment with that engine and your tutorials. I'm glad that Unity tutorials are a possibility. That would be excellent.
      Do you have any plans to do a MOBA style tutorial, also? My main project consists of MOBA elements, which I'm developing through your RPG tutorial, but to see how you approach MOBA AI would be really helpful.
      Really enjoying your blog series as well, to learn more about you. Thank you for sharing your story. It is very inspiring.
      Congratulations again on your child, and health and happiness to you and your family.
      Peace

  • @TheSinisterSun
    @TheSinisterSun 6 років тому

    Yesterday got through part #21 and got so motivated I did some extra already. "Press Enter" -room as a 'title', a Game Over -functionality (text + falling red overlay + enter to reset room). I wanted moving clouds, but not to interfere with parallax scrolling, so solved that. It was nice to do some personal touches. Encountered a bug since I went with a little slower animation: I check for animation_hit_frame() on attack, but every character seems to create 2 hitboxes - I guess animation hits the same frame multiple steps. Dunno if there's a better way to solve it, so I kept track on every object if the current state has already created a hitbox or not.

    • @uheartbeast
      @uheartbeast  6 років тому

      Sweet! Are you using GMS 1.4 or GMS 2? I'm curious about the bug. Using a slower animation speed shouldn't affect the animation_hit_frame script.

    • @TheSinisterSun
      @TheSinisterSun 6 років тому

      GMS2, but actually the bug was on my code - I wrote some debug messages and realized that something does not add up. Went to see the script again, and had clearly been tired when checking the video, as I did calculate the range correct but still had incorrect image_speed in the condition. Darn, I wish I had linter that warns about unused variables. :)

  • @MisterRandomEncounter
    @MisterRandomEncounter 6 років тому

    I highly recomend the Evil Dead Font look it up its free to download and really fits the theme nicely.

  • @whynotusepaper468
    @whynotusepaper468 6 років тому +1

    Great job! Can you make tutorial about fake 3D house like you did with trees in rpg mage series. Thanks if you can help. Love your videos. I learned so much from you.

  • @stefanlachnit2591
    @stefanlachnit2591 3 роки тому

    Hi Benjamin, one question about part #22 of your Hack-n-Slash series: At the end of the video you are writing some code into the collision-event in your o_hitbox object. Why are you using "creator.object_index == o_skeleton" instead of "creator == o_skeleton"?

  • @lambnugget3246
    @lambnugget3246 6 років тому

    Hey you're alive :D

  • @soco5338
    @soco5338 6 років тому +1

    0:25 CONGRATULATIONS

  • @allisonaubry1066
    @allisonaubry1066 6 років тому +1

    Would you mind creating a Godot RPG tutorial, with the ability to affect choices. Thanks!
    Also congratulations on the baby!

  • @xcreatorminigames6227
    @xcreatorminigames6227 6 років тому

    Congratulations ! nice tuts series, in the case of this part, why dont you used a script do draw that text in a box ?

  • @cprn.
    @cprn. 6 років тому +1

    I think `hp_percent` for `else` statement could just be 0, no? (near 4:27)

  • @felixuusitalo3874
    @felixuusitalo3874 6 років тому

    Hello, Ben and congratulations! I am wondering if there is any way to visualize midi files in game maker. Is there a way to make objects spawn when specific notes are played in the midi sequence? I'm looking to create a rythm game, kind of like guitar hero. Thanks and keep up the good work!

  • @FzzyBzzy
    @FzzyBzzy 5 років тому

    I'm late, congrats on the baby :D

  • @mertkorkmaz8726
    @mertkorkmaz8726 2 роки тому

    Hey i know its a little bit late but congrats anyway :) Hope you and your family doing great.

  • @cprn.
    @cprn. 6 років тому

    Also, 20 seconds before the end of the video UA-cam covers the whole middle section with links to two other videos of the channel and the channel itself - you might want to record that extra few seconds at the end of each video so that it wouldn't cover something important like e.g. the final demonstration with the kill counter going up. :D

  • @ElusiveGhost
    @ElusiveGhost 4 роки тому

    I seem to be having an issue with the health bar position, it seems to be about half a bar too high. The drawn outline appears to be in the right position though.
    Would love to talk through it with someone to find a solution.

  • @dungeonseeker6660
    @dungeonseeker6660 6 років тому +3

    Congrats Man, at what age are you planning of teaching them how to code etc😉

    • @uheartbeast
      @uheartbeast  6 років тому +3

      Of course! They will learn pixel art and game development from a young age :)
      The age isn't too important but they need a good understanding of basic math first.

  • @Chupie77777
    @Chupie77777 6 років тому

    Ben, I love your videos! Could you please make a video on how to do this stuff without image_xscale? At a certain point in your tutorials, the coding stops working for me, because I am not using image_xscale for left and right movement; I'm using a left animation and right animation, thus, my hitbox will only show up on one side, the rolling state doesn't work properly, etc. If there's a guy on the internet that could teach this effectively, it would be you!

  • @lambnugget3246
    @lambnugget3246 6 років тому +1

    Congrats for baby :)

  • @snsnsnsn103
    @snsnsnsn103 6 років тому +1

    Good

  • @aminrajimd5784
    @aminrajimd5784 6 років тому

    These tutorials are great! I'm would have paid you for these courses but alas I can't [country problems :( ], but Can you please do these on GODOT!? there is no good godot tut out there! thank you.

  • @kaisaiku
    @kaisaiku 6 років тому

    i know this is late, but congrats

  • @gebrilamor8669
    @gebrilamor8669 6 років тому

    Congrats Ben😂😂😂really happy for you. You're trying to keep your life balanced and I think you're doing fine❤

  • @soulhax
    @soulhax 6 років тому +2

    Enough of GameMaker. Godot please :).

    • @bartek4502
      @bartek4502 6 років тому

      Yeh pls do more of godot this will be great :)

  • @xxcarlosxxmunosxxz1798
    @xxcarlosxxmunosxxz1798 6 років тому

    I'm sick of game maker Time to give godot a chance