You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GameMaker's Object Events, like "Create", "Step", and so on, are represented in the project files by numeric IDs. The human-readable name is not anywhere in the project files -- it comes instead from the GameMaker IDE.
To be able to show human-friendly event names in the Stitch resource tree, I've had to manually track down the associations between the Object Event file names and numbers and their in-IDE counterparts. I've only taken the time to do that for the events we use at Bscotch.
PRs are welcome to provide those missing event names! But you can also just add replies here.
Here's how you'd do it when you find an event that doesn't show up in the Stitch sidebar:
Find the project file that corresponds to that event. It'll be named something like Create_0.gml.
There will be a sibling file, called YOUR_OBJECT.yy, that describes your object. It'll include an eventList field with an array of objects describing your events. Use that to figure out the numeric eventType for the event. (The eventNum is the numeric suffix for the event's filename, e.g. Create_0.gml has eventNum of 0.)
Get the exact English name for that event as you see it in the GameMaker IDE.
Once you've got that info, you can reply here with it. Or, even better, submit a PR:
Update the objectEvents to add an entry including all of that info. Try to add it in an order that makes sense.
Submit the PR!
The text was updated successfully, but these errors were encountered:
GameMaker's Object Events, like "Create", "Step", and so on, are represented in the project files by numeric IDs. The human-readable name is not anywhere in the project files -- it comes instead from the GameMaker IDE.
To be able to show human-friendly event names in the Stitch resource tree, I've had to manually track down the associations between the Object Event file names and numbers and their in-IDE counterparts. I've only taken the time to do that for the events we use at Bscotch.
PRs are welcome to provide those missing event names! But you can also just add replies here.
Here's how you'd do it when you find an event that doesn't show up in the Stitch sidebar:
Create_0.gml
.YOUR_OBJECT.yy
, that describes your object. It'll include aneventList
field with an array of objects describing your events. Use that to figure out the numericeventType
for the event. (TheeventNum
is the numeric suffix for the event's filename, e.g.Create_0.gml
haseventNum
of0
.)Once you've got that info, you can reply here with it. Or, even better, submit a PR:
The text was updated successfully, but these errors were encountered: