ENIGMA Development Environment
Website is in read-only mode due to a recent attack.

Pages: 1
  Print  
Author Topic: Old GM projects working in LINUX  (Read 1145 times)
Offline (Male) hpg678
Posted on: February 08, 2018, 10:05:03 AM

Member
Location: Barbados
Joined: Mar 2017
Posts: 275

View Profile Email
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.











« Last Edit: April 28, 2018, 01:42:18 AM by hpg678 » Logged
Hugar
Offline (Unknown gender) Wendigo
Reply #1 Posted on: February 09, 2018, 06:00:27 AM
Member
Joined: Apr 2015
Posts: 42

View Profile
Thanks for sharing. I have never really used the building blocks but it is interesting what one can achieve with them.
Logged
Offline (Unknown gender) TypoSoft
Reply #2 Posted on: April 27, 2018, 11:32:27 PM
Member
Joined: Apr 2018
Posts: 3

View Profile Email
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.

IT SAYS I NEED AN DECRYPTION KEY TO DOWNLOAD IT????
Logged
Offline (Male) hpg678
Reply #3 Posted on: April 28, 2018, 01:45:09 AM

Member
Location: Barbados
Joined: Mar 2017
Posts: 275

View Profile Email
Greetings! Sorry about that. I've included a new link without a decryption key this time.
Logged
Hugar
Offline (Male) Goombert
Reply #4 Posted on: April 28, 2018, 07:15:10 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
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.
« Last Edit: April 28, 2018, 07:18:08 PM by Goombert » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) time-killer-games
Reply #5 Posted on: April 28, 2018, 07:20:47 PM

Contributor
Location: Virginia Beach
Joined: Jan 2013
Posts: 1170

View Profile Email
@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.
Logged
Offline (Male) Goombert
Reply #6 Posted on: April 28, 2018, 07:37:12 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
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.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) hpg678
Reply #7 Posted on: April 29, 2018, 12:23:35 PM

Member
Location: Barbados
Joined: Mar 2017
Posts: 275

View Profile Email
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


for the zipped '.gmx' file, here is the link



Logged
Hugar
Offline (Male) Goombert
Reply #8 Posted on: April 29, 2018, 03:07:12 PM

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
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 <undefined> in the project tree. Can I ask what program you used to save this GM6?
« Last Edit: April 29, 2018, 03:19:42 PM by Goombert » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) hpg678
Reply #9 Posted on: May 02, 2018, 07:12:59 PM

Member
Location: Barbados
Joined: Mar 2017
Posts: 275

View Profile Email
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.







Logged
Hugar
Pages: 1
  Print