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
14
votes
1answer
24k views

Upload Games to Steam without Greenlight?

I've been working on a little game, (which is nowhere near completion) and wanted to know, that when I'm finished, if I would be able to release it onto Steam without having to get it Greenlit. The ...
9
votes
5answers
41k views

How do I scale up pixel art without blur in GM Studio?

I'm creating a game in Game Maker Studio that uses pixel art. When I launch the game, all scaled-up textures are really blurry. (It doesn't happen to small ones.) For example, this image renders ...
9
votes
1answer
317 views

How to draw a Voronoi Splitscreen view in GMS, where each player's screen area is a polygon shape?

I'm trying to implement the Voronoi Splitscreen effect that Squirrel Eiserloh described at GDC 2016, and I'm having trouble figuring out how to 'clip' the rendered scene for one player along a ...
8
votes
6answers
1k views

Can you recommend a good beginners book or project for a young person? [closed]

I'm sorry if this question is a bit subjective but I'm sure you'll understand why. I participate in a volunteer program, Big Brother Big Sister, and my match loves computer games and he'd love to ...
8
votes
0answers
967 views

What are Game Maker drawbacks? [closed]

I actually make games only programming (SFML atm), but I was taking a look at game maker features and it looks very powerful. What are Game Maker drawbacks? any reason why I shouldn't move into it? ...
7
votes
2answers
2k views

How should I structure my turn based engine to allow flexibility for players/AI and observation?

I've just started making a Turn Based Strategy engine in GameMaker's GML language... And I was cruising along nicely until it came time to handle the turn cycle, and determining who is controlling ...
5
votes
4answers
29k views

Game Maker: How do I make a score display move with the view?

I have drawn everything needed to the screen including a HUD for the score, but I have my room set to follow my player: When the camera follows the player, the score HUD stays doesn't scroll with him! ...
5
votes
2answers
3k views

Gamemaker - Maintain relative position between objects during rotation

I have a large object and a small object - the small object updates its x and y position every step to match the ...
5
votes
2answers
1k views

Where can I find a good tutorial to replicate Game Maker's surfaces and blend modes in XNA?

I know Game Maker's surfaces exist in XNA (It's more the othe way around, XNA's surfaces exist in Game Maker), same thing for blend modes, since (I think) they both use DirectX. This is the question: ...
5
votes
0answers
1k views

Slope handling in a tile-based platformer

I'm trying to implement slopes in my 2D tile-based platformer made in GameMaker Studio 1.4. I'm done with the normal solid block tiles, they work like charm, but slopes are even harder than I ...
5
votes
4answers
1k views

Lunar Lander calculating gravity, acceleration and collision in GameMaker

I've already asked this on the GameMaker forums but had no response so far. I'm making a little Lunar Lander game as my first foray in to GameMaker, I'm wanting to have the ship land and take off ...
5
votes
1answer
2k views

Events and objects being skipped in GameMaker [closed]

Update: Turns out it's not an issue with this code (or at least not entirely). Somehow the objects I use for keylogging and player automation (basic ai that plays the game) are being 'skipped' or not ...
5
votes
5answers
4k views

Collision with 2 of the same objects

I'm looking to make a button that is activated by two of the same objects, but the code I'm using doesn't recognize the second object as a different instance. Not the best explanation but here's the ...
4
votes
3answers
249 views

How to model chess knight movement in GameMaker?

I am making a chess game in GameMaker, and I have the basic movement down for all of the other pieces except for the knight. I am using a system where I have an if statement that checks if the mouse ...
4
votes
2answers
3k views

How can I log key presses in Game Maker?

I'm trying to create a log of a players actions as they play a game of Spelunky. The easiest I've found to do this is to log what keys are pressed at each frame. What I don't know how to do is how to ...
4
votes
2answers
2k views

What's the difference between variables defined with and without the 'var' keyword?

I've been making my way through several tutorials on GameMaker: Studio at this point, and I've been trying to keep track of various aspects of the code used in them. One thing, however, confused me. ...
4
votes
2answers
899 views

In Game Maker, how do I make invisible platforms the player can walk on, and reveal with an item?

I'm using Game Maker and looking for help with these: I'd like to have invisible platforms and walkways for the player to move on. I want the platform to be slightly visible in this option so the ...
4
votes
1answer
670 views

Does each game asset always require a prefix such as 'spr' or 'obj' in their name?

Having started only recently with using GameMaker for game development (keep in mind that this is the first time in a long while that I'm doing something like this, so I'm technically at beginner ...
4
votes
2answers
239 views

GameMaker - Sprite will not stop moving backwards

I am very new to game development, and I am using GameMaker Studio as my first engine. I was following along with a tutorial to create an Asteroids-like game from scratch, but right now I am trying to ...
4
votes
2answers
115 views

Displaying smooth borders given a coarse grid-based map

I've been messing around with different algorithms trying to make a grid based map look smooth, I have tested with various shader based methods and wrote a few of my own but none of them look right. ...
4
votes
1answer
3k views

Game Maker x and y coordinates wrong

I'm making a game which the user can use the arrow keys to scroll left and right to view the map. I had an issue with the health bars of my enemies being drawn way off even though I set them to be ...
3
votes
1answer
288 views

How to check if all switch objects in a room are set to true?

I'm trying to implement a puzzle mechanic in Game Maker Studio 2. Where you need to activate multiple switches for an event to happen (e.g. opening a door) However, I'm currently stuck in recieving ...
3
votes
1answer
467 views

Score over time

I have the following code for adding 1 to global.score in the step event: global.score +=1; The problem is this adds the ...
3
votes
1answer
833 views

Game Make Studio 2 - Grid snap x, snap y

I'm following a GM tutorial that was given in 1.4 but I'm using 2, and there's a feature that I can't seem to get working. The developer is basically changing two settings (Snap X and Snap Y) which ...
3
votes
2answers
638 views

What are the benefits or drawbacks of splitting the player animation system from the wall collision system into multiple objects pinned to each other?

I'm currently making a simple platformer in GameMaker Studio 2 and I've had people telling me that I need to separate the two things into an invisible wall collider mover and animation sprites pinned ...
3
votes
2answers
290 views

In GameMaker, is it possible for users to code something into a game while playing, and verify that it is correct?

I was wondering if in GameMaker it would be possible to allow people to code a small bit of the game in so that they then unlock that move/code? Think of the game DLC Quest, in the way that you had ...
3
votes
2answers
439 views

Procedural terrain generation is very slow

I've been trying to create procedural generated 2d terrain (similar to a game like Terraria) using Simplex noise. I was able to get the noise function working, and I set up a grid of 16 by 16 tiles ...
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....
3
votes
3answers
5k views

How can I implement simple object orbits in Game Maker?

I've seen a lot of tutorials for things like "fixed circular orbit" and "elliptical orbits" which end up never been what I actually want. I have two objects: ...
3
votes
1answer
219 views

Can someone help me with my mario-inspired timer scoring system?

I am new to GameMaker's coding language or GML. I have learned and done a lot so far, but now i am having a problem. I have a countdown timer starting at 5 minutes counting down and I want the player ...
3
votes
1answer
1k views

How to loop background music through splash screen, main menu, options menu?

I am making a small game to sort of test the waters with Game Maker and I'm trying to have an mp3 play when the splash screen loads - and persist until the game either ends or the game starts (meaning ...
3
votes
1answer
638 views

GameMaker: Studio - Slow down calculations

I currently have an orbital simulator, with a brilliant answer in another Game Development question here, and would like to know how to slow down the calculations of Game Maker, to be able to do more ...
3
votes
2answers
2k views

Game maker else checks all ifs?

I have a list of if functions (checking if various spots in the room are empty) in one event. I want to check them ALL with an else statement (if none of the spots are cleared), and display a message. ...
3
votes
1answer
2k views

Game Maker Studio - how do I disable mouse click for a duration of time?

I Have a button that starts in a rest state, and then after clicking on the button, it animates out. I want to disable the mouse click for around 30 steps after the button has been clicked, otherwise ...
3
votes
1answer
587 views

Gamemaker Key Press Duration

I am looking for a way to track the duration of a key press in gamemaker. I was looking into alarm functions, but I figured there's a more elegant way. How can I track the duration of a keypress?
3
votes
1answer
611 views

How to let players connect over the internet via TCP?

We are making a 2 player game, using a Client/Server architecture and need a way to connect over the internet. Connecting in the same network is no problem and works flawlessly. Will it be a lot of ...
3
votes
1answer
519 views

How do I move a camera to a new X and Y position when the player collides with a certain object?

The lowdown is this: I'm making a 2D overhead game that takes place in separate screens in a room. Each screen is separated by a few blocks of black space (to give the impression of screens being ...
3
votes
2answers
1k views

How to set a static size for an object in GameMaker?

I have many sprites with different sizes, and I have an object in which I set those sprites, but this object gets resized by the currently displayed sprite. How can I set a fixed size for the object ...
3
votes
1answer
2k views

How do I change color of one part of sprite in Game Maker?

I want to generate a competitive game like Age of Empires where each player has access to a variety of units, and each player can be distinguished by a color in each unit And instead of sprites ...
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. ...
3
votes
2answers
621 views

Checking 2 instances of the same object in GameMaker

There are 2 blocks. If the player stands on a block, some sound should loop and when he gets off it should stop. Problem is, The game checks both the objects and when player is on 1 block, obviously ...
3
votes
1answer
2k views

How to stop a running timeline in GameMaker Studio?

I am creating a game using GameMaker Studio and I need to stop a timeline that is in progress. How can I approach that with GML code?
3
votes
3answers
2k views

How to make an object oscillate left and right?

I can't seem to make an object move left and right, back and forth, on room start whilst on solid ground. Codes I used: ...
3
votes
2answers
2k views

Changing direction after collision

In the first tutorial for GameMaker (catch the clown), I want to set the direction of the clown after the collision with the wall. I want to do it by pressing the wall object with the mouse (before ...
3
votes
3answers
682 views

Adding a small slide when player releases left/right key

The aim is for the player object to slow down and stop instead of just stopping dead. The following codes works ok when the player is not jumping, but gets stuck in an object if the player is in the ...
3
votes
1answer
2k views

Is it possible to load local html pages into Gamemaker games?

I was just wondering if it would be possible somehow to load locally saved web pages into a game. My primary use for them would be as menus, helping to navigate between rooms. I know about the built ...
3
votes
1answer
93 views

How can I child one sprite to another?

I am a newb at GameMaker. I have a 2D map which you can move around. I want to add pins to the map, such that when the map moves, the pins stay in the same position relative to the map. By default, ...
3
votes
2answers
758 views

Problems putting my game in fullscreen on GameMaker

All the rooms in my game have the size of 1280x720, so normally my game runs like this: When I try to enable fullscreen, none of the game's buttons respond to clicks, but the keyboard still works. So ...
3
votes
0answers
151 views

Game Maker Studio 2, Shaders not working as intended in webbrowsers on mac

The shader output of my html5 game in Game Maker Studio 2 looks wrong on webbrowsers on MacOS. Sometimes the shaders lack completely and at other times the shader colors look completely different. ...
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
2 3 4 5
9