 cf1481047c
			
		
	
	cf1481047c
	
	
	
		
			
			Cet item supprime les vents de la princesse en lui permettant d'immédiatement digérer le lactose. Ce qui a pour effet de couper son dash en cours et de lui vider les intestincs. J'ai rajouté plein d'éléments dans le niveau numéro deux pour tester ça. Addition supplémentaires: - le fromage peut être de différentes couleurs avec pour conséquences différentes intensités. Ce qui a pour effet de recharger plus ou moins vite la jauge de pét. - J'ai rajouté une passerelle à sens unique qui permet de créer un petit point de non retour, j'aimerai bien aussi l'avoir à la verticale, mais pour le moment, je n'y arrive pas.
		
			
				
	
	
		
			116 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			116 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| [gd_scene load_steps=7 format=3 uid="uid://dsgt6b1bqi6ui"]
 | |
| 
 | |
| [ext_resource type="Script" path="res://HUD/fart_gauge.gd" id="1_jculu"]
 | |
| [ext_resource type="Texture2D" uid="uid://c8r4ylb5ygl5c" path="res://sprite/jauge-de-prout.png" id="1_rt22i"]
 | |
| 
 | |
| [sub_resource type="Animation" id="Animation_nsc8d"]
 | |
| resource_name = "DASH"
 | |
| length = 0.25
 | |
| tracks/0/type = "value"
 | |
| tracks/0/imported = false
 | |
| tracks/0/enabled = true
 | |
| tracks/0/path = NodePath("Full:position")
 | |
| tracks/0/interp = 1
 | |
| tracks/0/loop_wrap = true
 | |
| tracks/0/keys = {
 | |
| "times": PackedFloat32Array(0, 0.2),
 | |
| "transitions": PackedFloat32Array(1, 1),
 | |
| "update": 0,
 | |
| "values": [Vector2(0, 0), Vector2(0, -72)]
 | |
| }
 | |
| tracks/1/type = "value"
 | |
| tracks/1/imported = false
 | |
| tracks/1/enabled = true
 | |
| tracks/1/path = NodePath("Full:region_rect")
 | |
| tracks/1/interp = 1
 | |
| tracks/1/loop_wrap = true
 | |
| tracks/1/keys = {
 | |
| "times": PackedFloat32Array(0, 0.2),
 | |
| "transitions": PackedFloat32Array(1, 1),
 | |
| "update": 0,
 | |
| "values": [Rect2(16, 0, 16, 144), Rect2(16, 0, 16, 0)]
 | |
| }
 | |
| 
 | |
| [sub_resource type="Animation" id="Animation_8hnm2"]
 | |
| resource_name = "RESET"
 | |
| tracks/0/type = "value"
 | |
| tracks/0/imported = false
 | |
| tracks/0/enabled = true
 | |
| tracks/0/path = NodePath("Full:region_rect")
 | |
| tracks/0/interp = 1
 | |
| tracks/0/loop_wrap = true
 | |
| tracks/0/keys = {
 | |
| "times": PackedFloat32Array(0),
 | |
| "transitions": PackedFloat32Array(1),
 | |
| "update": 0,
 | |
| "values": [Rect2(16, 0, 16, 0)]
 | |
| }
 | |
| tracks/1/type = "value"
 | |
| tracks/1/imported = false
 | |
| tracks/1/enabled = true
 | |
| tracks/1/path = NodePath("Full:position")
 | |
| tracks/1/interp = 1
 | |
| tracks/1/loop_wrap = true
 | |
| tracks/1/keys = {
 | |
| "times": PackedFloat32Array(0),
 | |
| "transitions": PackedFloat32Array(1),
 | |
| "update": 0,
 | |
| "values": [Vector2(0, -72)]
 | |
| }
 | |
| 
 | |
| [sub_resource type="Animation" id="Animation_eh7ry"]
 | |
| resource_name = "reload"
 | |
| length = 2.0
 | |
| tracks/0/type = "value"
 | |
| tracks/0/imported = false
 | |
| tracks/0/enabled = true
 | |
| tracks/0/path = NodePath("Full:region_rect")
 | |
| tracks/0/interp = 1
 | |
| tracks/0/loop_wrap = true
 | |
| tracks/0/keys = {
 | |
| "times": PackedFloat32Array(0, 2),
 | |
| "transitions": PackedFloat32Array(1, 1),
 | |
| "update": 0,
 | |
| "values": [Rect2(16, 0, 16, 0), Rect2(16, 0, 16, 144)]
 | |
| }
 | |
| tracks/1/type = "value"
 | |
| tracks/1/imported = false
 | |
| tracks/1/enabled = true
 | |
| tracks/1/path = NodePath("Full:position")
 | |
| tracks/1/interp = 1
 | |
| tracks/1/loop_wrap = true
 | |
| tracks/1/keys = {
 | |
| "times": PackedFloat32Array(0, 2),
 | |
| "transitions": PackedFloat32Array(1, 1),
 | |
| "update": 0,
 | |
| "values": [Vector2(0, -70), Vector2(0, 0)]
 | |
| }
 | |
| 
 | |
| [sub_resource type="AnimationLibrary" id="AnimationLibrary_hfkd0"]
 | |
| _data = {
 | |
| "DASH": SubResource("Animation_nsc8d"),
 | |
| "RESET": SubResource("Animation_8hnm2"),
 | |
| "reload": SubResource("Animation_eh7ry")
 | |
| }
 | |
| 
 | |
| [node name="FartGauge" type="Node2D"]
 | |
| script = ExtResource("1_jculu")
 | |
| 
 | |
| [node name="Empty" type="Sprite2D" parent="."]
 | |
| texture = ExtResource("1_rt22i")
 | |
| region_enabled = true
 | |
| region_rect = Rect2(0, 0, 16, 144)
 | |
| 
 | |
| [node name="Full" type="Sprite2D" parent="."]
 | |
| position = Vector2(0, -72)
 | |
| texture = ExtResource("1_rt22i")
 | |
| region_enabled = true
 | |
| region_rect = Rect2(16, 0, 16, 0)
 | |
| 
 | |
| [node name="AnimationPlayer" type="AnimationPlayer" parent="."]
 | |
| libraries = {
 | |
| "": SubResource("AnimationLibrary_hfkd0")
 | |
| }
 | |
| 
 | |
| [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"]
 |