Skip to main content
BlueRedcz
Participant
March 17, 2022
Question

Html5 abacus

  • March 17, 2022
  • 2 replies
  • 335 views

Hello. Any idea how to solve the abacus movement of balls in html5? It is the problem with dragging an arbitrary object, collisions, and avoiding other objects. 

U need to drag and drop the marbles on the line a move them to the boundary of abacus shape, but they have to push avay the rest of the marbles when they collide.

Thank you for any idea and help.

    This topic has been closed for replies.

    2 replies

    kglad
    Community Expert
    Community Expert
    March 17, 2022

    createjs has a hitTest that eliminates the need to do distance testing, EaselJS v1.0.0 API Documentation : EaselJS (createjs.com)

    BlueRedcz
    BlueRedczAuthor
    Participant
    March 17, 2022