hi i was wondering if there is a way to import a swf game into unity so that the mouse click and left right and down buttons on a keyboard works? the game its self is completed and i dont really wont to recode the game into a unity project, i’d rather code the unity scene so that it displays the swf game from adobe
any comments are welcome thx
edit- also im trying to use unity as a hud for the swf file while having the mouse clicks and arrow keys usable for the swf game/file
Yes you can use SWF file in unity with the help of a plugin :- https://www.assetstore.unity3d.com/en/#!/content/13593 It will help you to make the swf silmply run in unity My mates used this in some of theirs projects to show Splash screen animation. But with different requirements you can use with your own style.
thx for the reply itsharshdeep but this plugin doesn't seem to be compatible with action script 2 which I forgot to add in description, thx for the reply
thx also for the reply i now realize that i could have been a bit more specific so... i need unity to run a swf game that needs the mouse to be usable as well as the arrow keys so in a way i need unity to run as a display or 'hud' while having the swf file set as the full 2D scene thx for the reply
I'm having a problem, though, and I'm pretty sure it's a problem with the website's HTML. the donation value (which it's nicely finding) it always returning 0. I think the site is written to show 0 and increase gradually to the real value (as an animation of sorts). Do you know what I could do about that? maybe to wait a few seconds and Then look for the string?
Yes you can use SWF file in unity with the help of a plugin :- https://www.assetstore.unity3d.com/en/#!/content/13593 It will help you to make the swf silmply run in unity My mates used this in some of theirs projects to show Splash screen animation. But with different requirements you can use with your own style.
– itsharshdeepthx for the reply itsharshdeep but this plugin doesn't seem to be compatible with action script 2 which I forgot to add in description, thx for the reply
– EPiC_Zombie_KiLRHeh - that was fast... I was updating the answer with some bad code.
– Dave-Carlile