[ 10 posts ]  Reply to topicPost new topic 
Author Message
 [zz]
 Post subject: How to make Game Maker 8 play Shockwave Flash (swf) files
PostPosted: Mon Mar 13, 2017 5:21 am 
User avatar
I, Papyrus, am awesome!
Member
[*]
[*]
[*]
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.

_________________
My games:
Spoiler:

What I also support:
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [ca]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Tue Mar 21, 2017 2:32 pm 
User avatar
Watashi Wa
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
Game Maker cannot utilize SWF files. Sorry friend.

_________________
My games | My twitter | My stream | Sprites Unlimited

Image
 
Top
Offline 
 User page at mfgg.net
 
 [zz]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Tue Mar 21, 2017 4:36 pm 
User avatar
Mr. Awkward's Lab Assistant
Member
[*]
[*]
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.

_________________
=|
 
Top
Offline 
 
 
 [zz]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Wed Mar 22, 2017 4:05 am 
User avatar
I, Papyrus, am awesome!
Member
[*]
[*]
[*]
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

_________________
My games:
Spoiler:

What I also support:
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [ca]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Wed Mar 22, 2017 12:34 pm 
User avatar
Watashi Wa
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
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!

_________________
My games | My twitter | My stream | Sprites Unlimited

Image
 
Top
Offline 
 User page at mfgg.net
 
 [tr]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Wed Mar 22, 2017 1:18 pm 
User avatar
Thanks DonnieTheGuy!
Administrator
[A]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
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

_________________
Image
 
Top
Offline 
 
 
 [zz]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Thu Mar 23, 2017 6:03 am 
User avatar
I, Papyrus, am awesome!
Member
[*]
[*]
[*]
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?!

_________________
My games:
Spoiler:

What I also support:
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
 [tr]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Thu Mar 23, 2017 4:39 pm 
User avatar
Thanks DonnieTheGuy!
Administrator
[A]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

[*]
You can always use working_directory

_________________
Image
 
Top
Offline 
 
 
 [ca]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Thu Mar 23, 2017 7:21 pm 
User avatar
Watashi Wa
Member
[*]
[*]
[*]
[*]
[*]

[*]
[*]
[*]
[*]
[*]

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

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

_________________
My games | My twitter | My stream | Sprites Unlimited

Image
 
Top
Offline 
 User page at mfgg.net
 
 [zz]
 Post subject: Re: How to make Game Maker 8 play Shockwave Flash (swf) file
PostPosted: Sat Mar 25, 2017 5:33 am 
User avatar
I, Papyrus, am awesome!
Member
[*]
[*]
[*]
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

_________________
My games:
Spoiler:

What I also support:
Spoiler:
 
Top
Offline 
 User page at mfgg.net
 
« Previous topic | Next topic »
Display posts from previous:  Sort by  
 [ 10 posts ]  Reply to topicPost new topic 


Who is online

Users browsing this topic: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group