Pixelgrafik für Boden, Fels und Figuren
PixelStyle zeichnet jede Grafik Pixel für Pixel in ein kleines Bild, 16 mal 16 Pixel pro Kachel, und hebt es auf. Fels ist außen rund, innen geschlossen und zeigt zum offenen Boden hin seine Vorderkante; Figuren stehen aufrecht und haben vier Laufbilder. Warm bekommt als erster Stil seine Palette und acht Spielerfarben. Die Texturfilterung steht auf Nearest, damit die Pixel scharf bleiben. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,11 +1,46 @@
|
||||
class_name WarmStyle
|
||||
extends ArtStyle
|
||||
## Warm, full colours and dark outlines, close to the classic farming games.
|
||||
## Until it draws pixel art, it draws the placeholders of ArtStyle.
|
||||
extends PixelStyle
|
||||
## Warm, full colours and dark outlines around figures and things, close to
|
||||
## the classic farming games.
|
||||
|
||||
const KEY := &"warm"
|
||||
|
||||
|
||||
func _init() -> void:
|
||||
palette = {
|
||||
"outline": Color("3a2820"), "dust": Color("e9dcc6"),
|
||||
"ground": Color("b98a5e"), "ground_dark": Color("a07650"), "ground_light": Color("cba077"),
|
||||
"pebble": Color("8e8072"), "pebble_light": Color("b8ab9a"), "pebble_dark": Color("6b5f54"),
|
||||
"dead_crack": Color("8a6646"),
|
||||
"soft_top": Color("bcb0a0"), "soft_top_dark": Color("a69a8a"), "soft_top_light": Color("d6ccbd"),
|
||||
"soft_face": Color("8f8170"), "soft_face_dark": Color("776a5b"), "soft_lip": Color("e4dccf"),
|
||||
"hard_top": Color("7c88a2"), "hard_top_dark": Color("68738c"), "hard_top_light": Color("9aa6c0"),
|
||||
"hard_face": Color("596380"), "hard_face_dark": Color("454d66"), "hard_lip": Color("b6c2da"),
|
||||
"hard_glint": Color("dff4ff"),
|
||||
"bed_top": Color("51453e"), "bed_top_dark": Color("433832"), "bed_top_light": Color("62554c"),
|
||||
"bed_face": Color("382e29"), "bed_face_dark": Color("2b231f"), "bed_lip": Color("6e6157"),
|
||||
"grass": Color("64a83f"), "grass_dark": Color("4e8f33"), "grass_light": Color("8acb52"),
|
||||
"grass_edge": Color("3f7a2c"),
|
||||
"flower_a": Color("f7e25c"), "flower_b": Color("fbf6ea"), "flower_c": Color("ef7fa6"),
|
||||
"moss": Color("4e9a3a"), "moss_dark": Color("3b7b2e"), "moss_light": Color("7ec552"), "spore": Color("ffe57e"),
|
||||
"vine": Color("4f9439"), "vine_dark": Color("38702a"), "leaf": Color("68b545"), "leaf_dark": Color("4c8d35"),
|
||||
"stem": Color("5c9c3c"), "bud": Color("acd97a"), "fibre": Color("f8f3e6"), "fibre_shade": Color("dcd3c0"),
|
||||
"seed": Color("7b5433"),
|
||||
"stone": Color("a29a8f"), "stone_light": Color("c8c1b6"), "stone_dark": Color("7c756d"),
|
||||
"wool": Color("f5f0e6"), "wool_shade": Color("dbd2c2"), "wool_light": Color("ffffff"),
|
||||
"face": Color("4b3a31"), "hoof": Color("35281f"),
|
||||
"ruin": Color("aaa395"), "ruin_dark": Color("8a8376"), "ruin_light": Color("c6bfb2"),
|
||||
"ruin_moss": Color("5f9f43"), "door": Color("2b231f"), "glow": Color("ffd560"), "glow_light": Color("fff4c6"),
|
||||
"skin": Color("f4cba5"), "skin_shade": Color("dba67f"), "hair": Color("6e4128"), "hair_light": Color("8f5a37"),
|
||||
"eye": Color("2a1b15"), "pants": Color("4b5b8d"), "pants_dark": Color("3a4672"), "boots": Color("5b3a26"),
|
||||
"marker_near": Color("fff6c2"), "marker_far": Color("ff705c"),
|
||||
}
|
||||
players = [
|
||||
Color("d9573f"), Color("3f7fd1"), Color("e9b23c"), Color("4ea84a"),
|
||||
Color("9a62c9"), Color("39a9a0"), Color("e271a1"), Color("e8873b"),
|
||||
]
|
||||
|
||||
|
||||
func key() -> StringName:
|
||||
return KEY
|
||||
|
||||
|
||||
Reference in New Issue
Block a user