Skip to content

Flixel code does not work with sample projects other than Dragon #21

@npinsker

Description

@npinsker

To reproduce:

  • Open 'Ubbie-Mesh' or 'Sheep' projects in DragonBones
  • Export them to the samples/HelloDragonBones/Assets/ folder and call the project 'dragonboy_flixel'
  • cd samples/HelloDragonBones
  • lime test html5 (with Flixel installed)

In the case of Ubbie-Mesh, the program renders nothing and immediately crashes, with stack trace:

TypeError: Cannot read property 'texture' of null
    at dragonBones_flixel_FlixelSlot._updateFrame (HelloDragonBones.js:19685)
    at dragonBones_flixel_FlixelSlot._updateDisplay (HelloDragonBones.js:7697)
    at dragonBones_flixel_FlixelSlot._update (HelloDragonBones.js:7788)
    at dragonBones_Armature.advanceTime (HelloDragonBones.js:5822)
    at dragonBones_flixel_FlixelFactory.buildArmatureFlixel (HelloDragonBones.js:19455)
    at dragonBones_flixel_FlixelFactory.buildArmatureDisplay (HelloDragonBones.js:19431)
    at FlixelRender.create (HelloDragonBones.js:4314)
    [...]

In the case of Sheep, the program runs, but the render output is very malformed:

image

The OpenFL and Starling renderers behave correctly on both files. I tried exporting the sample Dragon project myself as well, and it works correctly.

I'm on flixel 4.7.0 / openfl 8.9.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions