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
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
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!
Haha, these mechanical keyboards work the treat for some ASMR typing XD
ayo question, can you make a tutorial on how to add upgrades? Helpers, x2 score, ect
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.
:)
@@kobi... now 3 year, i think he give up with programmation ;}
thanks, mate
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?
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
when you program can you make your font size bigger its very hard to follow when the font size is so small
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.
Great video! Also, I was wondering how I could make the button disappear once it is clicked?
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.
@@SlasherXGAMES Oh yeah I ended up using the instance_destroy function. Thank you.
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.
Interesting. Tell me more, maybe I can help :)
@@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
@@hakuzosionnach Hello
do you understand from gamemaker
@@hakuzosionnach If you understand, can you give Instagram?
@@ZampateTR I do not have an Instagram account.
6:15
if (alpha
Looks like you've got an extra "=" there after the -10.
@@SlasherXGAMES HAHAHA
;DDDDDDDDD pzdc
COMO SE HASEN LOS DOS PALOS?
how do i make it so the animation plays when clicking it
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?
the sintax is incorrect, the correct one is draw_set_color , you typed draw_set_coloUr
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!
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
}
My game is glitched so when i hold down click its like i have an auto clicker, know how to fix it?
if you chose the event left down, change it to left pressed, if it doesn't work then idk
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
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
Hello. Did the project file in the description help a little?
@@SlasherXGAMES I made all scripts as objects but i don't understand because my english is insufficient
@@SlasherXGAMES I don't know what to do after making an object
@@SlasherXGAMES project helped but the only problem is i can't click with mouse
First
Haha, well done :)
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