Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Party Information Panel #7877

Open
wants to merge 21 commits into
base: master
Choose a base branch
from

Conversation

DoinkOink
Copy link

image

Allows the player to toggle on/off a simple party info display on the top left hand side of the game screen. This display will show all connected players current health and mana. The option to toggle it on/off is found in the Gameplay settings underneath Show Mana Values

Allows the player to toggle on/off a party info display on the top left hand side of the game screen. This display will show all connected players current health and mana. The option to toggle it on/off is found in the Gameplay settings underneath Show Mana Values
@wkdgmr
Copy link
Contributor

wkdgmr commented Mar 23, 2025

This has potential for a native feature, but will probably end up as a lua mod as will most things in the future. I would like to see character portraits on the left with healthbar/name which can be toggled in and out of view, and then a character panel showing name/class/level etc. Good starting point for an idea though!

@DoinkOink
Copy link
Author

This has potential for a native feature, but will probably end up as a lua mod as will most things in the future.

Would you suggest that I keep from working on it until lua modding support is functioning in that case?

I would like to see character portraits on the left

Is there a way to scale a CLX sprite? I wasn't able to find a way to do so.

@kphoenix137
Copy link
Collaborator

This has potential for a native feature, but will probably end up as a lua mod as will most things in the future.

Would you suggest that I keep from working on it until lua modding support is functioning in that case?

I would like to see character portraits on the left

Is there a way to scale a CLX sprite? I wasn't able to find a way to do so.

We do it with the optional store item graphics

@DoinkOink
Copy link
Author

We do it with the optional store item graphics

Awesome, I'll have to take a look at that. Thank you for the reply!

DoinkOink and others added 19 commits March 25, 2025 22:24
Instead of generic class sprites being used for players on the party panel the players current character sprite is now being used.
Originally the party panel was being drawn before the cursor so if the player hovered over it the cursor would be behind.
This method functions similarly to the LoadPlrGFX but only ever retrieves the player_graphic::Stand sprite sheet. It also only ever loads the sprites if it changes based on the characters currently equipped items as to not constantly call LoadCl2Sheet
There was no way to draw a HalfTransparentRect with any color so I made an Override that accepts a color.
Also shifted the starting position of the panel if the automap is open so you can see game info.
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.

3 participants