Commit graph

185 commits

Author SHA1 Message Date
trafficlunar
b395f9d00c fix: use fileName for the download file name in save image dialog 2024-12-28 21:47:19 +00:00
trafficlunar
6996c9a310 feat: part 2 of redesign of open image dialog 2024-12-28 21:46:52 +00:00
trafficlunar
a7e5dfd3d6 feat: set version dialog 2024-12-28 21:07:12 +00:00
trafficlunar
cf83d2fc7c fix: height issues in open image dialog 2024-12-28 20:35:13 +00:00
trafficlunar
25f519074a feat: part 1 of redesign of open image dialog 2024-12-28 20:21:35 +00:00
trafficlunar
c1ef155867 refactor: bunch of tool settings changes 2024-12-28 17:35:29 +00:00
trafficlunar
5804853395 fix: add air block and fix transparency on images 2024-12-28 16:57:50 +00:00
trafficlunar
5c856d55c4 fix: change aspect ratio calculations (again) 2024-12-28 16:34:22 +00:00
trafficlunar
602b9b201d fix: 1 pixel off in selected block component 2024-12-27 22:55:11 +00:00
trafficlunar
1721d08cf3 feat: blocks replacer 2024-12-27 22:52:01 +00:00
trafficlunar
0f3df546c2 feat: exporting to image 2024-12-27 22:15:07 +00:00
trafficlunar
19e0330c19 fix: exporting to .litematic errors 2024-12-27 22:10:45 +00:00
trafficlunar
d6473ba930 fix: change aspect ratio calculations in OpenImage dialog 2024-12-27 21:42:30 +00:00
trafficlunar
e4719200d3 fix: update data to 1.21.4 2024-12-27 21:42:30 +00:00
trafficlunar
a5bea3b585 fix: change colors based on which color scheme 2024-12-26 23:32:25 +00:00
trafficlunar
99bfd58c49 feat: toggle tool settings 2024-12-26 22:14:57 +00:00
trafficlunar
ab88691838 feat: color picker 2024-12-26 20:01:42 +00:00
trafficlunar
6ddcd1bbdf fix: findBlockFromRgb() 2024-12-26 20:00:35 +00:00
trafficlunar
abd869bf0a feat: eyedropper tool 2024-12-26 19:21:58 +00:00
trafficlunar
7803275267 feat: tool radius 2024-12-24 20:43:03 +00:00
trafficlunar
933b287f9a fix: use pixi stage for selected block component 2024-12-24 20:12:40 +00:00
trafficlunar
c9d1b8b44a feat: block selector 2024-12-24 20:12:25 +00:00
trafficlunar
78b762a361 refactor: move missing texture into context 2024-12-24 20:12:03 +00:00
trafficlunar
e862e5754b feat: rendering for block selector 2024-12-24 17:44:22 +00:00
trafficlunar
1acc50012f fix: fill on blockmatic text svg 2024-12-24 17:43:50 +00:00
trafficlunar
e3ae0de165 fix: broken selected block component 2024-12-24 17:41:43 +00:00
trafficlunar
bea25fc115 refactor: convert missing texture into a data url 2024-12-23 13:29:16 +00:00
trafficlunar
2772577a7b fix: make textures solid color at smaller scales 2024-12-23 13:19:27 +00:00
trafficlunar
ab3d36257e fix: add block properties 2024-12-22 21:18:09 +00:00
trafficlunar
41ab349e43 feat: add loading indicator 2024-12-22 21:17:43 +00:00
trafficlunar
efd32a830b fix: remove average_colors.json 2024-12-22 16:08:12 +00:00
trafficlunar
3e00029466 fix: saving as .litematic file includes properties 2024-12-21 23:42:55 +00:00
trafficlunar
5629a77a7e fix: cursor information show block name instead of texture name 2024-12-21 23:42:55 +00:00
trafficlunar
94e560a60d fix: update spritesheet and data 2024-12-21 16:54:07 +00:00
trafficlunar
09cdd58963 feat: github link in app top right corner 2024-12-20 23:29:46 +00:00
trafficlunar
b769978c90 chore: add shadcn-ui/scroll-area 2024-12-20 23:07:26 +00:00
trafficlunar
56111a99cb feat: set scale dialog 2024-12-20 23:06:54 +00:00
trafficlunar
1cd970367e fix: add cancel button to dialogs 2024-12-20 22:56:06 +00:00
trafficlunar
15e10334dc fix: infinity and NaN errors when no blocks are existant 2024-12-20 22:49:23 +00:00
trafficlunar
38bf1cd85c feat: clear all blocks button 2024-12-20 22:46:14 +00:00
trafficlunar
d37574b90f fix: add more properties to canvas context 2024-12-20 22:45:54 +00:00
trafficlunar
3019db6f06 fix: change height warning to 384 from 320 2024-12-20 22:15:28 +00:00
trafficlunar
560ca4e429 feat: exporting to .litematic
this took like 2 days

todo:
- fix other blocks
- block properties
2024-12-20 22:02:27 +00:00
trafficlunar
b8f55b401f refactor: move canvasSize and blocks to context 2024-12-20 22:01:03 +00:00
trafficlunar
afc53f48a2 feat: add selected block indicator 2024-12-18 21:22:26 +00:00
trafficlunar
a2f03bbaf0 feat: add tooltips to toolbar 2024-12-18 21:20:57 +00:00
trafficlunar
e7fd155c50 refactor: remove word Context from file names in context folder 2024-12-17 20:47:18 +00:00
trafficlunar
0321afa65f fix: reimplement view culling (5def8fb1) 2024-12-17 20:43:22 +00:00
trafficlunar
ec1afe39e4 fix: tiles limit 2024-12-17 20:42:31 +00:00
trafficlunar
f359555d1a fix: add .gif and .svg to dropzone accepted files 2024-12-17 19:17:54 +00:00
trafficlunar
61a1b4f148 fix: replace with tilemap 2024-12-17 19:17:13 +00:00
trafficlunar
c38307a127 fix: show missing texture on error 2024-12-15 14:31:32 +00:00
trafficlunar
5def8fb126 fix: view culling 2024-12-15 14:19:46 +00:00
trafficlunar
340271f14b fix: cursor being set wrong 2024-12-15 14:19:39 +00:00
trafficlunar
57064e71c7 feat: zoom tool 2024-12-15 13:46:28 +00:00
trafficlunar
ceb87c2088 refactor: move components into folders 2024-12-15 13:45:53 +00:00
trafficlunar
1dbb126b90 feat: keybinds to enable/toggle tools 2024-12-14 23:41:48 +00:00
trafficlunar
d9690eb619 fix: reimplement changing cursor based on tool 2024-12-14 23:41:34 +00:00
trafficlunar
2da5ba7af3 fix: replace blockmatic text with svg 2024-12-14 23:11:20 +00:00
trafficlunar
0a8c5f43d7 fix: make minimum zoom 10% from 25% 2024-12-14 23:00:45 +00:00
trafficlunar
bebf8aaba4 feat: open images 2024-12-14 22:57:50 +00:00
trafficlunar
98e6354a6e feat: design open image dialog 2024-12-14 22:38:22 +00:00
trafficlunar
370ec76c9b feat: add dialogs to menubar
can't put dialogs inside menubar components so we import each dialog
dynamically
2024-12-14 22:38:22 +00:00
trafficlunar
c4c7986a71 fix: center canvas on zoom slider change 2024-12-14 20:18:26 +00:00
trafficlunar
f89fe702e9 fix: zooming on canvas setting cursor to corner of block 2024-12-14 20:11:51 +00:00
trafficlunar
8fdf63724d feat: add homepage 2024-12-14 19:30:13 +00:00
trafficlunar
d7eee0d2ea feat: add canvas border setting 2024-12-13 22:45:01 +00:00
trafficlunar
30beead56c feat: add grid 2024-12-13 22:31:03 +00:00
trafficlunar
f2b3910432 refactor: split menubar into multiple components 2024-12-13 22:30:46 +00:00
trafficlunar
adae559d01 fix: reimplement zooming to mouse position 2024-12-13 17:10:50 +00:00
trafficlunar
c0df9e0816 feat: add canvas information component
shows canvas size, scale, and a slider to change the scale
2024-12-13 17:09:33 +00:00
trafficlunar
f0770860d9 fix: allow slider to be vertical 2024-12-13 17:07:55 +00:00
trafficlunar
03958b3262 chore: add shadcn-ui/slider component 2024-12-13 16:44:29 +00:00
trafficlunar
de06203d31 refactor: rewrite and organize project
still need to add other features from before rewrite
2024-12-12 22:38:53 +00:00
trafficlunar
63d81a45f2 fix: use spritesheets instead of loading every image individually 2024-12-07 16:45:04 +00:00
trafficlunar
a75ef6b09a feat: add default blocks on new project 2024-12-06 15:56:22 +00:00
trafficlunar
5ba53ac805 fix: add alpha channel
will probably make this toggleable due to differences in images
2024-12-06 15:50:11 +00:00
trafficlunar
b30ba187e9 chore: pixi.js rewrite 2024-12-06 15:45:58 +00:00
trafficlunar
f0445c208b feat: add toolbar 2024-12-05 21:17:46 +00:00
trafficlunar
c836c26a05 feat: add information of cursor into corner 2024-12-05 20:57:33 +00:00
trafficlunar
ecc5c1b6ea feat: add very slow image to blocks implementation 2024-12-04 20:35:50 +00:00
trafficlunar
f0b0f306e4 fix: preload all block images 2024-12-04 20:00:33 +00:00
trafficlunar
e1b3f3a091 feat: add cursor onto tiles 2024-12-04 18:26:03 +00:00
trafficlunar
98b901ca75 feat: add block tiles 2024-12-04 18:25:44 +00:00
trafficlunar
a536253511 feat: add dark and light mode 2024-12-03 20:26:14 +00:00