🔴 Boomerang like in castlevania [Game Maker Studio 2 | Basics]

Поділитися
Вставка
  • Опубліковано 15 лют 2020
  • This video tutorial shows you how to make an easy boomerang in gamemaker studio which is very similar to the one you see in games like castlevania.
    What is the magic here?
    Not much to be honest. It is very similar to a regular projectile but it only negates its speed to a minus value. So here all you really need to know is that you need to assign the created instance a speed and direction value.
    Inside the boomerang object you can let it rotate in the step event (optional) and decrease constantly the current speed. Just play around with the "start" speed and the decrease value to get the desired result. Add some salt and pepper and stir until cooked correctly.
    Game shown is Noita (wished and given to me). So if you haven't checked it out, I highly recommend it.
    ▶ Gamemaker Studio: www.yoyogames.com/get
    ▶ Trial limitations: help.yoyogames.com/hc/en-us/a...
    ♥ My free game Clunky souls:
    1up-indie2.itch.io/clunky-souls
    ♥ My assets:
    Get some assets at itch.io 1up-indie2.itch.io/
    ♥ Support me and get fresh game art and game maker projects every month:
    / 1upindie
    Follow me on:
    / 1upindie
    / 1upindie
    / discord

КОМЕНТАРІ • 11

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

    wow, that's what I'm looking for

  • @Peter.Griffith
    @Peter.Griffith 3 роки тому +1

    1up Indie would like to thank you, i am starting to program and learning game maker stuff,your posts and your videos are helping me a lot thx. UwU

    • @1upIndie
      @1upIndie  3 роки тому

      Ya welcome mate! Make awesome games and well, put me in the credits :D

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

    Are you secretly making a castlevania series?

    • @1upIndie
      @1upIndie  4 роки тому

      A metroidvania yes, but in the far far far future.

  • @1upIndie
    @1upIndie  4 роки тому

    If you are looking for the "shadow" trail of the flying cross you see in the thumbnail, I got you covered -> ua-cam.com/video/Rivaxy6Y_Sc/v-deo.html

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

    what do i do if i want him to go back to the player?

    • @1upIndie
      @1upIndie  4 роки тому

      You could divide the whole process into states: First state the boomerang would fly and when the speed is near to 0, you would go into the second state where it flies towards the player, -> move_towards_point( o_Player.x, o_Player.y, 2 );

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

      @@1upIndie when I do this the boomerang flies away from the player, because it is a negative, so when I change this it just moves towards the player at a constant speed and not a gradually increasing one? I know this is an old video but do you have a solution to this?

    • @1upIndie
      @1upIndie  2 роки тому

      @@cottage00 Well, if you want to have some kind of acceleration you simply additonally ad a variable to o_Player.x.

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

      @@1upIndie thanks!