I have another idea, concerning the use of colors. Many of you have probably thought of this already, but, here goes.... Maybe, we could have beds, made the same way, but the cover color changed depending on what sort of wool we used.
(ex. For a )
(ex. red bed.)
(Also, I'm not sure where this thread goes, I'm hoping the moderators will help me out if it's in the wrong spot...)
Rollback Post to RevisionRollBack
Why hello there! I sense that you are reading my signature! Unfortunately, I have nothing for you to click on! (Ahem, Grizwald, please.) I say, good day, gentlemen.
I don't do java, but with other codes you can put something like a % for the spacing so that The color of the bed will be % if the wool used is % color. Or something like that. Very dynamic, only probably takes 25ish lines of code more.
flow, you must have headdesked soo many times because of this thread so lemme make it clear:
DIFFERENT COULORED BEDS WOULD TAKE UP WAY TOO MUCH SPACE ON THE TERRAIN.PNG, OH AND THE WOOL IS A PERFECT EXAMPLE OF THIS, THERE MAY BE MANY DIFFERENT DAMAGE VALUES BUT THEY ALL USE DIFFERENTTEXTURES.
No you are wrong, you are talking about using the same method as biomes, I am talking about how wool has 12 different textures slots and how the textures are used. Using this method on beds would only use ONE ITEM ID rather than 12.
There's a problem with this as it will tint the whole bed and not only the sheets.
look optoco, coulered beds would 3 different things, a new seperate image,re-writing the texture code or grayscaling the whole bed so you have say a red sheet and red blanket. All 3 could be done, but the last would look terrible and the other 2 would take a few hours.
Now, I'm not really a programmer or anything, but shouldn't it be possible to make it so that the game could modify the color codes for specific colors in a texture?
Basically, the game would look for colors within a certain range (whites and grays, most likely) and then modify the color codes for only those colors in the texture. Since only certain color values are modified, you would be able to control what parts of the texture varies in color. The white sheets would become green or whatever other color, because the default color values for that part of the texture fall within the modifiable range, while the colors for the rest of the bed would fall outside that range and would thus be left alone.
Or would that entail a major graphics engine change or otherwise be too difficult or resource-intensive to be worth doing?
Even if Notch ignores the evidence (side-grass fix) that says multiple textures on a block are not only possible but work really well, it should be relatively easy to make the "bed" consist of two blocks; one for the frame and pillow, the other for the sheet.
There are a lot of ways that it could be done. The problem is none of the solutions can currently be done without changing how the game handles items, or resulting in horrible side effects.
Yes, the game could be programmed to have a single color that it identifies as the replacement color, which then draws itself based on a value. This is done in a lot of games, usually a light purple. However it isn't set up like this in Minecraft currently, and thus would have to be added in.
You can currently shade items, but it's an overall mask on the item, and would result in the whole item having a goofy looking shading.
You could add more textures, but the texture file has limited space, and adding more pages is messy and at best a temporary solution.
It can be done, but it's going to require Notch change some things to make it work well.
Multiple problems. Notch and Mojang haven't visites these forums for months. They probably forgot they exist. Also, each multi-colored wool takes a different damage value like you said, BUT each colored wool has its own place in Terrain.png. I get that you are thinking he can just add in more files like he did for Paintings, but that would cause him to have to REWRITE his ENTIRE code. This will cause modders to have to rewrite their entire code as well. He also can't just add more space to Terrain.png, as he will have to re-write his entire code still.
Rollback Post to RevisionRollBack
Official KillingToaster's () given: 1
If you earn one, you can not give it away.
What I'm getting from this thread is: Long story short, no.
It would be a cool concept but sounds like wayyy too much work that could be spent on much more productive updates, and I would much rather see gameplay type changes (Nether updates, new crafting recipes, etc) then multi-colored beds.
Even if Notch ignores the evidence (side-grass fix) that says multiple textures on a block are not only possible but work really well, it should be relatively easy to make the "bed" consist of two blocks; one for the frame and pillow, the other for the sheet.
No, no it doesn't.
It requires two blocks worth of space in the terrain.png.
Yes, the game could be programmed to have a single color that it identifies as the replacement color, which then draws itself based on a value. This is done in a lot of games, usually a light purple. However it isn't set up like this in Minecraft currently, and thus would have to be added in.
That's how compasses work. The texture has a magenta area which the game knows to draw the rotated watch face on at runtime.
I imagine a bed could work in the same way. The only difficulty would be in the fact that you can't just modify the global bed texture and assign it to all beds (because each bed could have a different colour).
Yeah, but that's done by modifying the UI itself, which is an overlay. That's a lot easier than modifying it to work similarly in the actual rendering engine.
YO DAWG I HEARD YOU LIIKE QUOTES SO I PUT A QUOTE IN YOUR QUOTE SO YOU CAN QUOTE WHILE YOU QUOTE!
OH NOES!
Might not sound like a big problem, but it will be once we run out of space in it.
Damn, we only have this one texture file to work with for the rest of time. Notch couldn't just make it bigger or break out certain items into other files like sign.png, boat.png and cart.png.
i think it should be done just like wool. many different textures are better, you can make each block have a different style. say i want my blue bed to have a fish on it, the red bed to have fire, and the yellow one to have a smily face. you cant do that with the "grass block method"
He could change the bed model so that the top of the bed consisted of two rectangles instead of just one. One for the pillow and one for the sheets. Then the sheets could be dynamically colored using a tinting effect.
The main problem with the side of grass is that the bottom of the grass isn't a flat line so having a specific model for it won't work like it would for the bed.
The only way to do it like how the wool blocks are currently done would be to move it's texture into another file. There just isn't space in the terrain.png for a pile of beds.
Rollback Post to RevisionRollBack
Tis far better to be a witty fool than a foolish wit.
Damn, we only have this one texture file to work with for the rest of time. Notch couldn't just make it bigger or break out certain items into other files like sign.png, boat.png and cart.png.
Sure he could, but why should he if he can just color them dynamically?
Because it would look approximately 274% better if the texture artist could choose patterns for each colour.
The same logic as Notch' desision to have so many different wool textures, even though by default they're the same texture with a different colour.
I feel sorry for you Flowzor, but I agree with you. Making multiple bed colors will require the texture pack to be reworked. The dyed wool takes up around 16 blocks in the texture.png... doing the same to the bed would require three times as many.
And if it is dynamic like biome... he would have to rework the texture code. If he does it, he'll probably fix the side grass as well. He (or Mojang in general) will probably get around to it sometime in the future.
(ex.
(ex.
(Also, I'm not sure where this thread goes, I'm hoping the moderators will help me out if it's in the wrong spot...)
Cube Craft, a simple pack by me!
DIFFERENT COULORED BEDS WOULD TAKE UP WAY TOO MUCH SPACE ON THE TERRAIN.PNG, OH AND THE WOOL IS A PERFECT EXAMPLE OF THIS, THERE MAY BE MANY DIFFERENT DAMAGE VALUES BUT THEY ALL USE DIFFERENTTEXTURES.
Cube Craft, a simple pack by me!
There's a problem with this as it will tint the whole bed and not only the sheets.
Pikachu by @apofiss.deviantart.com
oh and flow, np :smile.gif:
Cube Craft, a simple pack by me!
Basically, the game would look for colors within a certain range (whites and grays, most likely) and then modify the color codes for only those colors in the texture. Since only certain color values are modified, you would be able to control what parts of the texture varies in color. The white sheets would become green or whatever other color, because the default color values for that part of the texture fall within the modifiable range, while the colors for the rest of the bed would fall outside that range and would thus be left alone.
Or would that entail a major graphics engine change or otherwise be too difficult or resource-intensive to be worth doing?
Yes, the game could be programmed to have a single color that it identifies as the replacement color, which then draws itself based on a value. This is done in a lot of games, usually a light purple. However it isn't set up like this in Minecraft currently, and thus would have to be added in.
You can currently shade items, but it's an overall mask on the item, and would result in the whole item having a goofy looking shading.
You could add more textures, but the texture file has limited space, and adding more pages is messy and at best a temporary solution.
It can be done, but it's going to require Notch change some things to make it work well.
Official KillingToaster's (
If you earn one, you can not give it away.
It would be a cool concept but sounds like wayyy too much work that could be spent on much more productive updates, and I would much rather see gameplay type changes (Nether updates, new crafting recipes, etc) then multi-colored beds.
OH NOES!
Yeah, but that's done by modifying the UI itself, which is an overlay. That's a lot easier than modifying it to work similarly in the actual rendering engine.
Damn, we only have this one texture file to work with for the rest of time. Notch couldn't just make it bigger or break out certain items into other files like sign.png, boat.png and cart.png.
The main problem with the side of grass is that the bottom of the grass isn't a flat line so having a specific model for it won't work like it would for the bed.
The only way to do it like how the wool blocks are currently done would be to move it's texture into another file. There just isn't space in the terrain.png for a pile of beds.
Because it would look approximately 274% better if the texture artist could choose patterns for each colour.
The same logic as Notch' desision to have so many different wool textures, even though by default they're the same texture with a different colour.
And if it is dynamic like biome... he would have to rework the texture code. If he does it, he'll probably fix the side grass as well. He (or Mojang in general) will probably get around to it sometime in the future.