From e370a4698f160ba82691f8534aad826b8632853a Mon Sep 17 00:00:00 2001 From: Fisch Date: Mon, 4 Nov 2024 19:55:13 +0100 Subject: [PATCH] add car color change based on player --- scenes/car.tscn | 14 +++++++++---- scenes/game.tscn | 35 -------------------------------- scripts/car_node.gd | 2 ++ scripts/game.gd | 9 ++++---- scripts/gamestate.gd | 5 +++++ sprites/car.xcf | Bin 0 -> 23647 bytes sprites/car01.png | Bin 0 -> 4564 bytes sprites/car_body.png | Bin 0 -> 2881 bytes sprites/car_body.png.import | 34 +++++++++++++++++++++++++++++++ sprites/car_features.png | Bin 0 -> 2131 bytes sprites/car_features.png.import | 34 +++++++++++++++++++++++++++++++ 11 files changed, 89 insertions(+), 44 deletions(-) create mode 100644 sprites/car.xcf create mode 100644 sprites/car01.png create mode 100644 sprites/car_body.png create mode 100644 sprites/car_body.png.import create mode 100644 sprites/car_features.png create mode 100644 sprites/car_features.png.import diff --git a/scenes/car.tscn b/scenes/car.tscn index 359c9d0..6b89f76 100644 --- a/scenes/car.tscn +++ b/scenes/car.tscn @@ -1,8 +1,9 @@ -[gd_scene load_steps=5 format=3 uid="uid://0g7qqh7naniv"] +[gd_scene load_steps=6 format=3 uid="uid://0g7qqh7naniv"] [ext_resource type="Script" path="res://scripts/car_node.gd" id="1_0tin3"] [ext_resource type="Script" path="res://scripts/car.gd" id="1_i5tet"] -[ext_resource type="Texture2D" uid="uid://c2wq5xkfmca1r" path="res://sprites/car.png" id="2_48rvw"] +[ext_resource type="Texture2D" uid="uid://mqdujngircok" path="res://sprites/car_features.png" id="3_ts6mm"] +[ext_resource type="Texture2D" uid="uid://e5aeyl47wi8p" path="res://sprites/car_body.png" id="4_lps13"] [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_bj1hp"] radius = 8.0 @@ -14,10 +15,15 @@ script = ExtResource("1_0tin3") [node name="Car" type="CharacterBody2D" parent="."] script = ExtResource("1_i5tet") -[node name="Sprite2D" type="Sprite2D" parent="Car"] +[node name="sprite_features" type="Sprite2D" parent="Car"] z_index = 10 scale = Vector2(0.5, 0.5) -texture = ExtResource("2_48rvw") +texture = ExtResource("3_ts6mm") + +[node name="sprite_body" type="Sprite2D" parent="Car"] +z_index = 10 +scale = Vector2(0.5, 0.5) +texture = ExtResource("4_lps13") [node name="CollisionShape2D" type="CollisionShape2D" parent="Car"] rotation = -1.57079 diff --git a/scenes/game.tscn b/scenes/game.tscn index 7c30e91..341d834 100644 --- a/scenes/game.tscn +++ b/scenes/game.tscn @@ -14,41 +14,6 @@ offset_top = 213.0 offset_right = -68.0 offset_bottom = 258.0 theme_override_font_sizes/font_size = 32 -text = "125" vertical_alignment = 1 [node name="cars" type="Node" parent="."] - -[node name="minPos" type="Label" parent="."] -z_index = 7 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -20.0 -offset_top = -11.5 -offset_right = 20.0 -offset_bottom = 11.5 -grow_horizontal = 2 -grow_vertical = 2 -text = "Min" -horizontal_alignment = 1 -vertical_alignment = 1 - -[node name="maxPos" type="Label" parent="."] -z_index = 7 -anchors_preset = 8 -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -offset_left = -20.0 -offset_top = -11.5 -offset_right = 20.0 -offset_bottom = 11.5 -grow_horizontal = 2 -grow_vertical = 2 -text = "Max" -horizontal_alignment = 1 -vertical_alignment = 1 diff --git a/scripts/car_node.gd b/scripts/car_node.gd index f2de8a5..394e33f 100644 --- a/scripts/car_node.gd +++ b/scripts/car_node.gd @@ -1,5 +1,6 @@ extends Node2D @onready var car: CharacterBody2D = $Car +@onready var carbody: Sprite2D = $Car/sprite_body func getSpeed() -> float: @@ -14,3 +15,4 @@ func setPosition(p:Vector2): func setPlayerinformation(playerid, playercolor): car.playerid=playerid #TODO set playercolor + carbody.modulate = playercolor#Color(0, 0, 1) diff --git a/scripts/game.gd b/scripts/game.gd index 8f964b6..559f295 100644 --- a/scripts/game.gd +++ b/scripts/game.gd @@ -16,11 +16,12 @@ var zoomspeed_backup=0.05 # Called when the node enters the scene tree for the first time. func _ready() -> void: var i=0 - for playerkey in Gamestate.getPlayerkeys(): #create all players + #for playerkey in Gamestate.getPlayerkeys(): #create all players + for player in Gamestate.getPlayers(): var newcarscene=load("res://scenes/car.tscn") var newcarinstance=newcarscene.instantiate() cars.add_child(newcarinstance) - newcarinstance.setPlayerinformation(i,0) + newcarinstance.setPlayerinformation(i,player.color) newcarinstance.setPosition(Vector2(0,i*caroffset)) i+=1 @@ -83,9 +84,7 @@ func _process(delta: float) -> void: if camera.zoom.x<1.0: camera.zoom+=Vector2(zoomspeed_backup*delta,zoomspeed_backup*delta) - $minPos.position=minPos - $maxPos.position=maxPos - $Camera2D/speedlabel.text=str(carSpread) + #$Camera2D/speedlabel.text=str(carSpread) #$Camera2D/speedlabel.text=str(round(maxCarSpeed)) diff --git a/scripts/gamestate.gd b/scripts/gamestate.gd index af3ab14..7795d2c 100644 --- a/scripts/gamestate.gd +++ b/scripts/gamestate.gd @@ -16,12 +16,17 @@ func addPlayer(key:int): func removeAllPlayers(): players=[] + func getPlayerkeys() -> Array[int]: var playerkeys: Array[int] = [] for player in players: playerkeys.append(player.inputkey) return playerkeys + +func getPlayers() -> Array[Player]: + return players + class Player: var inputkey:int var color:Color diff --git a/sprites/car.xcf b/sprites/car.xcf new file mode 100644 index 0000000000000000000000000000000000000000..05877aeeca9b9a4748d9ab9f724b9beff1ee8e72 GIT binary patch literal 23647 zcmeHP2Ygf4)qn5F6Jx+(nPDt>B6-PE%a(_%;k|7wYYz_%V?2nlg^5XkFp@wL(zIz- z6GGCJ)qH7Io7u0WNlB9?0Sb7tH%&0u`p%W)))25QsqNSPeq8(N&U4Rw_uYHW(LMg# z*l2DcuhSaH9rWa63_=b>I?6zJ6k-TO9EXpE5CihwyBdWeF>NdTO+}YUHKo%C1l%tjfj;@VnwNam7Y;Dw`I@J58 ztJk*OZPJt1T1|~Q>YUXEqtHMop$Wev+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|Nean0GfQ* zAAtej;lqcB$K&Yi?1bYu&~+WfVzJD{Mn*=|VvZa+A{@s7=Ny`*;pow$Xm4+aWm(D^ z5>N>=Ap|uwH3}FxzvDP?T^FwF!Zb|?Auus9u|#iU}mXhOS zvsoIC$2nsRmSrIxkMsKadaC)6@~0txzLse)pU`qzO#SOH30ohGC={v!;LrWRdHjYA-lOt{{53T-;rjLK=cz!H zCIgSG&DSa`S#GsTR8yeRf6G}u_>K?)bh(%6>gtwtu|H+am6Z86?`jqH4CS2T?c29- z9H(r5RvYNwOukw#TJ1B-JzMF%sz(2I&XES|09lKtQYqDDt`t>&)`CClLH;2{h2Bbf)uk~FTM8$C&MTW=-?(fjnYQ1VD>{=9G34pbFjRdW% z5CVY7$w~I)$rDUYPI{$MNj>auUDr|x2CKpU+G|zz&ZcU2Lww}Ke0$DMJN=)?Ck8C zw?VK93@YdE_9`_)nx-jbYHMp(1#+eB5N!4R*OlskB?wA}IFU%;^5x57wH=|q!3k!Q za5${UlI7ZAzh$fSA#xl^*HvnVbzMh)f4^#nv)L?$hK9bk!<5o8>$h5^GcV45bTr>8MIJd8DxqM`yRN`j>5$&)8hC=@^`6+=Tq z3WVO?UKoamBNF)*|jLhEltyK{`~o64@NA@`rQX3ysN8= z)YsQz^XARSWHP9$tK*%WovS_=DHIBro124WS+H#zH*VY@8%JXshoc+E}cg9ov&u<*;j5Bk55-~E}~ fhHS`&{N3_DS#7(}?x<~T00000NkvXXu0mjfKOj(B literal 0 HcmV?d00001 diff --git a/sprites/car_body.png.import b/sprites/car_body.png.import new file mode 100644 index 0000000..599836f --- /dev/null +++ b/sprites/car_body.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://e5aeyl47wi8p" +path="res://.godot/imported/car_body.png-f9c20cebf3cba852ae8dc4138d118e5d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/car_body.png" +dest_files=["res://.godot/imported/car_body.png-f9c20cebf3cba852ae8dc4138d118e5d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/sprites/car_features.png b/sprites/car_features.png new file mode 100644 index 0000000000000000000000000000000000000000..7a05d61903dbe8514c8f94f9eae927a6551df164 GIT binary patch literal 2131 zcmV-Z2(0&sP)EX>4Tx04R}tkv&MmKpe$i(@I4vf_9MNkfG{g7Zq_VRV;#q(pG5I!Q|2}Xws0R zxHt-~1qVMCs}3&Cx;nTDg5U>;vxAeOirkx9)H2Z_aE2g@DIN`^{2LmXCAjq-)8 z%L?Z$&T6H`TKD8H4CJ+yG}md4B90{_kc0>sHIz|-g$S)0DJD|1AM4@|IsPQMWO9|k z$gzMbR7j2={11M2YZj)b+@wGZ=y|d2k1@c%3pDGt{e5iP%@e@;3|wh#f3*S3eUe^p zYvChca2vR|Zfo)$aJd7FJn51lIg*#AP$&TJXY@@uVE7j3TXTDB?c?+T$WT|yH^9Lm zFkYnW^)B!3?d_CX>@2HM@dakSAh-}000ImNklO{@!bUltRF~p{Tu|lK*BIsSCyP)J*2O|dGZj%%NqcoP58Fj7k%m4h- z!g}}^_48$ihCfriP}($Ksv4vebEVaxG*%(8MSM`iCSZloof`%aQ2^8j+MPCnqmwr% zBtw+TCAL(@a2GE9+cHpn)*oy?^nsC#&sxhcqZI09bPM zh*zw7B7uT*=U@z2RV<1vKps+F`Q7QBQQx#{4_i7BNr?3A>C^Wl;nb;96QxpV+I!FJ z?Cic{$BxaciGatScvkZ)<N+uCfjam^H$r;w(cJM-gpUvHoK+BfvGpL>Gg;Sq)k z!~EjZDe{|j-umrN?m714xWLO|oXI?*!!G zb`S&?JgR}|^K|l@q%y>UYX1ok zfPexbLYk$BnEq!#u8z64FZB)r2EkBUYSLJ4-*K!|Oo*%@N-V)BM&orTfdDHzM^&ZK zTt>_~5b!XeCjqfUY}@^*56QxS5*Xc3VYpnnoffpy4Cezb^Ozt6$@^acVqm4TM1sh64OfCpb&z`IoDmAMR48`u5fVC;XF zfb+lnseJnLhcqfDEH@iyP>SU;Mhv%)!#5Y|G_GFjdj=Gvh{q31FgmuGQar@m-+y&q zon~rkYU1{BxK^w2K*wQ#`ps*69D+z3St2VCJfe_hZ9+R;mF?u@<6MylsC#&s3>HbAgAdg~Rx%m2jXo{zQ_#JurrEhA~iEuaOR^{*L=qT5(U#FKS z+SdqvP!>;HhSEp{zaooAHbJalR%CIxOBQ!N(5x*YD4nH6HdKZvZzwT5RK{JnH2&uM zZ!WBdEdJ2{F*3ja4>{KSfrK%_yO;ks_&{QS0R|XgfC2vh@GlJE2`*h++28;G002ov JPDHLkV1nC41K0on literal 0 HcmV?d00001 diff --git a/sprites/car_features.png.import b/sprites/car_features.png.import new file mode 100644 index 0000000..9faa5ad --- /dev/null +++ b/sprites/car_features.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://mqdujngircok" +path="res://.godot/imported/car_features.png-6af3e9800dc5060b0e97dabc6c3181d0.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/car_features.png" +dest_files=["res://.godot/imported/car_features.png-6af3e9800dc5060b0e97dabc6c3181d0.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1