PDA

View Full Version : Sizing



The Hermit King
February 16th, 2024, 00:46
So i found out how to make a background (theme) but im having a little issue getting it right. what size graphic do i need to use? Also is there a way you can change the look of the buttons to the right side of the table top?

damned
February 16th, 2024, 01:04
You can almost NEVER use a pretty image as the BACKGROUND. The background uses TILING. Your image needs to be made to work with tiling. If you want to use a pretty image the best way is to use a DECAL. Decals display once and do not tile.

Look at sidebar_dock_entry and sidebar_dock_category in CoreRPG for details on those sidebar buttons.

LordEntrails
February 16th, 2024, 04:45
Think of the background being a 3x3 square of images. The middle one has to tile and fit/blend with the 4 images it borders. And those images have to tile vertically or horizontally to scale to different window sizes. Then the corner images have to blend with the 4 edge images...
And why do they have to tile? Because it not only has to work well on your screen, but on every player's screen at whatever resolution and scaling that person is using.

But, there is a whole toolkit you can look into for making themes; GMW Campaign Toolkit - A Theme Builder for Fantasy Grounds (https://www.fantasygrounds.com/forums/showthread.php?48071-GMW-Campaign-Toolkit-A-Theme-Builder-for-Fantasy-Grounds)
I'm not 100% sure it's working right now, but the thread has a ton of info on theme building.

Trenloe
February 16th, 2024, 17:01
...what size graphic do i need to use?
The issue is that everyone will have a different resolution they're using for the FG application - so there's not one size you can use. The background, as mentioned by others, using tiling so that it can fill the background no matter what the resolution. If you have a repeatable pattern, then that can work well for a background. If you have a single image you want on the background then, as mentioned by others, it's best to use a decal - but the size of this on screen will depend on the FG app resolution for each user.

Muagen
February 16th, 2024, 20:42
Here are some examples of decals I created for one of my games. I run a single large 16:9 screen, so these decals are sized for a resolution of 1920*1080, though you can create images tailored to your screen dimensions.

In order to ensure transparency, make sure you export to either .png or .webp filetypes, as you will otherwise encounter background fill that will likely completely ruin the mood. Additionally, you might want to consider the difference in file size between the larger .png and an indistinguishably similar quality webp image that is a much smaller file.

(all images AI generated and lightly edited by me)

Glassy Gobbo (https://cdn.discordapp.com/attachments/799379236980523061/1208152133413896212/Glassy_Gobbo.webp?ex=65e23e5a&is=65cfc95a&hm=8c4de0617e1ca10dfc1bc911d4832d3b1f3bfe494bfb414 9097184fa1b5adecb&)
Welcoming Party (https://cdn.discordapp.com/attachments/799379236980523061/1208152133996650526/Welcoming_Party.webp?ex=65e23e5b&is=65cfc95b&hm=1332b2973f44bd0d9a7492a19538fa2b0a71695d6a40847 a43752fe0748e1db2&)
Snazzadar
(https://cdn.discordapp.com/attachments/799379236980523061/1208152134516736141/Snazzadar_Wizard_of_RazzMaTazz.webp?ex=65e23e5b&is=65cfc95b&hm=418d1db6ee92de2db5ecb05ed68539391a766f554e5bbb3 22620f280bb1b7978&)

*editted to add hyperlinks, as image upload was non-funtional and attachments were not permitted*

The Hermit King
February 17th, 2024, 14:46
Cool thank you

The Hermit King
February 17th, 2024, 14:48
Ok so i managed the art of decals. i have a lot of them and im willing to share if anyone wants them. i have also made a number of themes i am willing to share those as well.

LordEntrails
February 17th, 2024, 15:20
You can get a Forge account and distribute them there as modules and extensions. Please just make sure you own the copyright for distributing any images they may include.