Bryan Miller
|
4954ea9592
|
Added getRegion() and setRegion() to NESBank which will return color information within a defined region.
|
5 years ago |
Bryan Miller
|
181c1d09c8
|
Added the modal window for adding new Banks to the BankStore. NOTE: I'd like to update this method to something a little more universal.
|
5 years ago |
Bryan Miller
|
085e732488
|
CTRLPainter now listens for keyboard shortcuts 'ctrl+z' and 'ctrl+y' to undo and redo (respectively) any drawing on active surfaces.
|
5 years ago |
Bryan Miller
|
24146baf34
|
NESBank.snapshot() was not intended to remain debounced. Method .snapshot() will now clear redo history if any.
|
5 years ago |
Bryan Miller
|
1c0213ac24
|
Tweaks
|
5 years ago |
Bryan Miller
|
698cfa8bae
|
Fixed a bug in Input
|
5 years ago |
Bryan Miller
|
c4efdb74f0
|
ISurface and NESBank updated to handle undo/redo history. Fixed a base64 issue in NESBank.
|
5 years ago |
Bryan Miller
|
1d3024c167
|
Input updated to call the 'mouseup' event last, to remain consistant with all other events.
|
5 years ago |
Bryan Miller
|
3d446981c8
|
CTRLPainter can now accept null for surfaces and will render a cleared screen if surface is null.
|
5 years ago |
Bryan Miller
|
82069a3529
|
Renderer now has a clear() method for clearing the given context with the given color.
|
5 years ago |
Bryan Miller
|
c282d88cee
|
Updated CTRLPainter and CTRLBanksStore to use the new Renderer system to draw surfaces to the canvas.
|
5 years ago |
Bryan Miller
|
1939160fba
|
ui/Renderer created to render Surface objects to canvas.
|
5 years ago |
Bryan Miller
|
71cb5b3380
|
CTRLBanksStore properly renders thumbnail.
|
5 years ago |
Bryan Miller
|
9c6c78941e
|
Fixed issue with bank item list canvas not displaying.
|
5 years ago |
Bryan Miller
|
44c56a74ff
|
Added bankListItem and updated CTRLBanksStore to handle them. Issues with displaying canvas element in bankListItem. Currently renders to black.
|
5 years ago |
Bryan Miller
|
10172b3a19
|
Can now switch between the sprite and tile palettes
|
5 years ago |
Bryan Miller
|
b337184399
|
Palettes can now be added and removed.
|
5 years ago |
Bryan Miller
|
ad3a1a9ecd
|
Small bug fixes to Modal.
|
5 years ago |
Bryan Miller
|
2e9302f101
|
Input updated to allow a specific element to watch for mouse events in a more direct way than previously. CTRLPainter updated for the change to Input.
|
5 years ago |
Bryan Miller
|
d8b5c14856
|
Work being done to add new items to the asset lists (palette at the moment). Not fully working.
|
5 years ago |
Bryan Miller
|
3df24cc4de
|
Reverted last change to Input. Didn't work.
|
5 years ago |
Bryan Miller
|
305698599c
|
Input should no longer identify mouse as inbounds if target does not have focus.
|
5 years ago |
Bryan Miller
|
46ed0fddd4
|
CTRLPainter now handles scaling from the UI interface. Also added ability (and UI button) to fit-to-canvas
|
5 years ago |
Bryan Miller
|
73e6a359d5
|
Fixed interactions and cleaned code for CTRLBankTools
|
5 years ago |
Bryan Miller
|
32897e5750
|
Rough loading of CHR files into NESBank object via drag and drop into canvas.
|
5 years ago |
Bryan Miller
|
e0646ffc1f
|
Better Bank Tools :)
|
5 years ago |
Bryan Miller
|
2ebe99aa40
|
Lots of bug and general fixes.
|
5 years ago |
Bryan Miller
|
ba63481879
|
Added access_offset_length to NESBank for informational purposes (for UI use).
|
5 years ago |
Bryan Miller
|
c405bff7ff
|
Reworking the Bank UI controls to conform with the new Bank management.
|
5 years ago |
Bryan Miller
|
8835afd3ad
|
Bug fixes for NESBank
|
5 years ago |
Bryan Miller
|
6af93698ae
|
Huge rewrite to NESBank. Still some tweaking to be done
|
5 years ago |
Bryan Miller
|
e2900290c6
|
Starting a rewrite of the NESBank class to support 1k, 2k, 4k, and the normal 8k access.
|
5 years ago |
Bryan Miller
|
1e47e836dd
|
Just some minor work on file dropping.
|
5 years ago |
Bryan Miller
|
44a568a401
|
CTRLPainter will now update image when current palette color is changed.
|
5 years ago |
Bryan Miller
|
7ba0c5f533
|
Fixed some confusion in NESBank and CTRLBankTools dealing with palette and side of bank.
|
5 years ago |
Bryan Miller
|
3af57031cc
|
CTRLBankTools displays and manages tools specifically for NESBank surfaces.
|
5 years ago |
Bryan Miller
|
ecd4f4193d
|
CTRLPalettes now listens for a 'set_palette_mode' event to determine which set of four palettes to display.
|
5 years ago |
Bryan Miller
|
545329f804
|
NESBank will not emit 'data_changed' when the access mode has been changed.
|
5 years ago |
Bryan Miller
|
0d4808dbd4
|
Debounced the data_changed handler so as to not overload any listeners. Fixes sever slowdown in CTRLPainter.
|
5 years ago |
Bryan Miller
|
768cd68144
|
Created CTRLBanksStore and removed test code from main.js
|
5 years ago |
Bryan Miller
|
1249dd44a3
|
Fixed issue of mouse move event not checking if a surface is set first.
|
5 years ago |
Bryan Miller
|
e9b9f9eeff
|
NESBank can now import/export to a base64 string.
|
5 years ago |
Bryan Miller
|
5a6f971633
|
Setting up for Bank UI controls
|
5 years ago |
Bryan Miller
|
4c7c8839ec
|
Some HTML tweaking
|
5 years ago |
Bryan Miller
|
eb01231ff3
|
CTRLPalettesStore now property generates a palette list entry.
|
5 years ago |
Bryan Miller
|
8829fc3e13
|
Working on palette lists.
|
5 years ago |
Bryan Miller
|
d8ad32f0fe
|
Added SCSS NES color values and class definitions.
|
5 years ago |
Bryan Miller
|
2895e30803
|
Tweaking color scheme to be more easily changable
|
5 years ago |
Bryan Miller
|
38d0ce86b4
|
Some work on list items; specifically palette list items at the moment
|
5 years ago |
Bryan Miller
|
35b1cad2b8
|
Tabs working.
|
5 years ago |