Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

GMEdit

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

[Fixed] Global replace corrupts .yy files

A topic by Oracizan created Apr 07, 2020 Views: 190 Replies: 2
Viewing posts 1 to 3
(1 edit)

The global replace feature writes the new text to the .yy instead of the .gml file. Example:

  1. I create a script called 'example' that contains the string 'var a = 3;' and save it.
  2. I run a global replace to convert 'a' to 'b'.
  3. I check the script files on disk.
    1. 'example.gml' contains the string 'var a = 3;' instead of 'var b = 3;'.
    2. 'example.yy' contains the string 'var b = 3;' instead of the expected JSON.

I have only confirmed this for scripts; it may impact other resources.

I'm using the beta version compiled on Mar 30, 2020.

Developer(+1)

Uploaded a new build that fixes that.

Thanks!