348 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
2
answers
49
views
GML - Error to set position when the object starts
i created an object in gml with Draw GUI event, with the following code:
draw_self()
draw_set_color(c_black)
draw_text(x + 70,y + 50,string(obj_deafult.value))
why the object is initializing out of ...
0
votes
1
answer
60
views
Dot Notation in GML and how do I use this.function()
I'm making a script using GML. I'm quite new to GML but already have some experience in Python and a little bit in C languages.
Is this even correct?
function tooltip() {
var this = {};
...
0
votes
0
answers
39
views
New validation of xml by .iterparse
Good Morning,
Does anyone use validation via .iterparse?
I need to rebuild the plugin to validate files over 2GB.
To do this, I need to change the parser – I'm using etree.iterparse instead of lxml....
0
votes
1
answer
61
views
How to compute the smoothed curve defined by gml:CubicSpline in a WAFS SIGWX Forecast?
I'm studying the gml:CubicSpline smoothing algorithm used in the IWXXM WAFS SIGWX Forecast, based on the WAFS-Example.xml sample.
For example, consider the following GML curve:
enter code here
<...
-1
votes
1
answer
86
views
Is there better solution to normalize characters in GML?
I'm writing a function to normalize strings with special characters for my project. Since my project is for Brazilian Portuguese speakers i need to turn words such as "Água" into "agua&...
0
votes
1
answer
52
views
Why isn't this object being created? It didn't show up
I'm quite new to GML Code so sorry. But I have a problem at here:
So, I wanted so that this Object (Obj_gold) when you hold a key, it would make an aimer (Obj_aimer) and then when you stop holding ...
0
votes
1
answer
88
views
Jump Buffering and Jump from Higher Platform Problem
I have implemented Jump Buffer into my code however it only works every now and then. I couldn't figure out the problem. I tried to send a debug message to see if the jump has been buffered or not.
...
1
vote
1
answer
66
views
Mapping eventNum and eventType for GameMaker's .yy files when deleting event files
I'm developing a linter for GML, and I'm working on a function to remove unnecessary files. When deleting event files, GameMaker doesn't automatically remove lines from the corresponding .yy file. I ...
0
votes
0
answers
162
views
GEOPANDAS: Skipping field attribute_name: invalid type (1, 0)
Iam trying to read .gml file in python via GeoPandas using gpd.read_file with next code:
gdf = gpd.read_file(r'path_to_file/gml-file_neme.gml', driver='GML')
but some columns GeoPandas cant read and I ...
0
votes
1
answer
87
views
How do i make my jump more smooth instead of teleporting/snapping in gamemaker language
I tried multiple ways of making sure the jump is smooth. But every time I just get teleported instead of having a smooth jump :/
I tried using repeats, which did not change anything. I added yvel but ...
0
votes
1
answer
101
views
how to find out all possible hierarchies of elements in a xsd file?
I am working with some domain-specific GML files that are in fact XML files capable of storing geometries of spatial features in GIS domain.
I have these two xsd files that describe the data model of ...
0
votes
1
answer
61
views
How can I make the object not move the wrong way?
I am learning to use Game Maker, and I thought it would be a good project to make some basic plane movement script. I finished the part that would move the plane and then added the part that would ...
0
votes
1
answer
78
views
How can I sync VS Code code changes with UndertaleModTool file?
I was wondering if you can use UTMT \w VSCode, this so i can keep my changes more synced between my VSCode code and the UTMT code, it is also helpful for version control.
So, is there any way to do ...
1
vote
2
answers
136
views
Method inheritance in GML
So, I have a "trigger" system in a mod for a Pizza Tower, i made so that there is a obj_trigger parent and an obj_delay child, the parent has a method to execute the main functionality of a ...
1
vote
0
answers
44
views
function parameters not being registered in the code in GML
I'm working on a game and I have made some code to switch between rooms. This code is still not nearly finished looking at what I will be adding in the future, but one thing that I will definitely ...