Skip to content

Segmentation fault using documentation example #15

@almilo

Description

@almilo

After fixing the example code in 'https://github.com/joshmarinacci/aminogfx' ('group' renamed as 'root'), I get a 'Segmentation fault' error after the 'starting the event loop' console log. The offending command seems to be 'rect.x.anim().to(100).start();'.
(Environment: RPI II, Raspian Wheezy and Node v0.12.6)

var amino = require('aminogfx-gl');

amino.start(function(core, stage) {
var root = new amino.Group();
stage.setRoot(root);

 var rect = new amino.Rect().w(100).h(100).fill('#ff0000');
 root.add(rect);

 rect.x.anim().to(100).start();     // Segmentation fault

});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions