drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
https://tabletopclub.net
MIT License
1.26k stars 51 forks source link

Use a handwriting notebook #218

Closed GrimPixel closed 1 year ago

GrimPixel commented 1 year ago

Is your feature request related to a problem? Please describe. The current notebook is not ideal for taking notes, such as recording scores.

Describe the solution you'd like When clicking on “Notebook”, a whiteboard appears and one can paint there. An image can be loaded, such as https://commons.wikimedia.org/wiki/File:Grille_de_Yams.pdf

drwhut commented 1 year ago

Is your feature request related to a problem? Please describe. The current notebook is not ideal for taking notes, such as recording scores.

Can you describe in more detail how the current notebook does not suit this need?

GrimPixel commented 1 year ago

Current one only supports plain texts, which takes much more effort to describe the scoring. Here is another example: https://catsatcards.com/CImages/pdf/BarbuScoreSheet.gif

drwhut commented 1 year ago

One idea that was given to me by a friend, which would avoid having to implement another "paint" feature (which I admittedly am reluctant to do, since a. this can already be done on the table, and b. it is complicated to do properly), as well as having text-based notes, is to have a page that functions like a PDF form, where given a background image, there are specific areas of the page that can be typed into.

With this in mind, there could be a new directory in asset pack folders for "templates", which can contain either text files or images, and when creating a new page in the notebook, the player can select from these templates.

If it's a text file that is chosen, the text is simply copied to the page, then the player can change the text. For images, the text boxes can be configured in the config.cfg file (with maybe things like width & height, default values, multiline on/off etc.).

Not only would this be simpler than having essentially a paint program within the notebook, but it should also be able to cover most if not all page-related items, such as scoring cards or character sheets.

Would like to hear other's thoughts on this though before it is implemented.

drwhut commented 1 year ago

One idea that was given to me by a friend, which would avoid having to implement another "paint" feature (which I admittedly am reluctant to do, since a. this can already be done on the table, and b. it is complicated to do properly), as well as having text-based notes, is to have a page that functions like a PDF form, where given a background image, there are specific areas of the page that can be typed into.

I've implemented this in f1bc73ff48cf4f5c9c33f876d19f2ff656d5e567, and it will be in v0.1.0 Beta 3 - I'm open to any feedback about the system to help make it as good as possible, or if it doesn't fit people's needs, then an alternative could be developed.