Bryan Miller
|
8922f21cf5
|
Loading of a project json file now works!
|
vor 5 Jahren |
Bryan Miller
|
b56ccb7bcc
|
Continue to attempt to integrate JSON schema validation for project loading process. Not yet working, but application will run.
|
vor 5 Jahren |
Bryan Miller
|
97c0a73619
|
Hidden File Input reset after loading a project.
|
vor 5 Jahren |
Bryan Miller
|
5e5343920c
|
Project can now be exported to a json file. Loading of project json file technically works, but doesn't actually put the loaded json into the data objects... effectively no loading ATM.
|
vor 5 Jahren |
Bryan Miller
|
efbeb123db
|
CTRLBanksStore, CTRLPalettesStore, and NESPalette now have an .obj property which returns a java object of the class's underlying data in a form that can be turned into a JSON. Each class's .json property has been modified to use the new .obj property.
|
vor 5 Jahren |
Bryan Miller
|
d9ecac6506
|
Moved CTRLPalettesStore and CTRLBanksStore initialization from main to CTRLIO
|
vor 5 Jahren |
Bryan Miller
|
d706e08883
|
Updated CTRLPalettesStore and CTRLBanksStore (and associative *ListItem.html files to use the new EditableText class.
|
vor 5 Jahren |
Bryan Miller
|
085e732488
|
CTRLPainter now listens for keyboard shortcuts 'ctrl+z' and 'ctrl+y' to undo and redo (respectively) any drawing on active surfaces.
|
vor 5 Jahren |
Bryan Miller
|
1c0213ac24
|
Tweaks
|
vor 5 Jahren |
Bryan Miller
|
3d446981c8
|
CTRLPainter can now accept null for surfaces and will render a cleared screen if surface is null.
|
vor 5 Jahren |
Bryan Miller
|
c282d88cee
|
Updated CTRLPainter and CTRLBanksStore to use the new Renderer system to draw surfaces to the canvas.
|
vor 5 Jahren |
Bryan Miller
|
71cb5b3380
|
CTRLBanksStore properly renders thumbnail.
|
vor 5 Jahren |
Bryan Miller
|
9c6c78941e
|
Fixed issue with bank item list canvas not displaying.
|
vor 5 Jahren |
Bryan Miller
|
44c56a74ff
|
Added bankListItem and updated CTRLBanksStore to handle them. Issues with displaying canvas element in bankListItem. Currently renders to black.
|
vor 5 Jahren |
Bryan Miller
|
10172b3a19
|
Can now switch between the sprite and tile palettes
|
vor 5 Jahren |
Bryan Miller
|
b337184399
|
Palettes can now be added and removed.
|
vor 5 Jahren |
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.
|
vor 5 Jahren |
Bryan Miller
|
d8b5c14856
|
Work being done to add new items to the asset lists (palette at the moment). Not fully working.
|
vor 5 Jahren |
Bryan Miller
|
46ed0fddd4
|
CTRLPainter now handles scaling from the UI interface. Also added ability (and UI button) to fit-to-canvas
|
vor 5 Jahren |
Bryan Miller
|
73e6a359d5
|
Fixed interactions and cleaned code for CTRLBankTools
|
vor 5 Jahren |
Bryan Miller
|
32897e5750
|
Rough loading of CHR files into NESBank object via drag and drop into canvas.
|
vor 5 Jahren |
Bryan Miller
|
e0646ffc1f
|
Better Bank Tools :)
|
vor 5 Jahren |
Bryan Miller
|
1e47e836dd
|
Just some minor work on file dropping.
|
vor 5 Jahren |
Bryan Miller
|
44a568a401
|
CTRLPainter will now update image when current palette color is changed.
|
vor 5 Jahren |
Bryan Miller
|
7ba0c5f533
|
Fixed some confusion in NESBank and CTRLBankTools dealing with palette and side of bank.
|
vor 5 Jahren |
Bryan Miller
|
3af57031cc
|
CTRLBankTools displays and manages tools specifically for NESBank surfaces.
|
vor 5 Jahren |
Bryan Miller
|
ecd4f4193d
|
CTRLPalettes now listens for a 'set_palette_mode' event to determine which set of four palettes to display.
|
vor 5 Jahren |
Bryan Miller
|
768cd68144
|
Created CTRLBanksStore and removed test code from main.js
|
vor 5 Jahren |
Bryan Miller
|
1249dd44a3
|
Fixed issue of mouse move event not checking if a surface is set first.
|
vor 5 Jahren |
Bryan Miller
|
eb01231ff3
|
CTRLPalettesStore now property generates a palette list entry.
|
vor 5 Jahren |
Bryan Miller
|
8829fc3e13
|
Working on palette lists.
|
vor 5 Jahren |
Bryan Miller
|
df1624a213
|
Create the CTRLPalettesStore which will handle the organization of project palettes both internally and visually.
|
vor 5 Jahren |
Bryan Miller
|
01d511f101
|
Preparing to handle some IO. Nothing really done yet.
|
vor 5 Jahren |
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.
|
vor 5 Jahren |
Bryan Miller
|
d100e56f28
|
Grid and Color palette toggle interfaces now working. Bug when drawing in a tile with a different palette.
|
vor 5 Jahren |
Bryan Miller
|
e5916272ae
|
Rewrote CTRLPainter LineToSurface() function. Lines should be MUCH better now.
|
vor 5 Jahren |
Bryan Miller
|
9513a05ada
|
CTRLPainter now... paints! May be some issues with lines.
|
vor 5 Jahren |
Bryan Miller
|
329ff03e61
|
Fixed CTRLPainter scaling artifacts. Now renders grid.
|
vor 5 Jahren |
Bryan Miller
|
7999fa96f8
|
Much faster rendering. Scaling artifacts exist.
|
vor 5 Jahren |
Bryan Miller
|
f5b3d77a03
|
CTRLPainter now has VERY rough scaling using mouse wheel
|
vor 5 Jahren |
Bryan Miller
|
aceb73ceb5
|
CTRLPainter now watches for offset with the combination shift+mouseleft+mousemove
|
vor 5 Jahren |
Bryan Miller
|
9f77e89b3b
|
Some minor refactoring of CTRLPainter
|
vor 5 Jahren |
Bryan Miller
|
b16632ef1d
|
CTRLPainter automatically resizes the context when initialized. Render tweaks.
|
vor 5 Jahren |
Bryan Miller
|
a6c7aad9de
|
Very rough ISurface object rendering now functional.
|
vor 5 Jahren |
Bryan Miller
|
fe3e65f054
|
CTRLPainter listens for color changes and surface changes. Still mostly doesn't do anything yet.
|
vor 5 Jahren |
Bryan Miller
|
432fc157ad
|
CTRLPalettes now emits a global 'active_palette_color' event when a palette color button is clicked.
|
vor 5 Jahren |
Bryan Miller
|
95e479b81e
|
NESPalette class now exported as default. Updated imports accordingly.
|
vor 6 Jahren |
Bryan Miller
|
b65ea61e31
|
CTRLPainter now resizes internal surface to match as close as possible the DOM canvas element size.
|
vor 6 Jahren |
Bryan Miller
|
6b15932ff0
|
Reorganized files. Adjusted imports to match new locations.
|
vor 6 Jahren |