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
0
votes
1answer
114 views

Game Maker Error (Step HP)

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

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

I'm making a map in an array, something like this : ...
0
votes
4answers
297 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 ...
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 ...
0
votes
1answer
414 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
873 views

How to calculate/detect the force of a collision? (Game-Maker Studio)

How can I use game-maker to detect the force in a collision between two mobile (not fixed) objects? This is used for damage calculation and possibly compression calculation. My problem is this: ...
0
votes
1answer
72 views

Why don't I have some settings in GameMaker?

I recently bought GameMaker for Mac, however upon watching a few GameMaker videos I've realized that I don't have all options available. For example, in "Sound Properties" in other videos people ...
0
votes
2answers
1k views

Game maker, issues with an equation

Hello I am having an issue getting this equation to work, even with manually entering values replacing the variables. I cannot seem to get it to work, I have tested that the variables are being ...
0
votes
1answer
619 views

Game Maker Studio Gravity Problems

I've started messing around with Game Maker Studio. The problem I'm having is trying to get a gravity code for orbiting. Here's how i did it in XNA ...
0
votes
1answer
21 views

Function destroying wrong object

I am using the collision_line_list function to detect all objects of a type. In this case, the object is obj_CapMan. Code: ...
0
votes
0answers
20 views

How to avoid the collision of objects that move along a path?

There are 2 cars (same object) that go through a circuit: Consider that the white part is an intention that they avoid (it would be as if it were a wall). The black part (circuit) would be just ...
0
votes
0answers
10 views

Application stops working when I add two fonts

I created a game that has two fonts. Being precise, the two fonts are PRESS_START_2P with the difference only in size. One of the fonts serves to write the title and the other for all other things. ...
0
votes
1answer
59 views

How to develop a GameMaker game for both desktop and mobile

For a few months I have been creating a game using GameMaker Studio 2 Desktop. It turns out that I would like to launch it also for cell phones, and for that I bought GameMaker Studio 2 Mobile. That's ...
0
votes
1answer
52 views

Ini files only work on my computer. How to create ini files in a directory on another computer?

I am creating a game that requires the use of ini files. The game works perfectly on my computer. When I create and executable, the executable even uses the ini files when I am programming/testing the ...
0
votes
1answer
61 views

How to access the raw memory of d3d model in game maker?

I am using the d3d model creation functionality in Game Maker. I also use dlls and I want to be able to modify a 3D model (change uv values) without recreating a model. Is there a way to locate the ...
0
votes
1answer
24 views

Score won't save to Android in Game Maker Studio 1.4

I have oController as the first object to run when the game is opened. In oController's Game Start event I have the following code: ...
0
votes
0answers
50 views

Game Maker - Selecting tiles in an isometric grid

I have implemented an isometric grid with rotation in 2 directions in Game Maker. I did this by first calculating the points of the grid in 3D space and then converting them to 2D points through ...
0
votes
1answer
41 views

Enemy gun won't aim properly when collision line is flipped | Game maker studio

When the enemy move's to the right their gun faces right. When they move left the gun will face left as it should. When the player collides with the enemy collision line on the right side, the enemy ...
0
votes
0answers
38 views

How to reverse the movement of the mouse on the X and Y axes?

I would like to know, how to do so that when moving the mouse to the right, it would go to the left and vice versa. I looked for something related on the gamemaker page, but I didn't find what I'm ...
0
votes
0answers
33 views

How do I get the id of an object that created a point in a path?

I'm making a rollercoaster tycoon type game. As the title says, I need to get the id of an object that created a path point. These points are currently greated by the rail pieces. I need this because ...
0
votes
1answer
270 views

How to change application surface size without changing view size? (GMS2)

I am working on a pixel art project in GameMaker 2 with native resolution 428x240. In order to enable "subpixel" rending, I am trying to increase the resolution of my ...
0
votes
1answer
41 views

How to draw a line based on an angle with a defined size?

I have a game where the player shoots a projectile based on the mouse direction when clicking, which travels 500 pixels. I wish I could draw a line exactly where the projectile will be destroyed. ...
0
votes
1answer
41 views

Formula for calculating time difference regardless of speed

See the following situation: The first car has a speed of 10 pixels per second and completes one lap in a circuit in 84 seconds. I want the ...
0
votes
1answer
23 views

Fill with Transparency in Built-In Sprite Editor

When I imported an image for a sprite, I realized it had a white background. I went into the built-in sprite editor to remove it. I tried using fill as there was a transparent color in the color ...
0
votes
1answer
42 views

How to draw a rectangle with a border pixel over a camera/viewport?

With this code I intended to visually delimit the complete view of the circuit and the two controlled cars: ...
0
votes
1answer
52 views

Way to Get Collision Box Width Gamemaker

I was coding the wall collision system for my game, and I wanted to do it using intersect boundaries instead of checking every step if they are off the screen. When the player crosses the boundary ...
0
votes
1answer
14 views

Problem displaying drawing of a path in camera/viewport

I have an adm object, which draws the path in the room like this (Object ADM - Draw Event): ...
0
votes
1answer
161 views

Simple 2d Movement (Non platformer)

This seems so simple but my searching as failed to find a good result. The idea is that you can move in 360 degrees but you aren't faster when you move in a diagonal direction. I know how to do this ...
0
votes
1answer
46 views

Problems With Opening Room Gamemaker

In Gamemaker, I have a main menu room, and hitting start takes you to the gameplay room. When testing it, it did not take me to the gameplay room. I made it load into the problem room first, and all ...
0
votes
0answers
45 views

Multiple fireballs gml

I am programming a bossfight in gamemaker, and I want my boss to shoot multiple fireballs simultaneously, but all in a bit of a different direction, a little bit like this, from rogue soul: It (...
0
votes
0answers
30 views

Implement an “xprevious” in LibGDX

I have used Gamemaker Studio 2 before, briefly, and found that the xprevious and yprevious variables are extremely useful. ...
0
votes
0answers
94 views

Help to Code Bowling Like Feature in Unity for Mobile

I need Code or Guidelines for Touch Feature. When We Drag ball back and Send it Forward. I am Making feature like bowling, and I need Player to add force while dragging back and also curve the path of ...
0
votes
0answers
65 views

My sprite walking animation code doesn't work at all

This is my first time doing code for a game so I followed some online tutorials. When I got to the walking and the jumping animation I just can't get it to work whatever I do. I tried multiple codes ...
0
votes
1answer
38 views

Uninitialized Variables with Deactivation of Objects in Game Maker Studio 2

I am currently working on some map generation for my GMS2 game, and I have run into an issue that I absolutely cannot figure out. (I am very new to GMS2, so bear with me). I am working on map ...
0
votes
1answer
29 views

How to change the KEYSTORE securely?

I'm wanting to release a free version of an app to which I've already made a paid version. I simply copied the project to another folder: The project is initially the same as the paid application ...
0
votes
0answers
192 views

How would I create a shadowy “Fog of War” effect in Game Maker Studio 2?

You know if you ever played "StarCraft," as you explore the map it's dark until you go to that area. I am trying to replicate this effect in Gamemaker studio 2. I want to create a shadowed area ...
0
votes
0answers
27 views

Game was resized incorrectly for no apparent reason (GameMaker)

I exported the game with the following graphics settings: OBS - Interpolate colors between pixels would be like a Antiliasing. I do not think it is the cause of the problem, but I will test without ...
0
votes
1answer
36 views

Shortcut Not Found (installing game created in GameMaker)

I tested the game I created on 4 computers (ALL Windows 7) and had the following problem at installation time. The shortcut created by the installer itself came like this: When I click the following ...
0
votes
2answers
92 views

Error in DRAW GUI event on android. (GameMaker)

Image of the game on a mobile phone: As you can see the maze (draw event) has been resized correctly. But the yellow post-it (draw GUI event) has not been scaled or displayed in the correct location ...
0
votes
1answer
75 views

Simplest way to make a car follow a route

To get the cars to follow the circuit, I mapped the circuits to several points. And using the move_towards_point function I make everything happen correctly. In ...
0
votes
1answer
284 views

How to delete the splash screen I accidentally added?

GameMaker allows you to display an splash screen different from the default. For a moment I thought of using the ready method that you just click the button in the global settings of the game. In ...
0
votes
1answer
132 views

Doubt about font inclusion (GAMEMAKER)?

The default font of the GameMaker is arial, but it does not contain special characters that are present in the portuguese language. Soon I had to add a new font, but I activated the ASCII option so ...
0
votes
1answer
161 views

BUG in sprite GameMaker

In the game you have an object called obj_Corpo, and your image is a 3x3 square. I use it by stretching it horizontally or vertically for 10 or 20 times. Here's an example: Acontece que no jogo ele ...
0
votes
0answers
351 views

Instance creation order error in GameMaker

Look at the order of creation of the instances of a of the phases of my game. Notice that first obj_BolaAzul (blue circle/square) is created, then obj_BolaVermelha (red circle/square). As you can ...
0
votes
1answer
34 views

How to make a single action run for two objects in GAME MAKER?

Think of a traffic light that only turns green or red. If it is green, the next car passing through the detection point (pink square) will be directed to the green path and will cause the traffic ...
0
votes
1answer
75 views

How can I display the visible number of health?

I'm trying to create health that is just numbers, I know how to do the bar but I just want it to show. Here is the gml you need to see ...
0
votes
1answer
31 views

How do I scale room transition surfaces to fit mobile display?

I followed a tutorial on how to add a left swipe room transition, which works very well. My problem is that it won't scale to my Android display. I know that it's being drawn to the GUI layer and I've ...
0
votes
1answer
45 views

Game Maker 8 high score table pixel size

How big is the high score table in Game Maker 8? I wanted to make a background image for the table but each time I do the background is either too big or too small and makes it blurry.
0
votes
1answer
205 views

How to prevent images from being resized in game maker?

This warning appeared in the compilation menu of my game. The images were rescaled in half. I understand that this happened because they had very large dimensions. It turns out that the images, ...

1
5 6
7
8 9