Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

GMEdit

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

Creation code script usage doesn't show in Find References on script

A topic by Rainbowbleh created Jul 18, 2019 Views: 395 Replies: 5
Viewing posts 1 to 3

Hi! First, thanks so much for GMEdit - it's fantastic.
I have some room creation code:

#roomcc Level1
initialize_collision();
create_level_1_parallax_layers();

but when I run Find References on initialize_collision():

// 0 results found:

Not sure if there is something I am doing wrong on my end, or if Find References doesn't search room creation code. initialize_collision looks like this:

var layer_id = layer_get_id("Collision");
var tilemap_id = layer_tilemap_get_id(layer_id);
global.collision_tilemap_id = tilemap_id;

Thanks again for creating GMEdit!

Developer

This is already fixed for the next version.

Awesome, thanks for letting me know!

Strange. I came here to post about this very issue with the Mar 5, 2024 version ("Rooms" was checked). But this was supposedly fixed 4 years ago?! Could this be because I'm using GM:S 1.4? It would also be very nice to be able to browse and edit room creation code too, which seems like an easy and logical addition if you can already search and replace stuff.

Developer (1 edit)

Could this be because I鈥檓 using GM:S 1.4?

From the looks of it, I have only implemented this for GMS2, yeah

I could spend an hour or two adding this if you could provide a convincing argument for why you鈥檙e sticking to GMS1.x with current GM versions being free* and all

Edit: (checks profile) ah, a 3d game! Some of the d3d functions aren鈥檛 easy to port without caveats

Yeah. I experimented with porting my 3D remake from GMS1 to GMS2. But it was giving me PTSD flashbacks to when I ported it from GM8 to GMS1, and would only delay the full game release even further. Ugh. So I decided to stick with GMS1. And in all honesty, I think at this point it would be wiser to port such a 3D game to a completely different engine, if I were to do so.

However, your tools have already proven to be invaluable to me. Especially while working with older GM versions. So I'm eternally grateful for everything you've done already and find it amazing this thing even supports GMS1 at all. Ha! So only add this support if you want to. I know it's an edge case and I can live without it.

Wishing you the best, you absolute legend! 馃榿