Skip to content

bug of pong #150

@imbbctoo

Description

@imbbctoo

i find pong cannot work today.
after resreaching i think there is a sth wrong with listenOnce. you know in the code of pong, a listenonce was added on this.world. i didn't do anything with the code but when it shows click to begin, i click it but nothing happend, the game cannot begin. but if i add goog.events.listen(this.world, ['touchstart', 'mousedown'], this.start, false, this) before listenonce, it works. can you tell me whether there is sth wrong with closure or sth wrong with limejs?

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