MFGG phpBB Message Boards Archive
https://phpbb.mfgg.net/

How to make Game Maker 8 play Shockwave Flash (swf) files
https://phpbb.mfgg.net/viewtopic.php?f=10&t=19796
Page 1 of 1

Author:  TrinitroMan [ Mon Mar 13, 2017 5:21 am ]
Post subject:  How to make Game Maker 8 play Shockwave Flash (swf) files

Okay, so this is a weird question.
As I had found out, Multimedia Fusion 2 can play external SWF files and display them onscreen seamlessly, as if the SWF files were never external in the first place. The most prominent use of that are the cutscenes in Sonic After the Sequel, created by LakeFeperd.
So I would like to know if Game Maker 8 has something similar to that, and if yes, how can I do that?
Because I have searched for Google, and all I get it just generic SWF troubleshooting and that's it...
So yeah, would be glad if someone could help me with what is essentially new waters for me.

Author:  Syaxamaphone [ Tue Mar 21, 2017 2:32 pm ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

Game Maker cannot utilize SWF files. Sorry friend.

Author:  Mocgames998 [ Tue Mar 21, 2017 4:36 pm ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

The closest Gamemaker can get to playing SWF by itself is Studio's ability to utilize vector sprites (But ONLY in Gamemaker Studio). There's probably a GM Extension out there to play SWF though.

Author:  TrinitroMan [ Wed Mar 22, 2017 4:05 am ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

Mocgames998 wrote:
There's probably a GM Extension out there to play SWF though.

Funnily enough, that's exactly what I'm secretly hoping for...
But so far, I've got no luck finding one... :-\

EDIT: Okay, I now found a Flash DLL, but I have no idea if that will work on GM8, since there's no info about which version of GM this DLL supports ANYWHERE.
The fact that it's "no longer supported" is also really worrying me... :-\
For those who wonder, here's the link: http://gmc.yoyogames.com/index.php?showtopic=389480

Author:  Syaxamaphone [ Wed Mar 22, 2017 12:34 pm ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

The DLL should probably work just fine in both Studio and GM8. Most DLLs were built with GM for windows in mind.

Only one way to find out!

Author:  Mors [ Wed Mar 22, 2017 1:18 pm ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

TrinitroMan wrote:
EDIT: Okay, I now found a Flash DLL, but I have no idea if that will work on GM8, since there's no info about which version of GM this DLL supports ANYWHERE.
you may want to try downloading it

Author:  TrinitroMan [ Thu Mar 23, 2017 6:03 am ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

Okay, tried it out, and already found the biggest of deal breakers:
The Flash DLL only accepts full file paths. Yes, it does not accept relative file paths like most extensions like GMFMod do.
And the worst: the Flash DLL only accepting full file paths is hardcoded into the DLL file, and since the source code for this was never released (the creator lost the source code), I'm literally not able to make it work for relative file paths... :(
Well damn, now I have absolutely no idea how to solve this problem, as my game requires to be able to load SWF files.
I mean, come on, if something even more primitive than Multimedia Fusion 2 can load SWF files just fine with relative file paths, then why not GM8?!

Author:  Mors [ Thu Mar 23, 2017 4:39 pm ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

You can always use working_directory

Author:  Syaxamaphone [ Thu Mar 23, 2017 7:21 pm ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

I'm surprised you have a DLL that lets you get away without using full filepaths.

As mors said, just do working_directory+"/"+filename

Author:  TrinitroMan [ Sat Mar 25, 2017 5:33 am ]
Post subject:  Re: How to make Game Maker 8 play Shockwave Flash (swf) file

Man, completely forgot about that. But it really worked, and will hopefully also work when my game is on other computers as well. Thanks. :3

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/