Game development software that does not require a high level of programming knowledge.

learn more… | top users | synonyms

0
votes
0answers
14 views

(GameMaker) Smooth scaling and transparency while zooming

My game has a zoom function. There is a man in a spaceship, we can see the interior of the room room from side on as the outside is totally transparent. When I zoom out I want the outside of the ...
0
votes
1answer
36 views

Why is my variable seems to be non-existent in GameMaker?

I find myself stuck again with a peculiar issue that I don't really understand. I'm currently trying to implement a "weapon" into a shooter game (using it as a learning project), as I was (and still ...
-3
votes
1answer
20 views

How to fix an alarm event not triggering? [Gamemaker studio]

Object_1's alarm 1 event show_message("alarm triggered"); if (Destroy = true){ instance_destroy(); } Object_trigger's alarm start while (!ds_stack_empty(obj_Handle_Links.Link_Stack)) {...
1
vote
2answers
36 views

Multithreading/Optimisation for Random Generation in Gamemaker

I have a FurGeneration() script in my game; when run, it randomly generates individual oFur objects in specified areas in the game's single Room. Each has a random depth and one of three sprites, and ...
0
votes
2answers
27 views

How do I optimize checking adjacency within a matrix (including diagonals)? [Gamemaker Studio]

How I was checking adjacency before: if (obj_Handle_Links.Last_Link.Matrix_Location_y = (Matrix_Location_y-1) || obj_Handle_Links.Last_Link.Matrix_Location_y = (Matrix_Location_y+1) ...
1
vote
1answer
28 views

Game Maker - Turn On/Off Sound

What I have I have two rooms: rm_home and rm_options. I have a sound: snd_Bgm. And, I have three objects: obj_bgm, obj_BtnOnClicked, and obj_BtnOffClicked. What I want is very simple Player can ...
0
votes
1answer
31 views

Permanent Adjacency Problem [Gamemaker Studio]

Situation: I started work on a pet project recently. It's a bit like Puzzlecraft, or Bejewled, but slightly different. You click one gem, as we'll call it, and if it's the first in the link, then it's ...
1
vote
2answers
49 views

Is an array in Gamemaker infinitely expandable?

Arrays in Gamemaker Studio seems to not need to have its size be declared, and infact it doesn't seem to be possible to declare a finite array. Instead, it seems it just keeps indexing for each ...
0
votes
0answers
12 views

(Game-Maker GML) Keyword based conversation system with text input box (Ultima 6&7 style)

I would like to create a keyword based conversation system for my game with a text input box (like in Ultima's 6 & 7). For example an NPC may say "I'm going to the CASTLE to the NORTH but I need ...
0
votes
1answer
47 views

How do I let the an object know where in a matrix it is?

Game Engine: Gamemaker Studio Situation: I want 6 rows of 6 objects, each housed in a cell of a 6x6 matrix. However, this presents the problem of the matrix knowing what's in the cell, but the object ...
0
votes
2answers
29 views

Game Maker - Create Instance When Health Is 0

I have five objects: obj_Boss, obj_bossHealth, obj_GameOver, obj_BtnOK, and obj_rec2. This is what I want. When obj_Boss has no more health, obj_GameOver and obj_BtnOK will appear. This is my first ...
0
votes
3answers
44 views

how to spawn object at tip of rotating object

Engine: Gamemaker Studio I'm learning to code in GML and I am having difficulty in having my bullets be created in the desired position, the front of the object firing them. Here's how it presently ...
0
votes
2answers
33 views

How to Check and Destroy “linked” gems quickly efficiently

Engine: Gamemaker Studio (simplified) Situation: I have a 6x6 board (at this moment) stored in a 2D matrix, a mechanism for linking adjacent squares, similar to Puzzlecraft, and a button that ...
0
votes
1answer
19 views

How do I change the sprite used for an object, while the game's running?

Engine Used: Gamemaker Studio I want to be able to swap between two armors on the player character. They've each got their own unique animation / general sprite stuff. How do I "equip" the second ...
0
votes
1answer
15 views

How to assign an instance of an object to an array?

Game Engine: Gamemaker Studio I am making a game similar to bejeweled. I decided to use an array to control everything. Placing instances of objects themselves in to the array seems to be the best ...
0
votes
1answer
13 views

How to stop reinitialization in Gamemaker Studio

Situation: This is a problem that I don't know if it is actually a problem yet: I've got initialization of variables like food, stamina and so forth, in an object called obj_Global_Variables, on its ...
0
votes
0answers
48 views

I Need help with Match-3 mechanics in Gamemaker

Engine used: Gamemaker Studio, Professional Edition Note: I just saw a suggestion to use an array/matrix, and that's probably infinitely more useful and easier than what I'm doing right now (free-...
-1
votes
0answers
52 views

Game Maker - Mouse Click image_index Checking

I have this sprite: spr_meteoriteLv3, which has two sub-images with index image_index 0 and 1 respectively. I have these objects: obj_meteoriteLv3, obj_tempMeteoriteLv3, and obj_score. Object ...
0
votes
1answer
25 views

Moving Objects Relatively With Their Parent Object [Gamemaker]

I have an object type, oFur, instances of which are generated in a random distribution over the sprite area of a parent object, oFurArea. However, I would like the oFurArea to change its image_xscale ...
0
votes
1answer
39 views

How can I make my character 'flip' in Game Maker?

I want my character to 'flip' or 'mirror' when I press 'A' or 'S'. Thing is, I've placed the origin everywhere on the character and he seems to only face one direction. Video showing what I see: ...
-1
votes
0answers
23 views

How can I fade a sprite in using GameMaker?

I am currently developing a game, and I have a few issues. One of those has to do with the introduction of two of my characters. I want to introduce them by fading them in, but I don't know how to ...
0
votes
1answer
24 views

In gamemaker studio, how do I make text boxes?

How to make text boxes in gamemaker studio?
0
votes
1answer
36 views

Game Maker Error (Step HP)

I keep getting this error now in Game Maker: FATAL ERROR in action number 1 of Step Event0 for object base_enemy: Variable base_enemy.hp(100013, -2147483648) not set before reading ...
0
votes
1answer
26 views

Another way of writing 2D arrays on Game Maker Studio?

I'm making a map in an array, something like this : mapa[23,26]=4;mapa[25,28]=3;mapa[21,28]=3;mapa[22,30]=3;mapa[24,30]=0; mapa[22,27]=5;mapa[23,27]=0;mapa[24,27]=0; mapa[22,28]=1;mapa[23,28]=0;mapa[...
3
votes
2answers
103 views

GameMaker : how can i get the instance ID of multiple instance in a radius?

GameMaker and coding noob here, need help on something maybe trivial for some of you. I'm working on the map part of a game. I have a map with spots on it, each spot is an instance of the same object....
0
votes
1answer
44 views

Gamemaker studio - Rooms Object doesn't stick inside the square grid

I keep trying to put an object into the square of the grid but the object keeps going to the top corner of the square; also I can't place multiple objects by grabbing the 4 point on the vertex of the ...
-1
votes
0answers
44 views

Game Maker - Collision With Subimage Total Storing

I have three objects: obj_bullet, obj_meteoriteLv2, and obj_tempMeteoriteLv2. obj_meteoriteLv2 contains 4 sub-images. obj_tempMeteoriteLv2 makes obj_meteoriteLv2 spawn. obj_bullet is controlled by ...
-1
votes
2answers
48 views

Game Maker - Random Won't Stop

I make a project. I want to make randomize number & draw the number result. So, I make obj_BossText, which has a draw event & executes a code inside the event. This is the code: randomize(); ...
0
votes
2answers
45 views

How can I use a data grid to make an isometric turn based game in GameMaker?

I am making a Hero Quest clone. It is a turn based adventure game with an isometric view point. So far I have been able to turn a 2D map into an isometric view but I believe I need to use a data grid ...
-1
votes
1answer
32 views

Using phy_rotation to follow the mouse [Gamemaker]

My oPlayer object (a physics object in Gamemaker) uses the following code to follow the mouse: phy_rotation = point_direction(phy_position_x,phy_position_y,mouse_x,mouse_y) direction = phy_rotation - ...
-1
votes
1answer
22 views

capitalizing initial character in game maker studio

The value "V_Output" is the string of letters that I wish to capitalize the initial of. The following code is run in the step event. V_InitL=string_char_at(V_Output,1) V_InitL_Cap=string_upper(...
-1
votes
1answer
69 views

Game Maker Studio - Check Collision With Subimages

I have an obj_roulette, which contains 4 subimages, with value 2-5 and image_number 0-3. The value result from roulette stored as var global.roulette. Then, I make many obj_meteorite, which contains ...
0
votes
2answers
36 views

How can I make an object visible only on the minimap in GameMaker?

I am making a game in which I have created a minimap using views. I want in the minimap (the copy of the world) to add an object, but I want it to be visible only from the minimap. Is there any way to ...
0
votes
2answers
39 views

How to make the minimap inactive?

I have created a minimap for my top-down Shooter and it is showed on the top-left corner of the window. The problem is that if I press anywhere upon the minimap, its like pressing somewhere on the ...
0
votes
1answer
30 views

Gamemaker's xprevious is the same value as x… Same thing happens for the y variabbles

So I'm making a tower defense game but for some reason the enemies (which are following a path) have the same xprevious value as their x value. The same is true for their y variables. This also ...
-4
votes
1answer
64 views

Treat uninitialized values as 0

Does Gamemaker have a way to treat uninitialized values as 0?
0
votes
2answers
60 views

Why doesn't this formula double the value properly?

Making a clicker game: Amount awarded per click not increasing based on how many increasers purchased. I have a few global variables set up. global.ramen_1 = 1 This part says how many ramen ...
0
votes
1answer
111 views

GameMaker android support

Game-maker asks me to install android sdk api 13 for it to work. I opened the SDK Manager so that I install it, clicked at API 13 and I couldn't be able to click the "install packages" button. I ...
-1
votes
1answer
33 views

Sprite Animation Problem For Enemy

I have a problem regarding the attack animation for the enemy. The problem is that the attack animation sprite stops at the first index.It doesn't play the animation.It stops at the first index. Why? ...
-1
votes
2answers
41 views

My character wont shoot when I use GML in Gamemaker

So I was trying to make a top down shooter in Gamemaker and I decided to convert it from Drag and Drop to GML. I was trying to make my character shoot a projectile when I press mouse left button but ...
1
vote
1answer
92 views

Issue with variables in GameMaker Studio

I am having issues coding a game, in terms of variables in objects. Whgen running i get this error FATAL ERROR in action number 1 of Step Event0 for object obj_text_demo_player: Variable ...
0
votes
1answer
33 views

Do Game-Maker scripts save the variables or are they deleted after excecution?

When i make a script that excecutes at the beggining and has a var ammo and that finishes excecution, will i be able to call the var ammo in other scripts or it will be deleted? If it will not be ...
0
votes
1answer
66 views

In Game Maker Studio, why does the image rotation have to be performed every step?

I'm a software developer who's trying to get into game development casually on the side. I picked up Game Maker Studio a while ago on a Steam Sale, and I'm finally getting into using it, especially ...
0
votes
1answer
72 views

Convert Mouse Coords into Isometric Tile ID

Using GameMaker Language, I'm basing off their Adavnced Examples. How can i convert the current mouse position into a tile position? The mouse coordinates are 0,0 from top-left This is the function ...
-1
votes
1answer
113 views

How do I make my enemies to follow a path and allow them to collide with the player in Game Maker?

I am making a game in which enemies follow a path. These enemies should be colliding with the player, but it's not working. The enemy is walking the path. And, I want to make it so if the player ...
0
votes
1answer
78 views

how to check if an array element is defined? (Game-maker studio)

The code is this: if is_undefined(A_SA[V_X,V_Y])=false and A_SA[V_X,V_Y]=0 { //actions from the "if" statement } The error message is this: Push :: Execution Error - Variable Index [0,10] out of ...
1
vote
1answer
25 views

How to give a value to all elements of an array?

This problem is encountered in Game-maker studio: I created an array using the following iteration: V_X=0 //these are coordinates of my "pointer" V_Y=0 repeat(100) { A_CA[V_X,V_Y]=choose(-1,0,1)...
1
vote
2answers
117 views

How to randomly spawn objects off-screen close to the player?

I am making a zombie game. I want to have it so zombies randomly spawn. My code for this is: instance_create( obj_player.x + irandom_range(-300, 300), obj_player.y + irandom_range(-300, 300), ...
0
votes
1answer
59 views

How to scale objects and tiles without doubling view port in gamemaker

How do I scale up tiles and sprites without acully making the view port larger than the acual view? I know that I can just scale up the images and the tileset but there must better alternative right? ...