Skip to content

feat: init pen support#294

Merged
NateXS merged 42 commits intomainfrom
pen-support
Oct 6, 2025
Merged

feat: init pen support#294
NateXS merged 42 commits intomainfrom
pen-support

Conversation

@gradylink
Copy link
Member

@gradylink gradylink commented Aug 25, 2025

This is pretty hard, because we need two entirely different implementations for 3DS and SDL2...

Note

Pen does not work on Switch and Vita and we have no idea why. If you know why it doesn't work, please tell us!

  • 3DS
    • Set up the texture and render target stuff
    • Render the pen canvas
    • Stamp
    • Pen down and other related blocks
    • make sure it works with the backdrop
    • Support multiple resolutions
    • Support transparency
  • SDL2
    • Set up the texture and render target stuff
    • Render the pen canvas
    • Stamp
    • Pen down and other related blocks
    • Fix positioning on resized windows
    • make it work with the backdrop
    • Support multiple resolutions
    • Support transparency
      • Fix blending issues (they were mostly fixed there are a few issues with it, but it's good enough for now.)
  • Process the pen options (done but partially broken.)

@gradylink
Copy link
Member Author

Progress Update:

Kooha-2025-08-29-17-57-24.webm

Stamp works, IDK how to fix the black blending artifacts though.

@MicroChelik123
Copy link

Are you still working on it, or have you already abandoned it?

@gradylink
Copy link
Member Author

Are you still working on it, or have you already abandoned it?

Just took a small break to work on ScratchBox, this is still going to be worked on.

@gradylink
Copy link
Member Author

Oh, we're gonna need to resolve this conflicts locally (so we can move them to the value.cpp file)

gradylink and others added 4 commits October 4, 2025 22:01
this also slightly fixes some of the blending issue
it's not perfect but it's good enough for now, it seems SDL3 might have some blending stuff that can help but we're sadly locked to SDL2 for now.
@gradylink gradylink marked this pull request as ready for review October 5, 2025 19:48
@gradylink gradylink changed the title [WIP] feat: init pen support feat: init pen support Oct 5, 2025
@gradylink gradylink requested a review from Dogo6647 October 5, 2025 19:48
gradylink and others added 2 commits October 5, 2025 19:42
this fixes pen rendering on all platforms except switch and vita, we have no idea why
@NateXS NateXS merged commit b0bd7e1 into main Oct 6, 2025
@gradylink gradylink deleted the pen-support branch October 7, 2025 00:26
@rttyg46305Unj
Copy link

yeah ok

@NateXS
Copy link
Member

NateXS commented Oct 16, 2025

yeah ok

???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants