Questions tagged [game-maker]

GameMaker is a Windows and Mac OS IDE which allows users to easily develop computer games without the requirement of prior computer programming experience.

Game maker

GameMaker is designed to allow its users to easily develop video games without having to learn a complex programming language such as C++ or Java through its proprietary drag and drop system. These icons represent actions that would occur in a game, such as movement, basic drawing, and simple control structures. It is also possible to create custom "action libraries" using the Library Maker.


Graphics

GameMaker primarily runs games that use 2D graphics, allowing the use of limited 3D graphics. It supports the ability to create particle effects such as rain, snow and clouds, however not natively in 3D except through use of Dynamic Link Library.


GML

Game Maker Language (GML) is the primary interpreted scripting language used in GameMaker, which is usually significantly slower than compiled languages such as C++ or Delphi. It is used to further enhance and control the design of a game through more conventional programming, as opposed to the drag and drop system.


Platforms

GameMaker accommodates redistribution on multiple platforms. The program builds for these platforms: Windows, Windows 8, Mac OS X, Ubuntu, HTML5, Android, iOS, Windows Phone 8, Tizen, Xbox One, and Playstation.


Source: Wikipedia

449 questions
1
vote
2 answers

Gamemaker export code for Gource

Is there a way to use Gamemaker with Gource? Or is there something like a tool or library to export / convert .gmk files to .txt files each of them with one class?
ComanderKai77
  • 460
  • 6
  • 14
1
vote
1 answer

Incorrect result to input checking in GameMaker

Message for MHS readers: Do not copy this code. Just use it for help with yours. I have 10 words loading from a file and then 9 are displayed in a grid. After 30 seconds 1 is removed and the 10th word from the file is put in. The user is then asked…
kammak743
  • 13
  • 4
1
vote
1 answer

Capturing last location's object in a variable?

Right now I've got about a 10x10 grid of squares that the player can move 1 square at a time on. When they hop to a square, I need an animation to play based on the sprite_index of the square they're jumping to and the one they just came from. I've…
Barkley
  • 6,063
  • 3
  • 18
  • 25
1
vote
1 answer

Game Maker: create an ennemy at a random position on the ground

I know a bit about coding (in Python, C and XHTML) and I'm trying to understand the basics of Game Maker. I have created a room with enemies moving, colliding to the walls and all, but now, I'd like to randomly spawn enemies in the room as long as…
UKDP
  • 226
  • 5
  • 21
1
vote
1 answer

Game Maker motion_add - Python Equivalent

Is there a way to make a function that just adds motion to an object like the motion_add function from Game Maker? Like: motion_add(speed1, direction1, speed2, direction2) ... where speed1 and direction1 is the current values of the object…
deepadmax
  • 73
  • 2
  • 7
1
vote
1 answer

Changing direction of a sprite in Game Maker

I’m trying to make a racing game and I know that there’s a line of code that changes the direction of the sprite when a new key is pressed as I used it in a previous game (which I’ve seemed to of lost) and I was wondering if anyone knew what the…
user3133065
  • 29
  • 1
  • 6
1
vote
0 answers

Game Maker doesn't refresh files after a git update

When a I use Git in GameMaker, update doesn't refresh the project view, I have to restart the soft to see new items. I have configured SCM with : http://help.yoyogames.com/entries/101983386-SCM-Part-6a-Configurations-for-GIT A friend did it the same…
MrMordem
  • 21
  • 3
1
vote
1 answer

Game Maker - Load a string from file?

I want to give a unit a random name. I was thinking I could supply my game with a txt file containing a long list of names, and then choosing one at random. How would I go about doing this in gml?
StupidQuestions
  • 347
  • 2
  • 10
1
vote
2 answers

How do I empty a room?

I have a scrolling room in my game, and I want to duplicate it so I do not have to go back into the views tab again and edit each new room. Is there a way to remove all of the objects in a room at once?
The Man
  • 149
  • 3
  • 14
1
vote
3 answers

Game Maker framerate and other timing related things

What's the framerate in GM games and how often is the game code executed per frame? I can't find the answer anywhere explained so that I would understand it. Are there ways to change these? I'm used to solid 60 fps and game code executed once per…
user4228573
1
vote
3 answers

Game Maker: Studio Sound wont play when moving to next room?

Im making a small game in Game Maker Studio. I have a piece of code that moves the player to the next room when he touches obj_star: this works. I have another line that tries to play sound_collect when the star is touched, but the game just moves…
newarsenic
  • 131
  • 1
  • 12
1
vote
1 answer

GameMaker Studio - Non-Existing Surface

I am currently in the process of ironing out my engine created in GameMaker Studio. Currently, I am adding shadows and smooth effects to my engine. As I was adding in these shadows, I have run into a problem, and have been able to narrow the problem…
user4441304
1
vote
1 answer

cannot change background during game play gamemaker?

I use this on event create to change background during game play. But won't change the background, any idea? seconds = current_second; if seconds < 30 { background_index[0] = background0; background_visible[0] = true; } if seconds > 30 { …
Nino Frenn
  • 61
  • 1
  • 9
1
vote
2 answers

Error when trying to compare two coordinates to get a result

I'm making a score counter for my game. When two object's x coordinates' meet the score increases. I wrote a little script and execute it from my manager object. The error then occurs from my script and the error response is nonsensical to me. The…
gacl
  • 31
  • 1
  • 1
  • 4
1
vote
1 answer

Game-maker - Timer System Room Transfer

How do you transfer a timer's value from one room to another in Game-maker? I have a working timer system that counts up, but when I change rooms the timer count resets. Why does the timer count reset?
user4273568