ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

sub hunter not supported

Open gargle99 opened this issue 4 years ago • 5 comments

https://www.flashgamesplayer.com/free/sub-hunter/play.html

gargle99 avatar Jan 14 '21 18:01 gargle99

Same problem as #8129 - this game uses MochiCrypt, and not all methods for it are implemented yet.

Also, this site is obnoxiously difficult to download files from. Here is the SWF file: sub-hunter.zip

n0samu avatar Oct 05 '22 02:10 n0samu

Still not working as of latest nightly. Needs TextField.insertXMLText and also errors with TypeError: Error #1034: Type Coercion failed: cannot convert String("") to XMLList..

Lord-McSweeney avatar Feb 23 '23 03:02 Lord-McSweeney

With the latest PRs, the errors are no longer thrown. However the game doesn't start due to a different issue. In spark.primitives.supportClasses::GraphicElement/commitProperties():

      protected function commitProperties() : void
      {
         var _loc2_:mx.geom.Transform = null;
         var _loc1_:Boolean = false;
         if(this.displayObjectSharingMode != DisplayObjectSharingMode.USES_SHARED_OBJECT && Boolean(this.displayObject))
         {
            if(this.colorTransformChanged || this.displayObjectChanged)
            {
               this.colorTransformChanged = false;
               if(this._colorTransform)
               {
                  this.displayObject.transform.colorTransform = this._colorTransform;
               }
            }
            if(this.alphaChanged || this.displayObjectChanged)
            {
               this.alphaChanged = false;
               _loc2_ = this._transform as mx.geom.Transform; // mx.geom.Transform is undefined at this point, which throws an error.

Lord-McSweeney avatar Jun 11 '23 18:06 Lord-McSweeney

With https://github.com/ruffle-rs/ruffle/pull/11494, https://github.com/ruffle-rs/ruffle/pull/11495, and https://github.com/ruffle-rs/ruffle/pull/11496, the level starts - but pressing Spacebar restarts the level immediately, instead of dropping a depth charge. There aren't any errors logged to the console when that happens.

Aaron1011 avatar Jun 12 '23 04:06 Aaron1011

I think this also needs ShaderFilter.

Lord-McSweeney avatar Jun 14 '23 17:06 Lord-McSweeney