Skip to content
Snippets Groups Projects
  1. Aug 17, 2017
  2. Aug 16, 2017
  3. Aug 10, 2017
  4. Jul 21, 2017
  5. Jun 30, 2017
  6. Apr 20, 2017
  7. Apr 19, 2017
  8. Apr 12, 2017
  9. Mar 23, 2017
  10. Mar 20, 2017
  11. Mar 03, 2017
    • Ray Schamp's avatar
      Implement drag and drop for sprites on the stage (#159) · 5647854d
      Ray Schamp authored
      * WIP: drag states in stage component
      
      * WIP: Hacky drag canvas
      
      * Update sprite position on drag
      
      Use VM to put sprite into drag state and update the sprite's position while dragging.
      
      Temporarily don't use the drawable data to drag a new canvas, this can happen whne we have somewhere to drag the sprite to.
      5647854d
  12. Jan 31, 2017
    • Ray Schamp's avatar
      Cache stage bounding box · 6385cb06
      Ray Schamp authored
      `getBoundingClientRect` forces WebKit to recalculate the layout ("force reflow"), so cache the canvas bounding box rather than getting it on every mouse event.
      6385cb06
  13. Jan 06, 2017
  14. Jan 04, 2017
  15. Dec 07, 2016
    • Ray Schamp's avatar
      Use CSS modules for styles · 16fbb64c
      Ray Schamp authored
      The inline css method gives us nothing that CSS modules can't give us. This puts the project more in line with the way www works, and makes CSS actually readable.
      
      Using class names gives us full control of the modal styles.
      16fbb64c
  16. Nov 17, 2016
  17. Nov 04, 2016
  18. Oct 22, 2016
  19. Oct 19, 2016
  20. Oct 17, 2016
  21. Oct 16, 2016
    • Ray Schamp's avatar
      Recoupling refactor · 716c979d
      Ray Schamp authored
      Confine the logic for adding/removing event listeners between the VM and the components to the relevant components.  While this tightens the coupling between the component and the environment, it makes using the individual components more self-contained.
      716c979d
  22. Oct 14, 2016
    • Ray Schamp's avatar
      Decoupling refactor · 51d5b7a9
      Ray Schamp authored
      Use fewer refs, these had weird behavior that caused the order of components to matter.
      Attach events eagerly, as soon as the necessary objects are available.
      Make VMManager an actual class instantiated with a VM so we don't have to pass it to every method.
      Use bindAll everywhere for convenience.
      51d5b7a9
  23. Oct 12, 2016
  24. Sep 28, 2016
  25. Sep 22, 2016
Loading