Skip to content

Remove dependency on Flash #25

@zommerfelds

Description

@zommerfelds

I'm trying to use box2d in my Heaps.io project, compiled for HashLink. The compilation fails because of the usage of flash.display.Sprite in B2DebugDraw.

Since I probably don't need debug draw I was wondering if we can wrap this code around a compile flag (using #if swf or maybe a custom debug_draw flag).

I'm pretty new to Haxe, but since this seems like an easy PR I could look into it if you like the idea.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions