Alright, first of all if you want to learn how to use game maker try this link to the YoYoGames online PDF:
http://sandbox.yoyogames.com/downloads/ ... aker80.pdf
Also they have some pretty good tutorials and most of some of them work with the free version (Lite Edition) of GameMaker:
http://sandbox.yoyogames.com/make/tutorials
Any further questions concerning the specifics of game maker can be asked here in this topic or at the GameMakerComunity (GMC) website:
http://gmc.yoyogames.com/
For those of you who consieder yourself a beginner at Adventure Maker this Tutorial is not recomended to you.
So what is the key to getting AdventureMaker (AM) and GameMaler (GM) games to communticate with each other?
The answer all lies within these three AM fuctions:
- Code: Select all
OpenExeFileAndWait "YourExeFileName.exe"
WriteINI "blah","blah","blah"
ReadINI "blah", "blah"
...and these two GM functions (aka GameMakerLanguage, GML):
- Code: Select all
ini_write_string("section","key","str")
game_end()
If you know how to read and write ini files with AM then doing so with GM should be quite easy.
If you want to run a GM game from AM, simply OpenExeFileAndWait.
Now let's say you want the player to 'win' the GM game and unlock a new frame in your AM game.
UPDATE! You can download a demo source project here:
https://www.dropbox.com/s/eupaqckuy2ya42o/AM%26GM.zip
Cheers!
TKG