Clicker Game Effect - GameMaker Studio 2

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • Here's a much needed little GameMaker Studio 2 effect for the next clicker game you create.
    Support This Channel ▶ / gravityshiftgames
    Follow me on Facebook ▶ tinyurl.com/opj...
    Follow me on Instagram ▶ / jp_damstra
    Follow me on Twitter ▶ / @gshiftgames
    ▼ Donations ▼
    DOGE ▶ DAVYUBtcseqtZaEuzQmCnUXntJmizbbd7x
    SHIB ▶ 0x360716123306fa129b14c856cd226cdeeb8caaa0
    ▼ Useful Links and Resources ▼
    GM Studio 2 Project ▶ / 39600029
    ▼ More ▼
    General GameMaker Playlist ▶ tinyurl.com/omg...
    GameMaker Networking ▶ tinyurl.com/oau...
    Play Cookie Clicker ▶ orteil.dashnet...
    Get cool assets ▶ jdamstra.itch.io
    Happy Coding :D

КОМЕНТАРІ • 50

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

    Today I show you how to click a button with great effect, now show me how you click subscribe and we're even ;) ua-cam.com/channels/AumdO1yv-di4fI6IZQIy3Q.html

  • @CoffeeAI201
    @CoffeeAI201 4 роки тому +4

    Who else watches all GMS2 tutorials to get their keyboard key press sound high?
    I put these on when I code and I learn something useful Everytime!

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

      Haha, these mechanical keyboards work the treat for some ASMR typing XD

  • @charizardthelizard8236
    @charizardthelizard8236 3 роки тому +15

    ayo question, can you make a tutorial on how to add upgrades? Helpers, x2 score, ect

    • @kobi...
      @kobi... 2 роки тому +6

      just set the amount of money that goes up(eg, 1) a variable then you can change the value of it(eg, 2).
      if you want you can use multiplying* but you probably already know this by now because your comment is from 11 months ago.
      :)

    • @gybo_winner
      @gybo_winner 3 місяці тому

      @@kobi... now 3 year, i think he give up with programmation ;}

  • @hastull
    @hastull 2 роки тому +1

    thanks, mate

  • @RealPendragon
    @RealPendragon 7 місяців тому

    You say there are enough Video's explaining how to do this already, however I have not found any for GameMaker yet. Could you point me in the right direction?

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

    Actually no errors, I just don't know how to control with the mouse
    I threw the file, would you make it suitable for the mouse

  • @chrisahmad6401
    @chrisahmad6401 3 роки тому +3

    when you program can you make your font size bigger its very hard to follow when the font size is so small

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

      Sure thing. GMS2 does have zoom functionality. It gets a little low-res, but it can really help on some areas. I'll be sure to use it more often.

  • @lorra2648
    @lorra2648 2 роки тому +1

    Great video! Also, I was wondering how I could make the button disappear once it is clicked?

    • @SlasherXGAMES
      @SlasherXGAMES  2 роки тому +1

      Depends. If you want it hidden, set visible = false after the click. If you want the button deleted, try the instance_destroy built-in function.

    • @lorra2648
      @lorra2648 2 роки тому +1

      @@SlasherXGAMES Oh yeah I ended up using the instance_destroy function. Thank you.

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

    I can't find a signal video that shows how to not only store, and round the big numbers to show say, 1000 will display as 1A and 100000 would be say 1B.
    I made a system for this but it's not scalable.

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

      Interesting. Tell me more, maybe I can help :)

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

      @@SlasherXGAMES The way I did it is very complex. I started by setting up a macro So I set the base upgraded unit to be like this:
      #MACRO N_A 1000000
      then a line of increasing macros
      #MACRO N_B (N_A*1000)
      ... {Onto how ever high I program. This is where the scalability is extremely limited.
      Then I have two versions of the number saved. The first one is a RAW number. This is the number that gets mathed by various things. There is no rounding attached to this number. I then have a script that copies the number into a temp variable and checks to see if the real number is within the range of Each setup macro. It will compare the number, append it to a string and store it in a Second variable that displays the numbers on the screen. Here is the example of the comparison:
      if number >= N_A and number

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

      @@hakuzosionnach Hello
      do you understand from gamemaker

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

      @@hakuzosionnach If you understand, can you give Instagram?

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

      @@ZampateTR I do not have an Instagram account.

  • @nomekenpachi9965
    @nomekenpachi9965 3 роки тому +2

    6:15
    if (alpha

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

      Looks like you've got an extra "=" there after the -10.

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

      @@SlasherXGAMES HAHAHA

    • @ps4ljaska683
      @ps4ljaska683 7 місяців тому

      ;DDDDDDDDD pzdc

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

    COMO SE HASEN LOS DOS PALOS?

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

    how do i make it so the animation plays when clicking it

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

    Hey, I followed the tutorial and I kept getting the same error. This is the error here,
    draw_set_colour(x,y, "+1", c_green, c_green, c_green, c_green, alpha);
    it tells me that the arguments expected are 1, but I used 8. Help?

    • @san2.041
      @san2.041 2 роки тому

      the sintax is incorrect, the correct one is draw_set_color , you typed draw_set_coloUr

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

    hey, can anyone help me? i want to make my object that I'm clicking on change when it gets to let's say... 50 clicks. how to I do that?
    thank you for the help!

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

      In the mouse click event of the object, increment a variable by one after each click, then check if you've hit your limit, e.g.
      clicks++;
      if (clicks == 50) {
      // do something
      }

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

    My game is glitched so when i hold down click its like i have an auto clicker, know how to fix it?

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

      if you chose the event left down, change it to left pressed, if it doesn't work then idk

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

    Hello How to make pause menu with mouse I watched your old video but I don't understand because I'm Turkish(CAN YOU SHOW ON THE SAME PROJECT) please

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

      I tried a lot but failed because I don't know enough English
      so can you shoot a video
      ı use gamemaker 8.0 and 8.1

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

      Hello. Did the project file in the description help a little?

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

      @@SlasherXGAMES I made all scripts as objects but i don't understand because my english is insufficient

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

      @@SlasherXGAMES I don't know what to do after making an object

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

      @@SlasherXGAMES project helped but the only problem is i can't click with mouse

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

    First

  • @LukeGillieatt
    @LukeGillieatt Місяць тому

    Can someone please help this error keeps popping up every time i click on my object
    Variable .obj_effect(100003, -2147483648) not set before reading it.
    at gml_Object_Basketball_Main_Mouse_4 (line 3) - instance_create_layer(mouse_x, mouse_y, "Effect", obj_effect);
    ############################################################################################
    gml_Object_Basketball_Main_Mouse_4 (line 3)
    I dont know how to fix it or what to do