Get Element Earth ▶
Support This Channel ▶
Follow me on Facebook ▶
Follow me on Instagram ▶
Follow me on Twitter ▶
Follow me on Google+ ▶
In this tutorial I’ll show you how to add menus to your game.
Now check out the more in-depth version ▶
▼ Useful Links and Resources ▼
Like menus? Now try text input/output ▶
Quick tip ▶ If you don’t want a custom cursor though, you can replace obj_cursor.x with mouse_x and obj_cursor.y with mouse_y.
▼ More ▼
General Game Maker Playlist ▶
Game Maker Networking ▶
Happy Coding 😀
Nguồn: https://shaarique.com/
Xem thêm bài viết khác: https://shaarique.com/game/
GravityShift Games
June 28, 2020Be sure to subscribe for more great videos https://www.youtube.com/channel/UCAumdO1yv-di4fI6IZQIy3Q?sub_confirmation=1
Wownime
June 28, 2020I published two games on Google Play made in Game Maker. They are simple but I kicked off:
https://play.google.com/store/apps/dev?id=7809129067791821349
WindowsEcksPee
June 28, 2020Yesss!
Teehee Joker
June 28, 2020My mouse is like 30cm away from the mouse and it doesn’t move out
Shigurizu Chan
June 28, 2020I am using a new version of GM and can't find the "not to display the cursor" buttom :c.
Shigurizu Chan
June 28, 2020Excuse me, sir. I am making a videogame with other person, but we can't find a programmer. We already have most of the art, music and script, but without a programmer we will not finish the demo for October (and we need to do it). Could you please, please help us?
medo abdo
June 28, 2020i want make a chat in a game in game maker pro 8.0 but there is a mistake in addlines you can help me ? ! you are so pro 😉 i want the you to help me
Kaboom Animations
June 28, 2020thank you!!!
Psyduckgineer
June 28, 2020Thanks for the tutorial, even though my game is keyboard based, but the one problem I'm encountering is when I return to the main menu, the music playing stacks over itself. Is there a way to fix it while keeping the music playing?
koffe
June 28, 2020listen at 10:58 …. you can hear a very thick Indian accent poking through LOL!! "TH-RA-EE"
SmokeyBBQ
June 28, 2020HELP ME PLEASE
———————————————————————————————-
here is my code
image_speed = 0;
if (position_meeting(obj_mouse.x, obj_mouse.y, self))
{
image_index = 1;
}
else
{
image_index = 0;
}
———————————————————————————————-
error
_________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_fight:
Unable to find any instance for object index '0' name 'obj_mouse'
at gml_Script_scr_mouse_hover (line 2) – if (position_meeting(obj_mouse.x, obj_mouse.y, self))
############################################################################################
——————————————————————————————–
stack frame is
gml_Script_scr_mouse_hover (line 2)
called from – gml_Object_obj_fight_StepNormalEvent_1 (line 1) – scr_mouse_hover();
No commentary videos // Kory Playing
June 28, 202013:14
RubyredDragonsword 97
June 28, 2020So my question is, we would use this same logic for, say, like a glitter effect, as well? Would I just use different sprites or something?
Sorry if this sounds stupid or anything-
konstantin veljanovski
June 28, 2020_________________________________________
###########################################################################################
FATAL ERROR in
action number 1
of Step Event1
for object obj_Curser:
Variable obj_Curser.Mouse_y(100002, -2147483648) not set before reading it.
at gml_Object_obj_Curser_StepBeginEvent_1 (line 1) – action_move_to( Mouse_x, Mouse_y );
###########################################################################################
Senpai Chan
June 28, 2020do u have the project file for this?
CD MOMENTS
June 28, 2020dude i dont have any of the photos how do i get them
Pingo The Gamer
June 28, 2020I've revised your code.
Do this in the step event to create a button.
That'll save a lot of your time.
if (position_meeting(mouse_x,mouse_y,id))
{
image_index = 1;
if (mouse_check_button_pressed(mb_left))
{
//Do whatever you want
}
}
else
{
image_index = 0;
}
Every Thing Top 10
June 28, 2020Hey bro can I get the full code for the mouse hover its not working for me
Sabine Haasnoot
June 28, 2020THANK YOU SO MUCH I!!!!!!
Dave Wright
June 28, 2020you should include a download link for the menu buttons. Just want to test it all before making all the buttons
thetorturedgamer
June 28, 2020hey slasher how about you call game maker and set up a price per part algorithm for the game maker process now you can say it is just an estimator for the price of patenting your game but we really need this out here for our dreams. and of course a scripting software that is automatic so we can patent the story lines of non open world games and it would help to know how much it is for each component that game maker lets you use or are those items open source and free. i need to know. help. if you could right the story first use the easy scripting software just for game making it would save a lot of time. then you just add as much scenery as you can afford. please help.
Red Imperialist
June 28, 2020When I hover the cursor over the buttons the cursor goes under not over the buttons anyone know why?