Skip to content

Components.fla and Hero's dynamicFriction #33

Open
@gsynuh

Description

@gsynuh

Charlie, on the forums,
(http://forum.starling-framework.org/topic/need-help-to-convert-ce2-game-to-new-engine-napestarlingce#post-21544)
reported that using Components.fla triggers a warning as Components have the dynamicFriction property... which obviously gets set with the setParams() function in CitrusObjects (or in ObjectMaker) ...
But dynamicFriction is not an available public var upon construction (at least that's what I feel the problem is) so the message :
"Warning: The parameter dynamicFriction does not exist on [object Hero]"
would always be traced when trying to set dynamicFriction through params. and specially when loading levels made from Components.fla .

(I'm not using the right terms nor I am explaining myself right, but surely when we try this["dynamicFriction"] = 10; in the parent of this class, then public function set dynamicFriction doesn't exist yet so the "super" is not aware of that property and throws an error right?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions