Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMEdit

A high-end code editor for all things GameMaker · By YellowAfterlife

[suggestion] UI for adding/creating events

A topic by PelicanPolice created May 27, 2021 Views: 164 Replies: 2
Viewing posts 1 to 2
(1 edit)

So I figured out that if you want to create a new event, you type #event [event] 

But this took me a little while, I expected it to be on the right side panel on the right click menu.

obj_Name -> Right click -> Add event -> <Select>

Developer

So, the suggestion is to add a context menu to the code outline that inserts an #event line at the end of file? This reasonably requires someone to map 200-something event names to a GM-like menu.

(2 edits)

It's not that creating event is a difficult task. Now I know how to do it, I can. But I didn't know, and in a blank project file there would be very little indication on how to create new events. Even in my full project file it took me a while to figure out how to do it. What I'm trying to say is it's not intuitive. 

If you wanted to make a UI you could just put the essentials like create, step, draw, destroy, game end, and then just have an "other" option where you can search for the event. But you don't even need to do that.

It could be even as simple as a button somewhere like this:

(These are all placed I looked).

And when you click it, it just auto types this at the bottom of the file:


And opens the autocomplete menu. No remapping needed. Just a button.

I'm asking for a button! Or possibly more than 1 depending on how many of these you like