Thread: Image rotation?
-
April 14th, 2026, 20:42 #11
List of Extensions with Image Manipulation
Fantasy Grounds Unity (FGU) extensions that utilize image manipulation through the FGU API, particularly functions like setRotation, setBitmap, setAnchor, and the Widget API.
- Decked Out: Created by Saagael, this extension uses tokens as card images and manages face-down states by toggling visibility between face and back widgets. It also includes functional innovations like "flip" and "peek" mechanics and enlarged hover images for legibility.
- Carried Combatants: These combined extensions feature a Synchronized Movement & Rotation system. When a "carrier" token (like a vehicle) is rotated using setRotation, the extension programmatically calculates and updates the orientation and position of all "carried" tokens to match.
- FG-5E-Enhancer: This extremely complex, OUTDATED utility uses bitmap widgets to add dynamic graphical data to tokens. It manipulates images to display horizontal health bars, blood splatters, and "blood pools" that appear under tokens upon death. It also uses text widgets for altitude tracking.
- Natural Selection: This extension handles spatial arbitration when tokens are stacked on the same grid space. It uses a pop-up window (built with a genericcontrol) to show token icons and allows users to manipulate Z-order to bring a specific token to the top of the stack.
- Aura Effects: Managed by Bmos, this extension renders complex geometric shapes like oriented 3D rectangles (3drect). These overlays use an orientation parameter to synchronize the aura’s rotation with the source token or to represent directional effects like breath weapons.
- Generic Actions: This extension utilizes the ImageLayer API to place graphics, such as arrows or area-of-effect templates, directly onto map layers.
EDIT: LINKS ARE ADDED.Last edited by Tempered7; April 14th, 2026 at 22:03.
I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
LIST OF ALL FREE FGU STUFF
//Design with Systems, not Custom Solutions!
-
April 14th, 2026, 20:45 #12
Thanks for that! I'll let you know how it goes
DISCORD / EXTENSIONS:
Combat: Crit Dmg Options, Effect FX, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
Puzzles: Cryptex, Volvelle, Word Key
-
April 14th, 2026, 20:54 #13
-double post-
I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
LIST OF ALL FREE FGU STUFF
//Design with Systems, not Custom Solutions!
-
April 14th, 2026, 20:56 #14I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
LIST OF ALL FREE FGU STUFF
//Design with Systems, not Custom Solutions!
-
April 15th, 2026, 13:17 #15
Last edited by jkeller; April 15th, 2026 at 13:20.
DISCORD / EXTENSIONS:
Combat: Crit Dmg Options, Effect FX, Enlarge/Reduce, Flavorful Names, Hidden Death Saves, Lingering Injuries (PL), Major Injuries (DK), Special Dmg FX, Summoner, Weapon Dmg Props
Skills: Crits & Fumbles, Fail Forward, Toolkit Actions
DM Tools: DB Search, Dynamic Pricing, Party Info, Redacted Table Fields
Just For Fun: Achievement Tracker, Boar Riding, Dragon Cards, Drink & Sink, Fishing Fun, Seven Seas, Tarot, Turtle Race
Puzzles: Cryptex, Volvelle, Word Key
-
April 15th, 2026, 16:15 #16
I took a quick look at the code and while widget does expose a LUA function "setRotation", it is only used by the text widget. If I recall correctly, John added that to rotate the text on the character sheet tabs. Historically, the tabs used different images for each tab. It may only support rotation in 90-degree increments, but I didn't dig far enough to verify. Rotating the text widget does rotate the frame of the widget. You could, theoretically draw the cards with frames. I'm definitely not an expert on rulesets or extensions. I can look at the scripts registered to the API, but I'm not familiar with their actual usage.
-
April 15th, 2026, 18:54 #17
I think the AI picked it up from very old documents and combined it as a whole [as an answer to how do you rotate images].
setOrientation and setOrientationMode under tokeninstance is there, but I couldnt find setRotation in the wiki/pdf I have [network problems prevent me from entering it right now].I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
LIST OF ALL FREE FGU STUFF
//Design with Systems, not Custom Solutions!
-
April 15th, 2026, 19:06 #18
I found where the AI gone wrong: setRotation is a Unity function, not FGU function except what carl said.
https://docs.unity3d.com/6000.0/Docu...tRotation.html
setOrientation under tokeninstance does a similar thing I guess.
function setOrientation(orientation)
Sets the orientation, i.e. rotation state, of the token.
Parameters
orientation (number)
The desired new rotation valueLast edited by Tempered7; April 15th, 2026 at 19:11.
I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
LIST OF ALL FREE FGU STUFF
//Design with Systems, not Custom Solutions!
-
April 15th, 2026, 19:13 #19
LLMs are not a very good match for documenting the FG API. The "accuracy" of an LLM is directly proportional to the amount input data and there is not enough data for the LLM to be reasonably predictive. Lacking enough data it will hallucinate results based on other APIs. However, setRotation is a registered LUA API function of the base widget class and does rotate text widgets.
setRotation.jpg
-
April 15th, 2026, 19:15 #20
Unfortunately yes, Carl. At least its a start point though.
EDIT: Oh, maybe it can be used as a text rotation over cards?
While Im at it, I checked all the other functions in the Summary, and they are all there. Z-Order is under many topics. Only setRotation is not in the wiki.
But I have no idea if those can actually be used for the same thing such as cards as token, etc.I scribble Solo RPG methods and reviews for Resources in my All Things Solo blog.
Now with Solo Builds for DnD 5E. And All Solo Modules for FGU WIP.
LIST OF ALL FREE FGU STUFF
//Design with Systems, not Custom Solutions!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)

Reply With Quote


Bookmarks