Jump to content
GreenSock

cory

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by cory

  1. Thanks! Yeah I remember those plastic puzzles (sometimes I would cheat and just pop out all the tiles, lol). I have a couple of edge cases to wrap up but I think it will work for my needs. Angular is definitely worth looking into if you have the time -- even if you don't have the time. It is a great framework.
  2. So I got collision detection to work. My x and y functions (app.js line 100) seem a little heavy. Do you see a better implementation? I take critque well so if I am absolutely insane please let me know. http://embed.plnkr.co/RAuHijIRFeP391V72yk8/preview
  3. Okay after some sips of yerba mate, I have this plunkr up: http://plnkr.co/edit/RAuHijIRFeP391V72yk8?p=preview I will have a go at making the grid an array on Monday. Thank you very much for your input and recommendations!
  4. Hello, I am very new to your api/code but definitely love it! Conceptually what is the best create a draggable div that snaps to a grid and can detect when it shares a cell with another div. Should I write validation a function in onThrowComplete (using the ThrowPropsPlugin)? Just looking for a little guidance.
×