[gd_scene load_steps=7 format=2] [ext_resource path="res://resources/fonts/TimesNewerRoman-Regular.otf" type="DynamicFontData" id=1] [ext_resource path="res://scripts/CustomControls/ChangeKarma/ChangeKarma.gd" type="Script" id=2] [sub_resource type="DynamicFont" id=4] size = 40 outline_size = 2 outline_color = Color( 0, 0, 0, 1 ) font_data = ExtResource( 1 ) [sub_resource type="DynamicFont" id=5] size = 40 outline_size = 2 outline_color = Color( 0, 0, 0, 1 ) font_data = ExtResource( 1 ) [sub_resource type="Animation" id=2] resource_name = "ChangeKarmaAnimation" length = 5.0 tracks/0/type = "value" tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0, 1.5, 4.5, 5 ), "transitions": PoolRealArray( 1, 1, 1, 1 ), "update": 0, "values": [ Color( 1, 1, 1, 0 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 1 ), Color( 1, 1, 1, 0 ) ] } [sub_resource type="Animation" id=3] length = 0.001 tracks/0/type = "value" tracks/0/path = NodePath(".:modulate") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/imported = false tracks/0/enabled = true tracks/0/keys = { "times": PoolRealArray( 0 ), "transitions": PoolRealArray( 1 ), "update": 0, "values": [ Color( 1, 1, 1, 1 ) ] } [node name="ChangeKarma" type="HBoxContainer"] self_modulate = Color( 1, 1, 1, 0 ) anchor_right = 1.0 anchor_bottom = 1.0 margin_right = -1370.0 margin_bottom = -1030.0 rect_min_size = Vector2( 600, 50 ) custom_constants/separation = 0 script = ExtResource( 2 ) [node name="Name" type="RichTextLabel" parent="."] margin_right = 188.0 margin_bottom = 50.0 rect_min_size = Vector2( 188, 50 ) custom_fonts/normal_font = SubResource( 4 ) bbcode_enabled = true bbcode_text = "[color=#ff2f2f] Alexander[/color]" text = " Alexander" scroll_active = false [node name="Attitude" type="RichTextLabel" parent="."] margin_left = 188.0 margin_right = 628.0 margin_bottom = 50.0 rect_min_size = Vector2( 440, 50 ) custom_fonts/normal_font = SubResource( 5 ) bbcode_enabled = true bbcode_text = " changes his attitude to -6" text = " changes his attitude to -6" scroll_active = false [node name="AnimationPlayer" type="AnimationPlayer" parent="."] anims/ChangeKarmaAnimation = SubResource( 2 ) anims/RESET = SubResource( 3 ) [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_AnimationPlayer_animation_finished"]