Jelajahi Sumber

Ajoute scene javelot

DricomDragon 10 bulan lalu
induk
melakukan
f186b12e1f

+ 10 - 0
godot/composants/objets/javelot/javelot.tscn

@@ -0,0 +1,10 @@
+[gd_scene load_steps=2 format=3 uid="uid://cotwb2mk31lpx"]
+
+[ext_resource type="Texture2D" uid="uid://iahia86rgssf" path="res://composants/objets/javelot/mcJavelot.png" id="1_00b17"]
+
+[node name="Javelot" type="Node2D"]
+
+[node name="Image" type="Sprite2D" parent="."]
+texture = ExtResource("1_00b17")
+centered = false
+offset = Vector2(-14, -14)

godot/composants/pouvoirs/javelot/mcJavelot.png → godot/composants/objets/javelot/mcJavelot.png


+ 3 - 3
godot/composants/pouvoirs/javelot/mcJavelot.png.import

@@ -3,15 +3,15 @@
 importer="texture"
 type="CompressedTexture2D"
 uid="uid://iahia86rgssf"
-path="res://.godot/imported/mcJavelot.png-73502268d75390cabafb8490009ca442.ctex"
+path="res://.godot/imported/mcJavelot.png-c0e3e10697b02412cc7966ea46140868.ctex"
 metadata={
 "vram_texture": false
 }
 
 [deps]
 
-source_file="res://composants/pouvoirs/javelot/mcJavelot.png"
-dest_files=["res://.godot/imported/mcJavelot.png-73502268d75390cabafb8490009ca442.ctex"]
+source_file="res://composants/objets/javelot/mcJavelot.png"
+dest_files=["res://.godot/imported/mcJavelot.png-c0e3e10697b02412cc7966ea46140868.ctex"]
 
 [params]
 

+ 1 - 0
godot/composants/pouvoirs/pouvoir_javelot.gd

@@ -4,6 +4,7 @@ extends PouvoirBase
 
 
 const EruptionScene: PackedScene = preload("res://effets/eruption/eruption.tscn")
+#const JavelotScene: PackedScene = preload(todo)
 
 
 func declencher_pouvoir(arbre_scene: SceneTree) -> void: