Hi there.
I am very new to GM2 and I am currently working through the drag/drop tutorial.
In video 8 around 7:36 he adds set Alarm countdown.
My set alarm countdown looks different and does not have a drop-down menu to select Alarm 0.
I cannot figure out or find anything on setting up the...
Hello :),
Lately I've given more attention to game maker and programming all together. And like many before me, I've reached some difficulties I find hard to overcome.
No matter how much I google or read game makers referrences.
I also know my question, or something simmilar to it was already...
So Yeah, I Narrowed it down to this piece of code but I don't know what's wrong:
if global.powerup = 3 && !image_index = 3{
image_index = 3;
}
if global.powerup = 0 && !image_index = 0{
image_index = 0;
}
if global.powerup = 1 && !image_index = 1{
image_index = 1;
}
if...
so i have some ds_maps that i store as global variables named (global.m1, global.m2, global.m3, and so on planning to make hundreds of them).
global.m1 = ds_map_create();
ds_map_add(global.m1,"Name","Andy");
ds_map_add(global.m1,"Level",1);
ds_map_add(global.m1,"Attack",2)...
So in the project I'm currently working on, I am having an issue where, when pressing the left or right key (or A or D key), to make the character walk one way, then very quickly switching to the other key while simultaneously releasing the first key, the player will sometimes lock-up and...
I have a problem with instance_position, it's returning noone when there are objects in coordinates, please help! :(
There are 10 sprites in total and are set by what's next to it, see code below:
if x = (obj_sperm.x - 100) - (obj_control.view_wview[0]) or del = true
{instance_destroy();}
r...
I'm making a fan game of fnaf (I'm not going to talk about what it is) And I'm trying to make the door function (I've done the sprites for the door buttons and the door closing). How do I program it to close?
Hello, i have a problem with the project I'm working on, I'm trying to create instances when a button is pressed (Space) but when the objects are being created they are invisible.
My code on the object that is supposed to create the objects (Step event):
if keyboard_check_pressed(vk_space)
{...
Hello, for my current project I was wanting to attempt to do a Flash SWF animation for a cutscene and then at the end of the cutscene make it switch rooms. I am currently having issues getting the SWF Animation to on end of animation change to a different room. Any assistance with this or...
my code
if (instance_number(obj_boss1)>0) exit;
if (instance_number(obj_boss2)>0) exit;
if (room_exists(lv_1)) instance_create(x+500,y+350,obj_boss1)
if (room_exists(lv_2)) instance_create(x+500,y+350,obj_boss2)
the problem is that both spawn in each room instead of boss1 spawning in...
With my game, when I test in in Game Maker Studio, there is no problem at all. The game runs at a solid 60 FPS no spikes or anything. I even ran it in developer mode, and saw no aspect of the game taking up the CPU like crazy.
When I export the game, however, I lag like crazy! I get around 20...
I was recently working and understanding on how to code movement and collision in GameMaker when I ran into an issue with one of my sprite/images being activated. Basically, if the players vertical speed is decreasing, it would activate a image of falling, but the problem is, when the player...
var num1 = 1;
var num2 = num1*2;
var num3 = num2*2;
var num4 = num3*2;
var num5 = num4*2;
var num6 = num5*2;
var num7 = num6*2;
var num8 = num7*2;
var num9 = num8*2;
var random1 = random_range(1,9);
var random2 = random_range(1,9);
var random3 = random_range(1,9);
var random4 =...
var num1 = 1;
var num2 = num1*2;
var num3 = num2*2;
var num4 = num3*2;
var num5 = num4*2;
var num6 = num5*2;
var num7 = num6*2;
var num8 = num7*2;
var num9 = num8*2;
var random1 = random_range(1,9);
var random2 = random_range(1,9);
var random3 = random_range(1,9);
var random4 =...
Hi, So a month or 2 ago I wiped gamemaker studio and installed the early access version so I could update my games because of the libping issue, I transferred my keystore and everything went fine, but then I had to re install early access again and when I imported my keystore either the key hash...
Hello! I just joined and beggining to program my first game in GM!
I'm a total noob soo...
I need some help on switching between Idle and Walking animations for my player.
I have seperate animations for when my character is walking up, down, left and right, and same goes for idle.
I have...
I keep getting these errors and I just don't know whats causing them. I'm new here to the forum and I hope I'm posting this in the correct location... thank you very much in advance!
_________________________________________...