Commit graph

223 commits

Author SHA1 Message Date
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
6d598a6e99 chore: add nbtify 2024-12-20 22:03:44 +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
7dc53cd272 fix: add canvasBorder to default settings 2024-12-17 19:17:42 +00:00
trafficlunar
61a1b4f148 fix: replace with tilemap 2024-12-17 19:17:13 +00:00
trafficlunar
af4bb8e7f3 chore: add missing texture 2024-12-15 18:34:54 +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
8a3ccfc024 chore: add svgr plugin to vite config 2024-12-14 19:45:44 +00:00
trafficlunar
bd638f563b docs: change README.md 2024-12-14 19:45:25 +00:00
trafficlunar
1e57c7e4a7 chore: add AGPL-3.0 license 2024-12-14 19:45:13 +00:00
trafficlunar
8fdf63724d feat: add homepage 2024-12-14 19:30:13 +00:00
trafficlunar
123b1a82ac feat: add logo 2024-12-14 19:28:03 +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
025371bd79 style: change toolbar children sizing 2024-12-08 14:36:57 +00:00
trafficlunar
63d81a45f2 fix: use spritesheets instead of loading every image individually 2024-12-07 16:45:04 +00:00
trafficlunar
2670fbb1e8 fix: make zooming consistent at all scale levels 2024-12-07 16:06:27 +00:00
trafficlunar
2c960ebd84 fix: resize canvas on window resize 2024-12-07 16:03:27 +00:00
trafficlunar
3bc0032d4b fix: remove end_portal_frame_side.png 2024-12-06 16:23:17 +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