Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMEdit

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

How to update code from GMEdit to GMS?

A topic by Dave.Moon created Apr 23, 2020 Views: 237 Replies: 1
Viewing posts 1 to 2

Hello, I love this editor especially the fact that with this you can use #region and #endregion for gms1.4 ! It makes working with gms1.4 much easier! Great job. I have only one question. When I use GMS + GMEdit, and I change some code in GMEdit ( and save it), and then I run the project two bad things happen:

1) The game doesn't update the changes I made with GMedit

2) All the changes I made now are gone, because when GM compiles a game it automatically saves it. What is worse, it saves the code from GMS, no from GMEdit.

The only way I can work with GMEdit is this:

1. I write some new code in GMEdit

2. I save it

3. I load again  GM Project (even if it is open)

4. I run it.

 Every time before I compile I need to remember about  loading the project again, because if I forget about it, all the progress is gone. Is it normal, or maybe I missed something when I was setting GMEdit up?

Developer

That's on GMS1 - if you open a resource in IDE, the IDE memorizes the contents and will overwrite the on-disk version with what it recalled upon saving the project (which happens on run). GMS2 does not share this issue.

So if you must use GMS1, I would suggest to not touch the resources that you are going to edit externally, or subsequently re-open the project in GMS1.

As for losing progress, GMEdit automatically keeps two backups for anything you edit, which you can access via right-click menu on the tab.