Fix boss bars scaling issue with non 16x texture packs #2767
No reviewers
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
feature request
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#2767
Loading…
Reference in New Issue
No description provided.
Delete Branch "talamh/MineClone2:bossbars_fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes the bossbar scaling issue. Boss bars textures in screenshot were scaled to 5x normal size and worked fine.
You are a legend for doing all this work.
As there do not seem to be any available publicly, someone who actually has a non 16px texture pack test these from now please.
All I can say it does not appear to break the default textures.
And no before a certain someone posts a link to mtg texture packs: those do not help here. We need mcl2 specific textures as mtg does not have any bossbars
I mean another option for your texture packs not to get messed up is to not include the textures that do get messed up like bossbars ...
I have tested it out, and it seems like there is some weird stretching issue going on with the bossbars for some weird reason.
In any case, this is much better than the oversized bossbars that would go outside of the screen.
Do your mcl_bossbars.png and mcl_bossbars_empty.png images have the same dimensions?
Also they must have the aspect ratio 70:182 same as the originals.
No, they do not, but this is an issue on the texture pack's end, and not mine.
After all, they were designed with MineCraft in mind, which uses a different method of displaying a lot of GUI elements.
But after using a different texture pack's bossbars, which DO use the 70:182 dimensions, it seems to all look fine, except for the corners being weird, but that is something that I can live with.
What is the name of the texture pack that is causing the issue?
Just Faithful (Complaince) 32X Original, found here: https://faithfulpack.net/faithful32x/latest
The problem with the bossbars is that they are slimmer in this texture pack, which causes scaling issues.
I'd made a typo in the rescaling, a set of parenthesis got lost somewhere along the way. All works as intended now:
if it's in the same branch it should automatically update ... this commit made it anyways:
07e419905b
Yes that's the commit, thanks.
This is going to seem a bit off-topic, but I have noticed in your screenshots that the grass block shadows have not been changed at all to fit with the texture packs that you use.
In case you were wondering, the MineCraft equivalent to mcl_dirt_grass_shadow.png is supposed to be grass_block_side.png
I do apologise, if you kept the Pixel Perfection shadows on purpose.
Good spot noticing I'd not converted that texture. My converter has a debug feature that colorizes textures that have been converted, makes it easy to spot most unconverted textures but not that one:
It also prints a list of any MineClone 2 textures that are not modified so I was aware of it just have not gotten around to it yet. Shouldn't be too hard to spot 3 other textures yet to be converted from that screenshot!
Well this still doesn't break default textures ^^ I assume it actually works from what has been said ...