Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
I apologize for posting so frequently here, I'm new and I'm constantly coming across problems I can't figure out how to solve, the more that gets solved the less I have to post here because I know what to do :)
So I just got done watching a tutorial on buttons for youtube and the button works...
Heya, making a game that has several buttons, and when clicked I want it to show a green ring around the button so as to let the player know that the button is selected.
The problem is I've run into a few problems with this. I can't change sprites because I don't have the standard edition, and...
I'm new to GML so please forgive if I overlook something obvious. I am currently trying to create a script which automatically create a button based on the size of the string I input into it. It then needs to pass its id onward for later use in the script to basically say "I have been clicked"...
This has been driving me insane. I set up a button, that when pressed played a sound, and created an instance of another object. I then changed the button from just an object placed on the first instances layer to a draw_gui so it moves around with the camera. I have tried for hours but whatever...
I have buttons that highlight when u r on them. But they are not highlighting right. Idk why can some one help?
This is ob_store_menu
if (keyboard_check_pressed(vk_up)) {
if (global.store = 3) {
global.store = 0;
} else if (global.store >= 0) {
global.store += 1;
}
}...
Alright, I'm making some buttons for a start menu. The buttons themselves are aren't drawn, but their text is. I tried to resize the buttons to match the size of the string they hold. My resize code is:
//in the create event
image_xscale = string_width_ext(button_string, -1, -1) /...
Hello
I'm working on a dynamic main menu for a project I'm working on. The main menu will contain a range of identical buttons all generated from the same object and sprite.
I want these buttons to be dynamically generated and to all contain dynamically generated text. GIven each one is...
Hi, i want to make a game menu with as less objects as possible.
I spawned the buttons with this code in the create event:
buttonstart=instance_create(200,300,mm_play_button)
buttonoptions=instance_create(200,430,mm_play_button)
buttoncredits=instance_create(200,560,mm_play_button)...
I would very much like to get some insight on how you guys create interactive elements like buttons on the GUI layer. Especially I'd like to get some ideas on easy ways to implement buttons and how to make sure nothing beneath the button get's clicked as well. So if i.e. a clickable object in...
I've started using GM:S very recently, and I wanted to implement one mechanic to my game, but I have no idea how to do this.
So basically it works like that:
When you push one of few the buttons in a room, some of the blocks in the room disappear.
To make it easier to understand what I'm going...
just a quick one, my game has a few buttons but if i accidentally hold down the left mouse button for too long the button on the next page gets clicked, how can i have a way of it only clicking that button
Hello! I hope I'm posting in the right place.
I have a problem regarding getting an object to remain visible when I click the mouse.
This is currently the code I'm working with in the "STEP" event of obj_player:
///Left Mouse Button Commands (
//Check for the LMB
if...
Hello everyone!
I've tried so many things to do this and I just don't know how to do it, I'd prefer it done with image_xscale and image_yscale but it's fine if it can't.
I am currently working on a map editor for my game and I want to make a scale tool that when you click an object two circles...
I have a problem, I want to make the menu with buttons. I made a parent button and 2 "child" buttons called button_start_game and button_exit_game and they work when I press with the left mouse button the game starts or closes. but there is a problem.. the text on the buttons wont show up. I...
This is my first post. Hiiiiii! Whenever I try to create this and put the position x=room_width/2 and y=room_width/2, it's not on the center. Please help, here's my code...