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

Game maker language - Loops

Been working on a program that is suppose to Loop and display 13 times. Here is my code { var count; var user_Input; var output_msg; var cel; count = 0; do { user_Input = get_integer("Temperature conversion",""); count…
user3215990
  • 53
  • 1
  • 1
  • 11
0
votes
1 answer

Xalan XSD Transform taking too long

I'm trying to use the GML XSLT subset tool to transform the GML XSD Schema. Platform is Windows 7 32-bit. It gets stuck on the first command (at least 10 hours so far on my desktop): >xalan -o gml.dep gml.xsd depends.xslt Is there an option which…
lsdavies
  • 317
  • 2
  • 13
0
votes
1 answer

Angle calculation resulting in strange behavior

So, I found some code to essentially have a rectangle follow the mouse around my player object at a set distance. On a 2D plane, I have the character, and when the player clicks the mouse button, a shield will appear between the mouse and the…
Maxw3ll
  • 61
  • 1
  • 6
0
votes
0 answers

Severe artifact when interpolating between dual quaternions

I'm having trouble with my implementation of dual quaternion skinning. I'm still learning about the subject, so for the moment I'm converting from the bone matrix to a dual quaternion CPU side, and back to a matrix in the shader. The conversion…
Sindre
  • 337
  • 2
  • 3
  • 8
0
votes
2 answers

Testing what digit the score ends with in GML

I am creating a pong game and am attempting to end the game when the last digit of the score ends with 5 but I'm not sure how to accomplish this. This is my code so far: if score >= 50 {show_message('ObiWan Wins'); game_end();} if score <= 50 &&…
Alex Chapp
  • 137
  • 4
  • 16
0
votes
0 answers

How to find vertices of a rectangular prism given direction and elevation?

So I am using a pretty much unknown language to program my game: GML. If anyone knows the answer to my question, please keep it in as much math as possible to keep translation easy. The variables are defined as follows: drc = rotation…
0
votes
1 answer

GML - openlayers

I am new to openlayers and am trying to show the gml layer in my browser with everything from the hard drive. I have tried the following code but could not for the life of me get it to work. The xml file can be downloaded from:…
Dan
  • 11
  • 3
0
votes
1 answer

GML v3 loading with OpenLayers

I rewrote the question to be more readable: I saw GML format is just a little more 'evolved' than KML. Am I right? Which format is to be considered more standard, more supported and convenient to invest more on? I tried the example here…
Magallo
  • 196
  • 2
  • 14
0
votes
1 answer

Live Tile Notification Not Showing

Hi I've been working at this for a while without success. I'm trying to send a simple notification to the live tile for my Native Windows 8 game. To get used to it I tried to use the example mentioned in the docs: var expiryTime; expiryTime =…
Edward
  • 7,346
  • 8
  • 62
  • 123
0
votes
1 answer

OpenLayers is making HTTP OPTION requests?

A while ago, I had this fiddle working thanks to stackoverflow : http://jsfiddle.net/AUbZn/16/ Now it's not anymore :/ Seems that for whatever reason, the request is being sent to yahoo in OPTION method. This is the relevant part, as this url is…
Choumarin
  • 400
  • 1
  • 6
  • 16
0
votes
1 answer

Convertion from ESRI Shapefile into OS VectorMap Local GML

I have to create a program for converting ESRI Shapefiles into OS VectorMap Local GMLs. I'm looking for some information for my problem... I tried to use documentation from both sites: ESRI Shapefile documentation OS VectorMap Local…
Nickon
  • 9,652
  • 12
  • 64
  • 119
0
votes
2 answers

Neo4j export gml from java

i'm playing around with a lot of nodes and i really like neo4j! but i couldn't figure out how i export my embedded graph to a gml or similar standard graph file to visualise it in a third party app. Do you have any example code for me? thanks in…
Jörn
  • 845
  • 5
  • 16
0
votes
1 answer

Read gml file using GraphML Reader Prefuse

I am new to Prefuse.I am facing problem reading the polbooks.gml file using GraphML Reader. It can successfully read a xml file but not a gml file.Please suggest a solution how to read a gml file in Prefuse. Below is my code for GraphML…
skjindal93
  • 706
  • 1
  • 16
  • 34
0
votes
1 answer

How to import gml to geometry colum using GeomFrom GML() in MVC

I have a function where the user uploads a KML file, I use XSLT to convert it to GML and then save it to another file. My question is how can I import this GML data to the geometry column using GeomFromGML() in MVC? Totally stumped and can't find…
user1382770
  • 273
  • 2
  • 4
  • 10
-1
votes
1 answer

Error 126 when loading a DLL in Gamemaker

I wanted to write a DLL library that integrates into the Lua language for modding one game. I ran into a problem when I connect the Lua library, everything is fine, but as soon as I start using functions from Lua, the GM 2.0 compiler gives an error…
Pyr0Guy
  • 21
  • 3
1 2 3
21
22