ENIGMA Forums

Sharing is caring => Tips, Tutorials, Examples => Topic started by: hpg678 on February 08, 2018, 10:05:03 am

Title: Old GM projects working in LINUX
Post by: hpg678 on February 08, 2018, 10:05:03 am
I was going through some past projects on an old hard drive and I came across this old Breakout game created by Mark Overmars in Gamemaker 6. The first Game maker game I ever studied in DRAG n DROP. Being nostalgic I made some changes and tweaks to it and have it running in ENIGMA.

It is a great example for Beginners and DRAG n DROP users to learn from and I hope it helps out any ENIGMA beginners as well.

The changes I made:
For some reason the 'show_highscore_table()' action does not work in LINUX. Neither does the 'display_message' action. Unfortunately, It doesn't run in Windows and I'm not sure if it will on a Mac.
 You can download the source file from here.











Title: Re: Old GM projects working in LINUX
Post by: Wendigo on February 09, 2018, 06:00:27 am
Thanks for sharing. I have never really used the building blocks but it is interesting what one can achieve with them.
Title: Re: Old GM projects working in LINUX
Post by: TypoSoft on April 27, 2018, 11:32:27 pm
I was going through some past projects on an old hard drive and I came across this old Breakout game created by Mark Overmars in Gamemaker 6. The first Game maker game I ever studied in DRAG n DROP. Being nostalgic I made some changes and tweaks to it and have it running in ENIGMA.

It is a great example for Beginners and DRAG n DROP users to learn from and I hope it helps out any ENIGMA beginners as well.

The changes I made:
  • Removal of the Display Instructions
  • Highscore Table
For some reason the 'show_highscore_table()' action does not work in LINUX. Neither does the 'display_message' action. Unfortunately, It doesn't run in Windows and I'm not sure if it will on a Mac.
 You can download the source file from here (https://mega.nz/#!ltACTQpA).

IT SAYS I NEED AN DECRYPTION KEY TO DOWNLOAD IT????
Title: Re: Old GM projects working in LINUX
Post by: hpg678 on April 28, 2018, 01:45:09 am
Greetings! Sorry about that. I've included a new link without a decryption key this time.
Title: Re: Old GM projects working in LINUX
Post by: Goombert on April 28, 2018, 07:15:10 pm
Hi Hugar, do you happen to still have a link to the source for this? (I can't seem to find it in this post) I just came across it and thought it looked like a neat example. I'd simply be interested in testing it out in our new C++ GMK reader for emake/the commandline and see if it opens in the new IDE fundies/cheesboy has been helping me create. Also, I wanted to let you know that our dialog support on Linux has always been subpar in comparison to Windows, but TKG has been working on a way to fix that. I am not even sure if the current GTK system works, but in ENIGMA settings you can try getting the dialog action to work by setting the widget system to GTK. The "None" widget system prints to the console/terminal if one is attached to the game process. The highscore table may actually require the Highscore ENIGMA extension as well, you can find and enable that also in ENIGMA settings.
Title: Re: Old GM projects working in LINUX
Post by: time-killer-games on April 28, 2018, 07:20:47 pm
@Goombert - yeah, only thing that needs to be done is add support for multiple file filters in the "open" and "save as" dialogs, as mentioned many times before. My panties are in a wad because I still have no idea how to fix that and you and Josh either don't know how to do it either or have little priority/interest in helping me with that even though it is kind of important.
Title: Re: Old GM projects working in LINUX
Post by: Goombert on April 28, 2018, 07:37:12 pm
Right, I'll follow up with you about that in Discord or Hangouts, wherever I see you next. I was under the impression it already worked though because the readme-like text for tiny file dialogs seemed to indicate it would accept "|" as a separator just like GM does. Anyway, let's take this private and keep Hugar's topic focused.
Title: Re: Old GM projects working in LINUX
Post by: hpg678 on April 29, 2018, 12:23:35 pm
The example file I posted was originally remade to work on systems running LINUX. When I tested it on my Windows machine, I got an error which I have fixed now.


I am also providing 3 links for the same example.


for the '.gm6' file here is the link (https://www.dropbox.com/s/i33ukbifjz4k48f/mark_overans_breakout.project.gm6?dl=0)


for the zipped '.gmx' file, here is the link (https://www.dropbox.com/s/h3y6v9vosbe8g9a/mark_overans_breakout.project.gmx.zip?dl=0)



Title: Re: Old GM projects working in LINUX
Post by: Goombert on April 29, 2018, 03:07:12 pm
Thank you so much. Good news, libEGM seems to be loading it well in both formats in the new IDE using the protobufs we wrote underneath. However, I spotted one problem. If you look at the screenshots I've attached to this post, it seems the gm6 version may have a bug, because in the gm6 some of the objects are turning into Game Info resources after the "stone_solid" object. This does not occur with the GMX version you provided.

However, I also attempted opening the project in GM8.1 and the objects appear as [snip]<undefined>[/snip] in the project tree. Can I ask what program you used to save this GM6?
Title: Re: Old GM projects working in LINUX
Post by: hpg678 on May 02, 2018, 07:12:59 pm
With a little bit of tweaking, I got another old GM file working in ENIGMA for both platforms, Windows and LINUX.


It's a bit advanced with the high-score table not working. I'm working on fixing that.


The file is a Tetris remake originally created for GM. Here is the file (https://www.dropbox.com/s/5wqp9ks0wef6v66/Enigma-Tetris.gmk?dl=0).