How to create player lives : GDevelop 5

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

КОМЕНТАРІ • 68

  • @TheGemDev
    @TheGemDev  4 роки тому +7

    *This tutorial has been updated with better audio* link = ua-cam.com/video/6bh0Bsur1YM/v-deo.html

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

      Thank you so much ,now i am happy

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

      oh very fast reply

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

      Glad you liked it, please share the tutorial :)

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

      @@TheGemDev yeh of course and subscribed :)

    • @alexjr977
      @alexjr977 4 роки тому +2

      @@TheGemDev wait i have a question , can you tell me how to copy level 1 and paste it in level 2 , i mean things

  • @protojeu7414
    @protojeu7414 4 роки тому +12

    Other solution (simplier I think) : instead of 4 differents object life, you can make 1 sprite with 3 animations (life1, life2, life3). And set animations of life to "life"+ToString(Player.Health::Health())
    It simplifies the code with only one action.
    Ps : you need to add the behaviours : health ! (You can find in Geometry Monster)

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

      yes you are right. well i did not know this then when this video was made

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

      Matt
      has un tutorial por favor soy novato

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

    This video is very useful! Thank you! I'm from Indonesia by the way

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

      Glad you liked it. I hope to visit Indonesia some day 😊😊😊😊

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

      @adnan Hakim11 cara munculin Hitboxesnya gimana dah,punya gua gak ada

  • @nileshsonawane3093
    @nileshsonawane3093 5 років тому +8

    Bro....Thanks For this tutorial.Please make tutorial on➡️how to make endless runner type game...

  • @KkJj-fd6ko
    @KkJj-fd6ko 3 роки тому +1

    When I clicked on the tutorial i imidietally understood how to make it. Its pretty easy

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

    Did it in the first watch. Thanx, You have just save the generation. :))))))))))

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

      Glad you liked it. Also I have newer type of this tutorial, with better audio and an easier way to create this ua-cam.com/video/6bh0Bsur1YM/v-deo.html

  • @liuddos3427
    @liuddos3427 4 роки тому +2

    This was a very useful tutorial, thanks!

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

      You are welcome. Please share this tutorial

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

      @@TheGemDev I will definetely share this tutorial with my friends

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

    *Thanks for tutorial*

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

      you are welcome please subscribe for more

  • @leontio7161
    @leontio7161 3 роки тому +1

    God, what kind of keyboard are you using?

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

      It's an old keyboard ☺️

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

    Hi! I can't find the "hide object" option. Can you please help me

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

      Are you using the new events editor? If yes you have to select the object you want to hide in the first column and select the hide action in the second column. The hide action has nothing to configure so the 3rd column would be blank

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

      @@TheGemDev Ok!! Thanks so much!!

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

    Another brilliant tutorial, thanks!

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

    You have helped me a lot, thanks.

  • @voodoofilms6407
    @voodoofilms6407 5 років тому +3

    NIce Tutorial, can you make one of Parallax background (X & Y ) Thanks!!

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

      Thanks for commenting, I will see to that.

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

    THANKS BROO SO HELPFUL

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

    Спасибо, ты мне помог!

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

    Nice video thanks for the help!

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

    So I did everything correctly and it didn't add a life when I collected it.

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

      never mind i fixed it. Thanks for the video :)

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

    thank you this really helped me :)

  • @hardikvaland2987
    @hardikvaland2987 5 років тому +3

    Awesome bro

  • @snehalatasingh1351
    @snehalatasingh1351 3 роки тому +1

    thanks bro

  • @davidmathew2212
    @davidmathew2212 5 років тому +3

    good keep it up

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

    how to bring rest of lives to next level of game?

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

      You have to use a storage action. To save the values lets say once the players health is equal to three it stores three. Once its health is equal to two it stores two. Once its equal to one it stores one all in the same storage. Then in the other scene at the beginning of the scene it reads the storage and once the storage is equal to 3, 2 and one (in separate events) it reads it and stores the value in a scene variable. This scene variable would be used to display the stars whereby once its equal to one of the values it shows the health. Example scene variable save health is equal to 1 . show health .

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

      Let me know if you need further explanation

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

      @@TheGemDev thank you for answer my question. I have another problem like how can i fit my game resolution to every type of phone?

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

      @@oktaviana7979 well gdevelop said there are some options in the project manager > properties that could do that well that works but it still does not give a perfect resolution on all devices. So i would advice you check that out first. well also you could use the full screen action to set your game to full screen mode. I use this because it adjusts my game to the any screen size but it stretches the game objects in order to fit the size of the screen so once the size of your window width and height is a bit small and its expected to work on a device with a large screen. It stretches it in order to set it to full screen. I personally would recommend using the full screen action cause it sets it to full screen without leaving some areas black or cropped out.

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

    thank you

  • @deborahmomoh5392
    @deborahmomoh5392 5 років тому +2

    thanks

  • @__shadow__
    @__shadow__ 5 років тому +3

    cool

  • @glazelucki
    @glazelucki 4 роки тому +2

    *lifes?* it's lives btw otherwise great tutorial

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

      Sorry about that🙏. I never really paid attention to that. Thanks for the correction.

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

      @@TheGemDev It's fine it is no big deal, really!

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

    I don't see gui

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

    طیب ليه ما تعمل هذا الدرس بالعربي

  • @Масястаршаяимладшая

    Можно на русском