Questions tagged [gml]

Game Maker Language (GML) is an interpreted scripting language developed for use with a computer game creation application called Game Maker. Use this tag only for questions about language features, or requiring code in Game Maker Language. For questions relating to Geography Markup Language, use the [gml-geographic-markup-lan] tag instead. For Graph Markup Language, see the [graphml] tag.

Game Maker Language (often called GML) is an interpreted scripting language developed for use with a computer game creation application called Game Maker. It was originally created by Mark Overmars to supplement the drag-and-drop action system used in Game Maker. However, in the latest versions, all the drag-and-drop actions translate to GML rather than being separate from it.

The scripting language lacks some of the features of its parent language JavaScript, as well as of other object oriented programming features. The language also lacks proper data types and overloading.


Resources

Books


Related Tags

329 questions
-1
votes
1 answer

Writing to a spreadsheet in Game maker studio 2.0

I'm making a short game for one of my classes, its for a small research study, so i want to be able to write the participants game data to a new line in a spreadsheet. I've seen stuff on reading from a .csv file but nothing about writing to it and…
nightblen
  • 1
  • 1
-1
votes
1 answer

A problem with button commands and direction arrays

I currently have a big question for writing code for button commands and direction arrays. I write code for a horizontal button array that is in the form of something like this: for (var i = 0; i < array_length_1d(left); i ++;){ if…
-1
votes
2 answers

Water reflection in gamemaker 1.4?

I'll start off by saying that I have searched if someone had already asked the same question, but it doesn't seem so. the question i want to ask y'all is the same as the one in the "title", so, how can I, (a newbie) create water/mirror reflection in…
-1
votes
1 answer

Game Maker attack wont work

When I press the x keyboard button, my player sprite won't attack for some reason. Is there anything I can do to help my sprite player to do an attack? /// Obj_player Create Event /// set fixed rotation for object player event_inherited(); hp =…
-1
votes
1 answer

Teleporting rooms glitch

Whenever i go to a particular area it always teleports back to the center hallway.* Example:(https://www.dropbox.com/s/mye0k8n9ysua6cb/Video%203-29-2017%206-24-13%20PM.avi?dl=0) I've tried deleting and changing a bunch of objects and I'm pretty…
-1
votes
1 answer

GML Timers and Random event

I'm working on a mobile game that involves a breaking wall. I have my sprites set to change on an alarm. I created an object and placed it in the room with no sprite to handle the event triggers since I thought it might be the creation code for the…
-1
votes
1 answer

How do you find/make work using Game Maker ( GML )?

Does anyone know ways to use GML programming skills to find or make work, such as freelance work using Game Maker? I was thinking of doing freelance game prototyping work for people looking for a quick mock-up and getting the feel for their game,…
keanu.b
  • 403
  • 5
  • 14
-1
votes
1 answer

Can someone see what's wrong in this code in GML?

var xpos = 0; var ypos = 0; xpos = obj_magnet.x; ypos = obj_magnet.y; if (xpos > 435 && xpos < 704 && ypos > 350 && ypos < 640) { with(obj_lamp) { instance_change(obj_lamp_light, true); } if obj_lamp_light.image_index == 5 …
shrouk
  • 43
  • 1
  • 1
  • 10
-1
votes
1 answer

How We Can Change Objects Position With Animation On Game Maker?

I want to code an object that, when the left mouse button it pressed on it, starts moving towards (x,y) point and when it reaches the (x,y) point it stops moving. I order to object when it's clicked by the left mouse button. The object moves towards…
-1
votes
1 answer

Whats wrong with my code (GML)

ok so im sorry to be asking, however im trying to make it so that when i press z, a portal appears at my Spr_players coordinates, however if one of them already exists, i want it to be erased and im simply wondering what ive done wrong. Again sorry…
-1
votes
1 answer

Game Maker creating pop up message

i tried to make a pop up message in game maker 8.1 and it has no design. I tried to find some tutorials but it not works. what will i do to create a pop up message with design?
-1
votes
2 answers

How to implement time-based game events without any flaws in Game Maker

I am currently working on a RTS game. Where an empire gets resources based on the system time of which the game is running. The problem is that, if you change the system time forward. The resources boom up instantly when the game is run again.…
kotAPI
  • 1,073
  • 2
  • 13
  • 37
-2
votes
1 answer

BCrypt from Scratch

I'm sad to say that I'm working in a proprietary language that doesn't have bcrypt support. It has md5 and sha1, but not bcrypt, which I think is the better option. I've never had to deal with passwords in this language before, so it's never been a…
Boom
  • 2,465
  • 4
  • 19
  • 21
1 2 3
21
22