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
3
votes
0 answers

convert GML to OWL

I have both .gml and .xsd files for a region and I want to convert it to OWL. Can anybody suggest me which is the best way to do it? I found that in some quiet old paper an XSLT style sheet was used. Is it still a good way to do it?
Cale
  • 361
  • 3
  • 10
2
votes
1 answer

How can I add text like "Game is paused" when I pause the game in GameMakerStudio2

I have a code to when I press "p" the game pauses. Although, I want to show some text saying like "Game is Paused. Press P to progress" how can I do that? Here´s my code: //create…
T14Seara
  • 37
  • 4
2
votes
1 answer

How often will a condition be calculated in a for loop?

I iterate over a huge ds_list and want to know if the condition (in this case the size of the ds_list) will be calculated after every loop again and again (which would be bad for the performance). In that case I would store the result in a temporary…
Christoph S.
  • 585
  • 3
  • 16
2
votes
3 answers

how to keep specific node in networkx

I'm currently studying my college special topic. My problem is i can remove all the node i don't want but i want to keep some specific node. Here's how i do it. 1.read gml into networkx 2.using this code to remove the website that i don't want and…
KaiHung
  • 23
  • 5
2
votes
1 answer

How to extract data from GML file

I have a text file and would like to extract the 73664.300 836542.700 from it. More precisely I would like to get the GPS coordinate system [73664.300 836542.700] from the pos tag. The file contains multiple and each…
Kyv
  • 615
  • 6
  • 26
2
votes
0 answers

Parse GML as geopandas dataframe

I'm trying to parse the following gml as geopandas dataframe, which did work when trying to parse a csv string as pandas dataframe. import geopandas as gpd from io import StringIO gml = '
Daan
  • 349
  • 4
  • 16
2
votes
1 answer

How to split huge GML file in Java?

I have already an operational application but which convert gml to shape. The requirement of the gml file size to be supported was increased to 2GB. Upon execution, OutOfMemory exception occurs. Any guidance on the right direction is appreciated.
eros
  • 4,946
  • 18
  • 53
  • 78
2
votes
1 answer

Game Maker Studio 2 - How to give one input priority over another when controlling the same object?

I'm trying to control an aiming object in a game I'm starting on with two different inputs, one is the left stick so you can aim while moving, and one is the right stick for more precise aim, but I'm having trouble making it so I can control it with…
2
votes
1 answer

Game Maker studio: When I run the game

After I loaded the game up I get this error message below I loaded the game back up and though it worked again because my slime enemy are still moving around the game but when I left clicked the mouse, my game just freezes and I have to end up…
2
votes
2 answers

Destroying Instances at the wrong position in Game Maker HTML5 port

Alright, so I have a trigger set that destroys an instance at a given position when the player collides with it, this seems to work fine on Windows, the coordinates match up and I've never had an issue. Except for when I export to HTML5, The…
2
votes
1 answer

Gamemaker Studio android java extension not executing intent

I'm making an extension to update the operating system that there's a new image file, it gets called by a function in GM:S like this: osNotice(files+"/newButtonSkin.png"); Note that the variable files is the absolout path then the function sends…
Wraithious
  • 385
  • 2
  • 11
2
votes
1 answer

Forward a port using TCP (or anything else) in Gamemaker Studio

I'm trying to make a global multiplayer game in Gamemaker Studio. But I need to automatically forward ports of the client PC to the router. The only way to do it in Gamemaker I can imagine is by using TCP/HTTP to tell the router to forward the…
2
votes
1 answer

Load GML layer with Openlayers 3

I'm trying to load a GML file into a vector layer and plot it on a map. For some reason the features do not get shown on the map although they get parsed and added to the vector layer. I tried it with a GML file coming from Geoserver (making minor…
ohvitorino
  • 186
  • 1
  • 15
2
votes
1 answer

Networkx read ordnance survey - ITN Integrated Transport Network?/Reading GML file

I met some problems. I want to import ordnance survey - ITN Integrated Transport Network into networkx to do some network analysis. Since the ITN is in a GML 2.1.2 format, I tried to use nx.read_gml However it warned me that ParseException:…
GDI
  • 647
  • 1
  • 7
  • 17
2
votes
1 answer

View Size in GameMaker: Studio dependent on first room

I am making a game in GameMaker: Studio. I am attempting to automatically set the view size of the game to the computer's current screen resolution. I have an initialisation room called room_init. It contains the following code at the start of the…
J. Malcolm
  • 62
  • 1
  • 5
1
2
3
21 22