• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Legacy GM Porting a game from GM8 to GMS2

Hi guys.

As the title says, Is it posible to port a game directly from GM8 to GMS2? Cause I ported to GMS1.4 and then to GMS2, but there's still a problem with a line of code
"variable_local_exists"
 

Chourando

Member
I have successfully ported from GM8 to GMS2. Things I did:
- Ported from GM8 to GMS.
- Fix GML changes to run without errors on GMS1 (mostly find obsolete functions and fix them).
- Ported from GMS to GMS2 (<2.3)
- Fixed GML changes (same thing).

-Next step if you wish - upgrade to 2.3+

"variable_local_exists" is obsolete since GMS (Obsolete functions). For GMS2 I believe it should be variable_instance_exists(instance_id, name);
 
Depending on how it was made and how organized the project was importing a Pre-Studio game can be quite a process since Game Maker used to let you do some really unadvisable things like duplicate asset names that GMS disabled. Case in point on this old GM6 game I dug up from when I was like 15 and tried to import

Also older versions had differences in functions and how they were coded
 

Attachments

Top