Skip to content

level #1

@G3z

Description

@G3z

i created this simple scene. but i can't get collisions in LevelMain to work.
what am i doing wrong ?

ig.module(
    'game.scenes.mainScene'
)
.requires(
    'impact.entity',
    'game.entities.ent1',
    'game.entities.en2',
    'game.levels.main',
    'plugins.scene_manager'

)
.defines(function(){
    MainScene = Scene.extend({
        init: function( title ) {
            this.parent();

            this.clearColor = '#126';

            ig.input.bind(ig.KEY.MOUSE1,'eat');

            this.loadLevel(LevelMain);
        }
    });

});

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