59 Commits (671c2234e71760bf6cab3a0a9a151ff517cc2ad1)

Author SHA1 Message Date
  Bryan Miller 671c2234e7 CTRLBanksStore now has a getBankName() method which will return the name of the given bank if it's stored in the list, a getBank() method which will return the NESBank object under the given name (or null if no bank exists). Also has a new .keys property which is an array of all the current bank names in the store. 5 years ago
  Bryan Miller 447f65c033 CTRLBankTools now listens for the 'bank_remove_duplicates' event, which will call the NESBank .removeDuplicates().compact() 5 years ago
  Bryan Miller 7d9066da6c Added Tile 8x16 view in NESBank (some bugs remain) and added UI access. 5 years ago
  Bryan Miller aead6b8485 CTRLIO added functionality for exporting palette as 6502 assembly text. 5 years ago
  Bryan Miller 54b30b2ca6 Added .currentPalette and .currentPaletteName properties to CTRLPalettesStore 5 years ago
  Bryan Miller 20aab57e83 Updated drawing palette UI. 5 years ago
  Bryan Miller 1b5c724723 Added ui for NESBank tile view. 5 years ago
  Bryan Miller 24b5db84dd Some tweaks to the UI for creating new 'Store' items. 5 years ago
  Bryan Miller 00e5e8e850 Can now export CHR filesgit add .! 5 years ago
  Bryan Miller 82e30d22ba Added .currentBank and .currentBankName properties to CTRLBanksStore 5 years ago
  Bryan Miller 8922f21cf5 Loading of a project json file now works! 5 years ago
  Bryan Miller b56ccb7bcc Continue to attempt to integrate JSON schema validation for project loading process. Not yet working, but application will run. 5 years ago
  Bryan Miller 97c0a73619 Hidden File Input reset after loading a project. 5 years ago
  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. 5 years ago
  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. 5 years ago
  Bryan Miller d9ecac6506 Moved CTRLPalettesStore and CTRLBanksStore initialization from main to CTRLIO 5 years ago
  Bryan Miller d706e08883 Updated CTRLPalettesStore and CTRLBanksStore (and associative *ListItem.html files to use the new EditableText class. 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 1c0213ac24 Tweaks 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 c282d88cee Updated CTRLPainter and CTRLBanksStore to use the new Renderer system to draw surfaces to the 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 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 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 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 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 eb01231ff3 CTRLPalettesStore now property generates a palette list entry. 5 years ago
  Bryan Miller 8829fc3e13 Working on palette lists. 5 years ago
  Bryan Miller df1624a213 Create the CTRLPalettesStore which will handle the organization of project palettes both internally and visually. 5 years ago
  Bryan Miller 01d511f101 Preparing to handle some IO. Nothing really done yet. 5 years ago
  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 years ago
  Bryan Miller d100e56f28 Grid and Color palette toggle interfaces now working. Bug when drawing in a tile with a different palette. 5 years ago
  Bryan Miller e5916272ae Rewrote CTRLPainter LineToSurface() function. Lines should be MUCH better now. 5 years ago
  Bryan Miller 9513a05ada CTRLPainter now... paints! May be some issues with lines. 5 years ago
  Bryan Miller 329ff03e61 Fixed CTRLPainter scaling artifacts. Now renders grid. 5 years ago
  Bryan Miller 7999fa96f8 Much faster rendering. Scaling artifacts exist. 5 years ago
  Bryan Miller f5b3d77a03 CTRLPainter now has VERY rough scaling using mouse wheel 5 years ago