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

Better colors #15

Open
Ealrann opened this issue Jun 17, 2019 · 0 comments
Open

Better colors #15

Ealrann opened this issue Jun 17, 2019 · 0 comments

Comments

@Ealrann
Copy link
Owner

Ealrann commented Jun 17, 2019

VSand could have a better look with different colours.

For example, when the Fuel burn, an intermediate hidden material ("sparkle") is created to propagate the fire. This sparkle is dark red, but it doesn't look really convincing.

They can be tweaked in this file, by simply changing the R, G and B fields (red, green and blue):

<materials name="Void" runoff="60"/>
<materials name="Sand" density="5" runoff="1" r="244" g="244" b="67"/>
<materials name="Dirt" isStatic="true" density="5" runoff="1" r="72" g="38" b="4"/>
<materials name="Wall" isStatic="true" density="20" r="153" g="153" b="143"/>
<materials name="Concrete" density="4" runoff="12" r="94" g="94" b="85"/>
<materials name="Water" density="3" runoff="64" r="67" g="67" b="244"/>
<materials name="Vapor" density="-2" runoff="1" r="159" g="159" b="249"/>
<materials name="WetDirt" density="5" runoff="1" r="48" g="26" b="3" userFriendly="false"/>
<materials name="Grass" isStatic="true" density="1" r="11" g="193" b="11" userFriendly="false"/>
<materials name="Fire" density="-1" r="244" g="67" b="67"/>
<materials name="FireStatic" isStatic="true" r="244" g="38" b="38" userFriendly="false"/>
<materials name="FireFinal" isStatic="true" r="255" userFriendly="false"/>
<materials name="Plant" isStatic="true" density="15" r="67" g="244" b="67"/>
<materials name="Wax" isStatic="true" density="20" r="254" g="254" b="231"/>
<materials name="LiquidWax" density="2" runoff="3" r="231" g="254" b="254" userFriendly="false"/>
<materials name="BurningWax" isStatic="true" r="244" g="38" b="38" userFriendly="false"/>
<materials name="Lava" density="4" runoff="5" r="244" g="111" b="67"/>
<materials name="LavaBoiling" density="2" runoff="6" r="244" g="244" b="67" userFriendly="false"/>
<materials name="Fuel" density="1" runoff="30" r="212" g="158" b="59"/>
<materials name="Petrol" density="2" runoff="30" r="30" g="30" b="95"/>
<materials name="PetrolFire" density="1" runoff="30" r="50" g="15" b="106" userFriendly="false"/>
<materials name="Sparkle" r="185" g="50" b="65" userFriendly="false"/>
<materials name="HotWax" density="1" runoff="3" r="231" g="254" b="254" userFriendly="false"/>

After a change, simply run ./gradlew run to launch the game with your new colours.

Since I'm pretty bad with colours, I let this issue open and ask for help.

@Ealrann Ealrann added the help wanted Extra attention is needed label Jun 17, 2019
@Ealrann Ealrann removed the help wanted Extra attention is needed label Jan 26, 2020
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

No branches or pull requests

1 participant