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
vote
1 answer

GML layer is displying in changed rotation

I created GML WFS layer from Geo-server and using in Open Layer 3,but in output showing map rotations are changed .On my PC showing the GML but in fiddle doesn't showing output.Is there any mistake in my code . I want to create GML or GML2 format…
1
vote
1 answer

Simple example 'Openlayers GML'?

I am desperate to find a simple example on the Internet how to add 'GML data' into (a Vector in) Openlayers v4. It seems a simple question, but I cannot find any working example (I found a lot of Openlayers v2 and v3 examples). I have the following…
user1806756
  • 145
  • 1
  • 2
  • 11
1
vote
0 answers

OpenLayers 4 and WFS (GML)

I am trying to display a geometry trough a WFS in OpenLayer 4. The problem is that using the following snippet of code.. The request is succesfull, I can see the XML (wfs gml) data in the response (using firebug) but the polygons are not visible. It…
user9370976
  • 157
  • 1
  • 2
  • 13
1
vote
1 answer

Load a GML file in GeoServer and serve it over WFS

I would like to understand if it is possible to load a GML file in GeoServer and serve it over WFS. Thank you in advance
user9370976
  • 157
  • 1
  • 2
  • 13
1
vote
2 answers

GML: Getting an instance ID from a collision and accessing its variables

I am currently in the process of making a game in gamemaker. The player attacks work by getting the players stamina and storing that in a damage variable, then flying out of the player and hitting the enemy, taking twice the amount of health off of…
NextDefault
  • 11
  • 1
  • 2
1
vote
1 answer

How to setup views in game maker studio?

How do I get rid of these black bars? I've looked around and people say how to get rid of them but don't show how its done. This is what I have in my character Creation event. `///Camera view_wview[1]=611;//set wiew width view_hview[1]=611;//set…
1
vote
1 answer

Enemies Overlapping in Game Maker: Studio, How Do I Fix This?

The AI of my enemies that I made for my game is simple. They just follow the player (more precisely, they look in the direction of the player and go forward) Step Event: if (instance_exists(obj_player)){ direction =…
Creative Kid
  • 11
  • 1
  • 5
1
vote
1 answer

Sprite in Game Maker doesn't act the way I want it to

I'm currently working on animating my player so that he behaves like he's breathing. if(time mod 60==0){ if(image_index==0){ image_index=1; } else{ image_index=0; } } time++; The whole thing is put in the step event and sprite…
1
vote
1 answer

Game Maker Studio 2 LOCAL multiplayer

I want to make a simple multiplayer game with Game Maker Studio 2 for mobile platforms, but it should work locally (via wi-fi or bluetooth). For e.g. this is a list of existing games and my game will be classified as (Bluetooth | WIFI Direct |…
mr.boris
  • 3,667
  • 8
  • 37
  • 70
1
vote
1 answer

GameMaker Studio, Create Async Event from Windows DLL

I'm trying to fire a Social Asynchronous event from a DLL on Windows. There is a tutorial for this here at the bottom. What I don't understand is the following When your extension is loaded this callback should fire immediately and be passed in…
OCMvL
  • 35
  • 7
1
vote
1 answer

Adding Vector Data - GML format with WFS Transport (possible bug?)

I'm trying to add features to my OpenLayers map, by querying a publicly available WFS server which serves GML data. // initalize the map var map = new ol.Map({ layers: [ new ol.layer.Tile({ // OpenLayers public map server …
1
vote
0 answers

Reading a GML file in python using a plotly package is not working. how can i handle this?

My code: import igraph as ig G=ig.Graph.Read_GML('netscience.gml.txt') labels=list(G.vs['label']) N=len(labels) E=[e.tuple for e in G.es]# list of edges layt=G.layout('kk') #kamada-kawai layout type(layt) Error message: Traceback (most recent call…
1
vote
1 answer

How do I get projection from gml file

I am trying to get the projection from a gml-file. This is the top of the file:
Little geek
  • 592
  • 8
  • 22
1
vote
1 answer

game maker - how to navigate a map with 2d array

I have to make a navigable map the starting point is in the center there are three worlds + the final stage pressing up I have to navigate from the base to the first level of the first world and go next level in second and third pressing down I have…
Heavybrush
  • 79
  • 1
  • 10
1
vote
1 answer

game maker - how to swap the color palette using shaders and texture

how to change the color of the application surface, using the…
Heavybrush
  • 79
  • 1
  • 10