Game maker studio 2 : drag and drop tutorial - Healthbar (DnD)

Поділитися
Вставка
  • Опубліковано 8 лют 2025
  • in this video I'm going to show you how to create a healthbar in gamemaker using drag and drop or also known as DnD.
    Check out this basic Gamemaker tutorial
    • Game maker studio 2 : ...

КОМЕНТАРІ •

  • @faacuuhaaruu
    @faacuuhaaruu 5 років тому +4

    This actually helped me out, thank you

  • @mikeglasswell-gameplay
    @mikeglasswell-gameplay 5 років тому +2

    it is a good practice to organise and have good naming conventions with your objects and sprites, this allows people to follow along and relate with decisions you make

  • @w0rdsandstuff
    @w0rdsandstuff Рік тому

    this helped so much thank you!

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

    thanks man

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

    Sweet! this was just what I needed! Thanks!

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

    Thank you very much, this was very helpful.

  • @dmac2016
    @dmac2016 4 роки тому +3

    How do you make it go to another room when the variable equals 0?

  • @j.b.8769
    @j.b.8769 4 роки тому

    TYVM man now i understand that EZ

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

    thx alot! it works!

  • @bambangjuniarto5778
    @bambangjuniarto5778 6 років тому +10

    how create healt bar is following viewport?

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

      I have mine in DrawGui. coordinates are relative to the active viewport.
      Personally i use draw instance health and use the drop arrow to apply it to my player object. but this may not suit everyone's needs

    • @j.b.8769
      @j.b.8769 4 роки тому

      camera_get_view_x(view_camera[0])
      camera_get_view_y(view_camera[0])
      camera_get_view_x(view_camera[0])+128
      camera_get_view_y(view_camera[0])+16

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

    the player go's away if the health bar spawns

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

    i want to make a minecraft health, like the 10 hearts and if you get hi you get half a half or null

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

      i think there is a thing for hearts

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

    Can you update this video to 2021 (or 2020) so i can follow this better? Thank you (:

  • @JadeLogic
    @JadeLogic 5 років тому +1

    Can you show how to make a fighting game like this

  • @karambitgames4404
    @karambitgames4404 5 років тому +4

    I dont know why but coding looks much easier then drag drop :/

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

      I know that msg was three years ago. But trust me it’s not. Drag and drop does basically everything for you. While coding you need to understand every line and every piece of code.

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

    It wont let me move the health bar around please help

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

    this why gamemaker is the #1 game making tool

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

    Potatoes

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

    potatoes or something
    lol

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

    ok

  • @JadeLogic
    @JadeLogic 5 років тому +1

    U made it so confusing by naming it random names like bb and ww

  • @Light-fu9wm
    @Light-fu9wm 6 років тому

    could show how to make hearts instead of bars?

  • @thegoldenkatana-animation
    @thegoldenkatana-animation 6 років тому

    Whenever I add draw a health bar my character disappears but when I remove It they come back

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

      its late but i have the same problem
      did you fix that?

    • @23wfejimjn3rfrji
      @23wfejimjn3rfrji 3 роки тому

      @@zaidahmead7400 If you guys are still there, Are you creating the health bar in the character? If so, when you draw, it will be drawing the bar instead of the character!

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

    Hey, I followed your other video on how to get the camera to follow the player, and when the camera moves, the health bar stays behind.

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

      place the healthbar in another layer :D

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

      +Sparckman Thank you for the fast reply!

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

      eheheh yeah let me double check I think you have to click a checkbox so le layer won't scroll

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

      you can also set the position of bb which is where you're drawing le healthbar = the X position of your scrolling object. Or = X and Y of the camera :D

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

      +Sparckman Thank you!

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

    Potatos

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

    7:34
    game?

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

    please do coins

  • @MusicIsLife-cd1xd
    @MusicIsLife-cd1xd 5 років тому

    bag english.