|
Post by differentialgiraffe on Jul 7, 2024 18:45:24 GMT
For some reason, my character paints the palm tree blue while walking on it. Is there another way to colour sprites?
|
|
mas
Endorian Forest
![*](//storage.proboards.com/forum/images/stars/star.png) ![*](//storage.proboards.com/forum/images/stars/star.png)
Posts: 60
|
Post by mas on Jul 8, 2024 9:33:46 GMT
One of the things I've noticed with MPAGD is that using SPRITEINK will overwrite the attributes of Emptyblocks; the way I usually get around it is not not use SPRITEINK but instead have EMPTYBLOCKS have the ink colour I want the sprites to be. It isn't the best, but it does avoid the re-colouring effect.
Alternatively, you may be able to use a CUSTOMBLOCK as an EMPTYBLOCK (providing you're not using CUSTOMBLOCKS elsewhere) as these are usually unaffected by SPRITEINK being set.
Hope that helps
|
|
|
Post by differentialgiraffe on Jul 8, 2024 11:52:43 GMT
One of the things I've noticed with MPAGD is that using SPRITEINK will overwrite the attributes of Emptyblocks; the way I usually get around it is not not use SPRITEINK but instead have EMPTYBLOCKS have the ink colour I want the sprites to be. It isn't the best, but it does avoid the re-colouring effect. Alternatively, you may be able to use a CUSTOMBLOCK as an EMPTYBLOCK (providing you're not using CUSTOMBLOCKS elsewhere) as these are usually unaffected by SPRITEINK being set. Hope that helps CUSTOMBLOCKS are used for springs, not just for background elements or EMPTYBLOCKS. Many games use other CUSTOMBLOCK functionalities. I made a fully-functional spring, and I tested it. However, when I still walk on EMPTYBLOCKs, it still becomes blue.
|
|
mas
Endorian Forest
![*](//storage.proboards.com/forum/images/stars/star.png) ![*](//storage.proboards.com/forum/images/stars/star.png)
Posts: 60
|
Post by mas on Jul 9, 2024 9:14:37 GMT
I think this is definitely a SPRITEINK issue. If you just let your player sprite take the attribues of whatever is behind them, then the problem should / would go away; but then you are stuck with the EMPTYBLOCK backgrounds determining the sprite colour.
I think this is why a lot of games have fairly plain backgrounds or go for monochrome sprites.
I think (unless someone has a fix for this) you're limited to setting the ink colour on your EMPTYBLOCKs that you use for the background to be the colour for your sprites, or changing your background so the sprite and background can't interact / recolour
|
|
|
Post by differentialgiraffe on Jul 10, 2024 12:43:46 GMT
I think this is definitely a SPRITEINK issue. If you just let your player sprite take the attribues of whatever is behind them, then the problem should / would go away; but then you are stuck with the EMPTYBLOCK backgrounds determining the sprite colour. I think this is why a lot of games have fairly plain backgrounds or go for monochrome sprites. I think (unless someone has a fix for this) you're limited to setting the ink colour on your EMPTYBLOCKs that you use for the background to be the colour for your sprites, or changing your background so the sprite and background can't interact / recolour I think games like DUCKSTROMA also did a trick up their sleeves, and that game avoided colour clash.
|
|