Questions tagged [game-maker]

Game Maker is a cross-platform game creation tool made by YoYo Games mostly used to develop 2D video games.

Filter by
Sorted by
Tagged with
2
votes
1answer
385 views

GameMaker: how to make one non-physical object collide with a fixture?

I've searched a lot and i couldn't find the answer. I'm developing a platformer game where i need the player to stay on ground but i don't want to use build-in physics to make him move. The ground is ...
1
vote
1answer
944 views

Why is the code in this if statement being run when the condition for it is not met?

I have a feeling I'm overlooking something stupid here... By default all of my enemy objects start without a target assigned to them. As in - "target = noone;" However, despite target being ...
1
vote
1answer
473 views

Trouble With Physics Joints [Gamemaker]

I'm trying to create a series of physics-enabled 'ropes', with hard limits on how far they can swing left or right. They are comprised of an oRopeRoot kinematic ...
1
vote
1answer
784 views

(Gamemaker Studio) How to draw a vector?

Let's say I want to start from the center pixel of a screen of indeterminate size, and I want to be able to draw an arrow from this center pixel to any other pixel. The only way I know how to do that ...
3
votes
0answers
107 views

Directional, Smooth scaling

I am fairly new to game maker, and I am trying to create a directional smooth scaling camera. Think Civilization 5's camera, when you zoom the camera, it zooms in towards the mouse, keeping the in-...
1
vote
0answers
1k views

Is it possible to mod a GameMaker game? [closed]

I been google searching on how to mod Game Maker games (Hyper-Light-Drifter to be more specific) but so far everyone says it's impossible to mod the files. The reason I want to do this is I want to ...
2
votes
1answer
5k views

In GameMaker how to check if instance is a given object?

Let's say, I have three objects: obj_square, obj_circle and obj_triangle. Instances of all ...
1
vote
2answers
864 views

Using angle_difference to calculate shortest turn to target [Gamemaker]

I've tried, but I cannot understand angle_difference. I have an object, oTurretDetTurret, which turns to face its ...
0
votes
1answer
67 views

A way to create a variable that includes a modifier that should be checked every step [Gamemaker]

I can't tell if I am being stupid, but I am looking for a way in Gamemaker to have a variable include a modifier which has the potential to change every step. This variable is called ...
1
vote
2answers
4k views

Drawing only objects that are currently in viewport [Gamemaker]

Following on from my previous question about optimising large object counts in Gamemaker, I am looking for a method for the solution proposed by liggiorgio. My game has large numbers of small, sprite-...
3
votes
1answer
2k views

Game Maker: Is there a faster way to check for collision than this?

There are many objects named obj_Cell and obj_Core in the room, each Core has a number (0 to 10) of Cells that belong to it. ...
-5
votes
1answer
606 views

Lost in Development [closed]

My name is Julian Ngolla. I am a 20 year old biology major who is a junior at Hunter college in NYC. In other words i am constantly busy and am basically broke. Ever since i was a kid me and my ...
2
votes
1answer
742 views

understanding game networking

I have been working on a real-time game, and am closing in on the point where I send and receive data. I have previously accomplished this before with a couple other test games, but I have never ...
1
vote
0answers
361 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 ...
1
vote
1answer
1k 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 ...
-2
votes
1answer
2k 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 ...
1
vote
2answers
2k 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 ...
0
votes
2answers
72 views

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

How I was checking adjacency before: ...
1
vote
1answer
445 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 ...
1
vote
1answer
47 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
640 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 ...
1
vote
1answer
77 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
329 views

Game Maker - Create Instance When Health Is 0

I have five objects: obj_Boss, obj_bossHealth, obj_GameOver, ...
1
vote
4answers
3k 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
73 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
66 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
5k 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
1k 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, ...
0
votes
1answer
768 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, ...
2
votes
1answer
8k 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: ...
0
votes
1answer
760 views

In gamemaker studio, how do I make text boxes?

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

Game Maker Error (Step HP)

I keep getting this error now in Game Maker: FATAL ERROR in action number 1 ...
0
votes
1answer
397 views

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

I'm making a map in an array, something like this : ...
3
votes
2answers
2k 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....
-1
votes
1answer
549 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
2answers
223 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 ...
0
votes
2answers
4k 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
2k 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: ...
-1
votes
1answer
192 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. ...
1
vote
1answer
647 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 ...
0
votes
2answers
331 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
4answers
294 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
1k 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 ...
-3
votes
1answer
444 views

Treat uninitialized values as 0

Does Gamemaker have a way to treat uninitialized values as 0?
0
votes
2answers
80 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 ...
2
votes
1answer
1k views

Why do I get this error when setting up Android support for Game Maker?

Game Maker asks me to install the Android SDK API 13 for it to work. I opened the SDK Manager and clicked at API 13 but I wasn't able to click the "install packages" button. I clicked at the obsolete ...
-2
votes
1answer
348 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
131 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
2answers
2k 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 ...
0
votes
1answer
387 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 ...

1
5
6
7 8 9