176 Commitit (44c56a74ff5bbab3c80d786baf05aa88d336c4dd)
 

Tekijä SHA1 Viesti Päivämäärä
  Bryan Miller 3cd7c1984b Added Utils.isInt() function. 5 vuotta sitten
  Bryan Miller 90ea91d3d3 Added array-like access to pixels. BROKEN atm. 5 vuotta sitten
  Bryan Miller 344ec3bda1 Bitwise access in NESTile should be fixed. *fingers crossed* 5 vuotta sitten
  Bryan Miller 33553b1667 Added NESTile model and tests in main. NESTile.flip() is not working ATM. 6 vuotta sitten
  Bryan Miller bfc9f740d7 Created a reference list of current emitted events and the data that comes with them. 6 vuotta sitten
  Bryan Miller 615d171c65 Added some mouse button code/name mapping in Input. 6 vuotta sitten
  Bryan Miller 95e479b81e NESPalette class now exported as default. Updated imports accordingly. 6 vuotta sitten
  Bryan Miller 3f1c0039b2 Trimming some commented out code 6 vuotta sitten
  Bryan Miller 4bec407e06 Minor fix 6 vuotta sitten
  Bryan Miller a6af0f9dd8 Properly preventing default mouse events (right-click). 6 vuotta sitten
  Bryan Miller b86d5b939b Fixed mouse event test for element bounds. Attempting to add 'preventDefault' events. 6 vuotta sitten
  Bryan Miller 3ab48bdeb6 Properly refactored variables. 6 vuotta sitten
  Bryan Miller fd9ec031e2 Added Input parameters to access mouse information. 6 vuotta sitten
  Bryan Miller 903b1cf2fa Renamed a couple of Input keyboard properties to be more explicit. 6 vuotta sitten
  Bryan Miller 7c3595bac9 Input class basic mouse events functional. Wheel not handled. 6 vuotta sitten
  Bryan Miller b94808b208 Added isElement(), which returns true if the given argument is an HTMLElement. 6 vuotta sitten
  Bryan Miller da3b49763a Added initial code for handling mouse. Nothing functional. 6 vuotta sitten
  Bryan Miller 862664c6be Input class used for Keyboard and (soon) mouse events and complex combinations. 6 vuotta sitten
  Bryan Miller b65ea61e31 CTRLPainter now resizes internal surface to match as close as possible the DOM canvas element size. 6 vuotta sitten
  Bryan Miller 6b15932ff0 Reorganized files. Adjusted imports to match new locations. 6 vuotta sitten
  Bryan Miller 7fe55cd661 CTRLPainter watching window resize. Using Debounce. 6 vuotta sitten
  Bryan Miller abe1cf8f84 Fixed the name of the Utils file. 6 vuotta sitten
  Bryan Miller 830f9b877e Added general Utils object. Debounce, in this case. 6 vuotta sitten
  Bryan Miller 055d98a185 Connected CTRLPainter to main. 6 vuotta sitten
  Bryan Miller 5590cd01ea Fixed broken code in CTRLPalette. Reworked a but of main 6 vuotta sitten
  Bryan Miller c3e3161bf2 Readded GlobalEvents to CTRLPalettes HA! 6 vuotta sitten
  Bryan Miller fdd555bf8c Moved NESPainter to CTRLPainter. Just a rename at the moment. 6 vuotta sitten
  Bryan Miller 8430fcbd6f Removed GlobalEvents import from CTRLPalettes. Wasn't needed. 6 vuotta sitten
  Bryan Miller ebb2e53977 CTRLPalettes now sets and shows the individual drawing palettes. 6 vuotta sitten
  Bryan Miller 5c66e788f0 Fixed an emitted event name in NESPalette 6 vuotta sitten
  Bryan Miller 61e5c8ca84 Added some interface code for working with the drawing palettes. Still WIP. 6 vuotta sitten
  Bryan Miller 59d5722192 Fixed a small bug in NESPalette 6 vuotta sitten
  Bryan Miller ee9875c712 Some more interface buildout 6 vuotta sitten
  Bryan Miller 41ebf58447 CTRLPalettes now color button text black or white for better contrast 6 vuotta sitten
  Bryan Miller 6b62d11723 Building out the Controller system for integrating the HTML with the NESPalette class. 6 vuotta sitten
  Bryan Miller 87429d3b5c Adding some HTML/CSS for the NES System Palette. 6 vuotta sitten
  Bryan Miller 89ac4f642b Playing around with some 'dark mode' colors. 6 vuotta sitten
  Bryan Miller 5284af0dd5 Put app title in top bar. Added a little random color effect to the 'Paint' title. 6 vuotta sitten
  Bryan Miller 72a47fab3c Now using handler's 'this' instead of event.target... Bubbling works now. 6 vuotta sitten
  Bryan Miller 4bd8ea3e11 Trying to build out application interface and integrate listener interactions. 6 vuotta sitten
  Bryan Miller 57a782e971 Completely misunderstood built in Javascript event listeners. EventWindow Removed. EventCaller now exports an instance of itself by default, but classes can still etend from the EventCaller class itself. 6 vuotta sitten
  Bryan Miller 6f1599e29f Modal functions. 6 vuotta sitten
  Bryan Miller 859ef65079 No longer 'freezing' the instance. 6 vuotta sitten
  Bryan Miller 4d0ebf35a2 Preping for Modal 6 vuotta sitten
  Bryan Miller 7eb56e2374 Added tests for EvenWindow's emit attribute ability. 6 vuotta sitten
  Bryan Miller b43a4ef296 EventCaller can now test if a clicked DOM element has an 'emit' and 'emit-args' attribute and process an event emit accordingly. 6 vuotta sitten
  Bryan Miller 6919de7f05 Fixed bug that didn't test listener type. 6 vuotta sitten
  Bryan Miller cc2464cb77 Tweaks to Modal methods. Modal will now listen for a 'modal-open' and 'modal-close' event. 6 vuotta sitten
  Bryan Miller a1263f4b99 Initial work on a Modal popup UI. 6 vuotta sitten
  Bryan Miller 38bf95034b EventWindow is no longer restricted to window object events only. 6 vuotta sitten