Log In  

Cart #veditor-6 | 2024-05-01 | Embed ▽ | License: CC4-BY-NC-SA
65


Cart #vgfx_demo-2 | 2024-04-16 | Embed ▽ | License: CC4-BY-NC-SA
65

First up:

This was a big project! if you want to help me out plz see my patreon or ko-fi <3

What:

  • Veditor is a vector graphics editor that lets you work on multiple, layered vector sprites
  • vgfx.lua is a script you can include in your own projects to display said vector sprites (and other things)

How:

  • To get Veditor: load #veditor and save a local copy.
  • There is an extensive help included! (press F1 or click the '?' icon)

  • To get vgfx.lua, select "Copy vgfx.lua to RAM" from the Veditor menu.

Why:

  • Vector graphics usually take up little space compared to bitmaps
  • Vector graphics don't degrade when scaled or rotated

Here's a video where I go over explanation/usage of the thing:

Huge thanks to folk in the discord for the feedback!


Changelog:

v1.01:

  • fixed bug where loading a .vgfx file with only one sprite crashed when trying to draw it
  • you can no longer switch tools whilst actively using one
  • you can no longer use major keyboard shortcuts (cut, delete, select all, etc) when actively using a tool

v1.02:

  • Added ".vgfx Files" help section to explain picotron file association added in v0.1.0g
P#146784 2024-04-16 19:16 ( Edited 2024-05-01 09:27)

2

Shoutout to the snappy friend in the snapping help page!

P#146789 2024-04-16 19:27
8

This is easily the most "native" feeling app I've used so far in Picotron and I can tell that a lot of effort was made to figure out how the underlying OS works.

P#146801 2024-04-16 22:50
1

great work, this is amazing!

P#146847 2024-04-17 22:28
1

am i stupid or is there no save button but otherwise this is awesome!

P#146921 2024-04-19 03:10

@sad_guy I think I saw something about it editing the ram cart, like built-in editors do - so you save by saving the cart in ram that you're editing.

P#146940 2024-04-19 10:32
1

@sad_guy @packbat The Save File option is in the triple-bar menu, just to the right of the Picotron icon in the top-left.

P#146954 2024-04-19 17:31
1

Brilliant work. I wanted to let you know I just bought Picotron simply to use this app. Killer app for me!

P#147017 2024-04-20 14:53
2

i absolutely love this i can be get a little confused though still this is very useful and very amazing!!

P#147023 2024-04-20 16:30 ( Edited 2024-04-20 16:30)
2

this is really cool! i'm experimenting with using this to render tracks in my lil racing prototype

i'm encountering an issue opening files in the editor, though. i go "open file" and navigate to my file, but double-clicking the file just says "file type not found" at the bottom of the screen. am i doing something wrong?

P#147152 2024-04-22 23:13
1

You're not doing anything wrong, as far as I can tell non-system editors can't use the open dialog yet. The app can only open 0.vgfx for now, though I think it can save other files.

Update: As of Picotron 0.1.0g, save/open dialogs just work!

P#147262 2024-04-24 17:42 ( Edited 2024-05-01 09:28)
1

ok thank you!

P#147264 2024-04-24 17:55
1

There's a way to sidesteps that limitation, but it's a bit cumbersome: if the cart responds to the "drop_items" event, you can load a file by drag-and-droping from the "open file" dialog, instead of double-clicking. However it will open the file in the current tab, not open a new one; also, it's not very intuitive, and annoying to remember to not double-click. (the "drop_items" handler need to send an "open_file" message to your own app, with the filepath to open, and the wrangle_working_file system will take care of the actual loading).

P#147265 2024-04-24 17:57 ( Edited 2024-04-24 18:05)
1

This is a fantastic tool! Excited to see what can be done in Picotron projects with it!

I tried using the grid snapping at the lowest resolution and noticed some odd artifacts. Not sure if this is fixable or not but wanted to bring it to your attention.

P#147348 2024-04-26 02:16 ( Edited 2024-04-26 02:17)
1

Thanks, that issue is with my triangulation function, and it can actually happen at any resolution. It should absolutely be fixable but I'd need to dive back into my ear clipping methods to figure out what I'm doing wrong and I don't really have the time rn.

It's awkward but you can often "fix" it by just pushing the points around a bit until whichever ones causing the issue are not aligned.

P#147708 2024-05-01 09:31

[Please log in to post a comment]