Topic:   Game Hub [GM]   (Read 38083 times)


0 Members and 1 Guest are viewing this topic.

GMG Kurt


  • GMG-er

  • **


  • Posts: 682

  • Sorry for being such a noob
Game Hub [GM]
« on: August 25, 2011, 03:39:02 PM »
do you want to bundle all of your GM applications into one without the burden of copy and pasting?
Game hub gives you this option with the use of the simple UNIX open command with the -a switch

the base of the programming is
Code: [Select]
BEGIN APPLESCRIPT
 Â do shell script "open -a game1"

 Â tell application "GameHub"
 Â quit
 Â end tell
END APPLESCRIPT
which opens a compiled GM application called Game1 and closes a compiled application called GameHub. Game hub acts as an intermediant between games, which is optional, but seems like a good idea for interfacing multiple games. The other games can be anywhere on the machine, and it's suggested you put the other games in a folder and hide them with the
"chflags hidden ~/desktop/ManionGameHub/games" commands (assuming the games are in your desktop in a folder called games inside ManionGameHub.)

here's a sample program bundle using Game Hub. I'll try to create a tutorial on this soon.
http://www.mediafire.com/?btrxqy2r5jcx4n2
« Last Edit: September 09, 2011, 10:29:15 PM by KurtManion »
Just your average Weekend Warrior.
Yes I know I have bad spelling, it's what makes me such a good programmer!

"Old art, weather magnificent or wretched, is always the raw material of new art. The artist's job, though, is to