124 Commits (6cabaf8a5106c4ca1f0d94b9840d8f3b8d6f89c5)
 

Autor SHA1 Nachricht Datum
  Bryan Miller 6cabaf8a51 Server now uses environment variables to get port and SSL values. HTTPS is now an option. Small starter bash script included. vor 6 Jahren
  Bryan Miller 81c584643a Added a simple footer as well as passing along author information. vor 6 Jahren
  Bryan Miller 6587f797f1 Server generates a version number based on package.json as well as the current git branch and hash value. vor 6 Jahren
  Bryan Miller 1ca6f05921 Renamed surface.html to workspace.html. Broke out the canvas, system palette, and drawing palettes from the workspace. vor 6 Jahren
  Bryan Miller ad0b29b0dc Server now uses ejs to serve the index html. Broke the original index.html file into ejs file located in the /views folder. vor 6 Jahren
  Bryan Miller 71f9956c74 Created a very basic server using node. Included express and ejs as dependencies. vor 6 Jahren
  Bryan Miller 53393d8434 Switching over to NodeJS as a server host. Added an ISC license. vor 6 Jahren
  Bryan Miller 0f4b20a3b1 Minor testing code added to main.js vor 6 Jahren
  Bryan Miller 1623084afc NESBank uses 'access_mode' to determine if sprites, background tiles, or both should be accessed given a coordinate. vor 6 Jahren
  Bryan Miller b6a3f83b50 NESTile now has width and height as parameters. vor 6 Jahren
  Bryan Miller 9513a05ada CTRLPainter now... paints! May be some issues with lines. vor 6 Jahren
  Bryan Miller a801b4f90a Small modification on mouse event triggering. vor 6 Jahren
  Bryan Miller 26352e888d Added a range() method to Utils which will return an array containing values from a to b over a given step. vor 6 Jahren
  Bryan Miller f598b53dfa Added isMouseInBounds() and lastMousePosition() from Input. vor 6 Jahren
  Bryan Miller 6167e610f1 Input mouse event data now includes the 'isCombo' parameter which will be true if the mouse event is part of a combo. vor 6 Jahren
  Bryan Miller 329ff03e61 Fixed CTRLPainter scaling artifacts. Now renders grid. vor 6 Jahren
  Bryan Miller 7999fa96f8 Much faster rendering. Scaling artifacts exist. vor 6 Jahren
  Bryan Miller 173a43348e Added throttle() to Utils. Debounce() can now accept a scope as an optional argument. vor 6 Jahren
  Bryan Miller 6aa1185522 Input can now watch for 'wheelup' and 'wheeldown' for more fine grain event control. vor 6 Jahren
  Bryan Miller f5b3d77a03 CTRLPainter now has VERY rough scaling using mouse wheel vor 6 Jahren
  Bryan Miller 76ed24239f Input now handles 'mousewheel' and 'wheel' events. vor 6 Jahren
  Bryan Miller aceb73ceb5 CTRLPainter now watches for offset with the combination shift+mouseleft+mousemove vor 6 Jahren
  Bryan Miller d0c8dfcf62 Fixed mouse event name generations in Input. vor 6 Jahren
  Bryan Miller 9f77e89b3b Some minor refactoring of CTRLPainter vor 6 Jahren
  Bryan Miller b16632ef1d CTRLPainter automatically resizes the context when initialized. Render tweaks. vor 6 Jahren
  Bryan Miller 842d93207f Added [untested] code to combine kayboard and mouse events, to allow for keyboard+mouse event combos. vor 6 Jahren
  Bryan Miller a6c7aad9de Very rough ISurface object rendering now functional. vor 6 Jahren
  Bryan Miller 958450729e NESPalette now has a static .Default[] array containing a system-wide palette. This is now used by NESBank instead of __default_pi (which is also removed from ISurface) vor 6 Jahren
  Bryan Miller c0d02bd0af Another fix to NESBank.getColorIndex()... because, reasons. vor 6 Jahren
  Bryan Miller 8d46e8a75f Fix to ISurface and NESBank .getColorIndex() method's return value. vor 6 Jahren
  Bryan Miller 20fa69bcc3 Added .getColorIndex() method to ISurface and extending classes. vor 6 Jahren
  Bryan Miller e2e138c846 CTRLPainter initialization called. Slowly commenting out some test code. vor 6 Jahren
  Bryan Miller fe3e65f054 CTRLPainter listens for color changes and surface changes. Still mostly doesn't do anything yet. vor 6 Jahren
  Bryan Miller 432fc157ad CTRLPalettes now emits a global 'active_palette_color' event when a palette color button is clicked. vor 6 Jahren
  Bryan Miller 4f7d9d494e Forgot to add last commit. vor 6 Jahren
  Bryan Miller 82e88847df Renamed the ISurface file. NESBank now extends ISurface. vor 6 Jahren
  Bryan Miller 180f5753db Added an interface class for Surface object... like NESBank will become. vor 6 Jahren
  Bryan Miller 102001bc71 Some silly test code added to main.js vor 6 Jahren
  Bryan Miller 77ffaf9449 Added several tile, color index, and color access modes to NESBank. vor 6 Jahren
  Bryan Miller d1b017f8ee Added a little code to main.js vor 6 Jahren
  Bryan Miller 57f2c716d9 Created the NESBank class, which handles multiple NESTiles and exports to full NES .chr format. vor 6 Jahren
  Bryan Miller dc3397b4e8 Small tweak to NESTile.copy() and NESTile.clone() vor 6 Jahren
  Bryan Miller 8d57f47874 NESTile .copy() will copy the data from a given NESTile to the current one. vor 6 Jahren
  Bryan Miller d27d41b8e3 NESTile should now store pixel data in proper NES .chr format automatically. Some code cleanup as well. vor 6 Jahren
  Bryan Miller 1b8eedede4 NESTile base64 value now includes paletteIndex value. vor 6 Jahren
  Bryan Miller c800dd5a18 NESTile no longer needs a palette. That job is moving to the upcoming NESBank. vor 6 Jahren
  Bryan Miller 657988781c Slight enhancement of the NESTile.isEq() method. vor 6 Jahren
  Bryan Miller 451edac454 NESTile now uses the Utils.isInt() function. vor 6 Jahren
  Bryan Miller 3cd7c1984b Added Utils.isInt() function. vor 6 Jahren
  Bryan Miller 90ea91d3d3 Added array-like access to pixels. BROKEN atm. vor 6 Jahren