-
Notifications
You must be signed in to change notification settings - Fork 92
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
Update color system and sheep coloring #445
base: main
Are you sure you want to change the base?
Conversation
Seems incomplete, I don’t think we have all the wool colors shown. |
The coloring system has not been not discussed with a valid result (thread: https://discordapp.com/channels/280723930942013440/1083334895763456072). I need a decision about what colors should be implemented. |
Maybe add dyeable beds and other color related items |
Should we add dying in clothing, more than the current ones? There are several ways we could accomplish this:
With plans on dyeable clothing, the possible number of colors could be greatly greater (the exact numbers are still being calculated) than 16 (hard-coded) colored clothes. Range: R(16~FE=233) G(1D~FF=227) B(16~FE=233); ideal theoretical possible results: 12,323,603.
For subtractive algorithms, the source is: https://stackoverflow.com/a/1351485. |
The clothing update will move to another pull request, so this pull request is now ready. |
This should really be added to the changelog. |
# Conflicts: # src/client/java/minicraft/item/ClothingItem.java # src/client/java/minicraft/item/Recipe.java # src/client/java/minicraft/item/Recipes.java # src/client/java/minicraft/item/StackableItem.java # src/client/java/minicraft/level/tile/FlowerTile.java # src/client/java/minicraft/level/tile/Tiles.java # src/client/java/minicraft/saveload/Load.java # src/client/java/minicraft/saveload/Save.java
This pull request should now be ready. I am not sure if we should implement dyeable glasses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please revert the bed style to previous for the item icon, it’s too blocky and doesn’t match the game. Then let players test it, when all is good I’ll merge it.
Looks like something weird is going on with the line endings. Perhaps check if they are commited as LF? |
It is no longer used.
# Conflicts: # src/client/java/minicraft/level/tile/WoolTile.java
Flower item tile model unmatched Flower loading old worlds not resolved, fallen back to daisy by default
Can you fix the sprites to match the current sprites and no please artistic style changes. |
The wool textures are fine, besides that I will not merge this until you follow the rules of design. |
Rules of design? Are you also talking about that 6 pixels of difference among color variants? |
No, I’m asking you to follow the rules of the design of textures, currently you been messing with it. This WILL NOT be merged until you follow those rules. Do what I asked, in a real game company you would be in trouble to mess with the artwork that doesn’t match the aesthetic. |
I see, it is my first time to hear of the term "rules of design" of textures here. |
Yes, it’s called college insight |
To match the original shape of the beds, I have added headboard, for both item and entity texture. As there is an addition of headboard, I have to incline the item texture so as to maintain the number of color variant pixels. Also, I have made the entity texture to match with the shape of item texture. |
Not quite what I asked for but it’s definitely an improvement. I’ll leave it at that, I’ll be testing out the PR now. |
Fix the conflict and I’ll test it more EDIT: nvm it’s was self-explanatory fix |
Change `* 16` to `<< 4`
This depends on #437 due to a fix of stackable item interaction on entities
The current color system is pretty lack in customization and content, so this pull request complements and updates these parts.
string * 3 -> white wool * 1
When we have biomes supported, different biomes can have different ranges of flower variants generated.
(Discord thread: https://discordapp.com/channels/280723930942013440/1083334895763456072)