Bryan Miller
|
35b1cad2b8
|
Tabs working.
|
преди 5 години |
Bryan Miller
|
5045de7f90
|
Working on TABs. There's a bug in the event listener at the moment.
|
преди 5 години |
Bryan Miller
|
d7636c3923
|
Overflow and wrapping fixed. Started working on TAB navigation (unfinished)
|
преди 5 години |
Bryan Miller
|
df1624a213
|
Create the CTRLPalettesStore which will handle the organization of project palettes both internally and visually.
|
преди 5 години |
Bryan Miller
|
0b720d69d3
|
NESPalette updated to include a json parameter used for import and export.
|
преди 5 години |
Bryan Miller
|
0d9058b70a
|
Modified NESPalette to accept color indexes as two character hex strings.
|
преди 5 години |
Bryan Miller
|
01d511f101
|
Preparing to handle some IO. Nothing really done yet.
|
преди 5 години |
Bryan Miller
|
16df3f71d1
|
NESTile and ISurface are now event emitters. NESTile and by extension NESBank will emit 'data_changed' when there's a change to the data. CTRLPainter updated to utilize the new events.
|
преди 5 години |
Bryan Miller
|
454765bb39
|
Broke out the nespaint.scss into a number of sub-styles and renamed nespaint.scss to style.scss . Updated Server for these changes.
|
преди 5 години |
Bryan Miller
|
ca5551835b
|
Server will now hold the nespaint.css in memory instead of saving it to disk... Until I'm told this is a bad idea, lol
|
преди 5 години |
Bryan Miller
|
dda6f3032a
|
Switching from a pure css file to a dynamically generated sass -> css. Server will watch for sass file changes and update as needed. Path app/css/nespaint.css is now ignored as it's generated at start if missing.
|
преди 5 години |
Bryan Miller
|
b7957267eb
|
Fixed a bug in NESBank. Color Index values are now being stored in the correct location. Rendering palette colors now works correctly!
|
преди 5 години |
Bryan Miller
|
d100e56f28
|
Grid and Color palette toggle interfaces now working. Bug when drawing in a tile with a different palette.
|
преди 5 години |
Bryan Miller
|
1e6acff6f6
|
Some new interface elements added.
|
преди 5 години |
Bryan Miller
|
9d661281c3
|
Emitters now include the triggering element in the emitted event. Modal updated for the new element.
|
преди 5 години |
Bryan Miller
|
009617461f
|
Removed the now unused index.html
|
преди 5 години |
Bryan Miller
|
e5916272ae
|
Rewrote CTRLPainter LineToSurface() function. Lines should be MUCH better now.
|
преди 5 години |
Bryan Miller
|
6cabaf8a51
|
Server now uses environment variables to get port and SSL values. HTTPS is now an option. Small starter bash script included.
|
преди 5 години |
Bryan Miller
|
81c584643a
|
Added a simple footer as well as passing along author information.
|
преди 5 години |
Bryan Miller
|
6587f797f1
|
Server generates a version number based on package.json as well as the current git branch and hash value.
|
преди 5 години |
Bryan Miller
|
1ca6f05921
|
Renamed surface.html to workspace.html. Broke out the canvas, system palette, and drawing palettes from the workspace.
|
преди 5 години |
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.
|
преди 5 години |
Bryan Miller
|
71f9956c74
|
Created a very basic server using node. Included express and ejs as dependencies.
|
преди 5 години |
Bryan Miller
|
53393d8434
|
Switching over to NodeJS as a server host. Added an ISC license.
|
преди 5 години |
Bryan Miller
|
0f4b20a3b1
|
Minor testing code added to main.js
|
преди 5 години |
Bryan Miller
|
1623084afc
|
NESBank uses 'access_mode' to determine if sprites, background tiles, or both should be accessed given a coordinate.
|
преди 5 години |
Bryan Miller
|
b6a3f83b50
|
NESTile now has width and height as parameters.
|
преди 5 години |
Bryan Miller
|
9513a05ada
|
CTRLPainter now... paints! May be some issues with lines.
|
преди 5 години |
Bryan Miller
|
a801b4f90a
|
Small modification on mouse event triggering.
|
преди 5 години |
Bryan Miller
|
26352e888d
|
Added a range() method to Utils which will return an array containing values from a to b over a given step.
|
преди 5 години |
Bryan Miller
|
f598b53dfa
|
Added isMouseInBounds() and lastMousePosition() from Input.
|
преди 5 години |
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.
|
преди 5 години |
Bryan Miller
|
329ff03e61
|
Fixed CTRLPainter scaling artifacts. Now renders grid.
|
преди 5 години |
Bryan Miller
|
7999fa96f8
|
Much faster rendering. Scaling artifacts exist.
|
преди 5 години |
Bryan Miller
|
173a43348e
|
Added throttle() to Utils. Debounce() can now accept a scope as an optional argument.
|
преди 5 години |
Bryan Miller
|
6aa1185522
|
Input can now watch for 'wheelup' and 'wheeldown' for more fine grain event control.
|
преди 5 години |
Bryan Miller
|
f5b3d77a03
|
CTRLPainter now has VERY rough scaling using mouse wheel
|
преди 5 години |
Bryan Miller
|
76ed24239f
|
Input now handles 'mousewheel' and 'wheel' events.
|
преди 5 години |
Bryan Miller
|
aceb73ceb5
|
CTRLPainter now watches for offset with the combination shift+mouseleft+mousemove
|
преди 5 години |
Bryan Miller
|
d0c8dfcf62
|
Fixed mouse event name generations in Input.
|
преди 5 години |
Bryan Miller
|
9f77e89b3b
|
Some minor refactoring of CTRLPainter
|
преди 5 години |
Bryan Miller
|
b16632ef1d
|
CTRLPainter automatically resizes the context when initialized. Render tweaks.
|
преди 5 години |
Bryan Miller
|
842d93207f
|
Added [untested] code to combine kayboard and mouse events, to allow for keyboard+mouse event combos.
|
преди 5 години |
Bryan Miller
|
a6c7aad9de
|
Very rough ISurface object rendering now functional.
|
преди 5 години |
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)
|
преди 5 години |
Bryan Miller
|
c0d02bd0af
|
Another fix to NESBank.getColorIndex()... because, reasons.
|
преди 5 години |
Bryan Miller
|
8d46e8a75f
|
Fix to ISurface and NESBank .getColorIndex() method's return value.
|
преди 5 години |
Bryan Miller
|
20fa69bcc3
|
Added .getColorIndex() method to ISurface and extending classes.
|
преди 5 години |
Bryan Miller
|
e2e138c846
|
CTRLPainter initialization called. Slowly commenting out some test code.
|
преди 5 години |
Bryan Miller
|
fe3e65f054
|
CTRLPainter listens for color changes and surface changes. Still mostly doesn't do anything yet.
|
преди 5 години |