Skip to content

Commit

Permalink
Changed font of story mode interactions to ALittleNameCalle.ttf (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
pythoncoder83 authored Nov 22, 2024
1 parent cc298b2 commit 8477e08
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 26 deletions.
3 changes: 0 additions & 3 deletions fonts/ALittleNameCalled.tres
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,4 @@
[ext_resource path="res://fonts/ALittleNameCalle.ttf" type="DynamicFontData" id=1]

[resource]
size = 48
outline_size = 3
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 1 )
32 changes: 17 additions & 15 deletions scenes/levels/story_mode/StoryMode.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -325,10 +325,10 @@ position = Vector2( 2, -120 )
texture = ExtResource( 23 )

[node name="TalkToLabel" parent="YSort/Characters/LadderMan" index="2"]
margin_left = 39.0
margin_top = -150.0
margin_right = 159.0
margin_bottom = -136.0
margin_left = -127.0
margin_top = 10.0
margin_right = 137.0
margin_bottom = 24.0
text = "[Q] Talk to Ladder Man"

[node name="Stone" parent="YSort/Characters" instance=ExtResource( 5 )]
Expand All @@ -341,9 +341,9 @@ position = Vector2( 2, -31 )
texture = ExtResource( 22 )

[node name="TalkToLabel" parent="YSort/Characters/Stone" index="2"]
margin_left = -66.0
margin_left = -102.0
margin_top = 21.0
margin_right = 20.0
margin_right = 102.0
margin_bottom = 35.0
text = "[Q] Talk to Stone"

Expand All @@ -361,10 +361,10 @@ position = Vector2( 2, -30 )
texture = ExtResource( 24 )

[node name="TalkToLabel" parent="YSort/Characters/Lever" index="2"]
margin_left = 33.0
margin_top = -35.0
margin_right = 119.0
margin_bottom = -21.0
margin_left = -26.0
margin_top = 8.0
margin_right = 130.0
margin_bottom = 22.0
text = "[Q] Use Lever"

[node name="Sign" parent="YSort/Characters" instance=ExtResource( 5 )]
Expand All @@ -383,9 +383,9 @@ texture = ExtResource( 15 )

[node name="TalkToLabel" parent="YSort/Characters/Sign" index="2"]
margin_left = -127.0
margin_top = -29.0
margin_right = -41.0
margin_bottom = -15.0
margin_top = 25.0
margin_right = 65.0
margin_bottom = 39.0
text = "[Q] Look at Sign"

[node name="Donk" parent="YSort/Characters" instance=ExtResource( 5 )]
Expand All @@ -399,6 +399,8 @@ position = Vector2( 0, -45 )
texture = SubResource( 1 )

[node name="TalkToLabel" parent="YSort/Characters/Donk" index="2"]
margin_left = -67.0
margin_right = 209.0
text = "[Q] Talk to weird group"

[node name="WizardDude" parent="YSort/Characters" instance=ExtResource( 5 )]
Expand All @@ -425,9 +427,9 @@ scale = Vector2( 2, 2 )
texture = ExtResource( 37 )

[node name="TalkToLabel" parent="YSort/Characters/Sora" index="2"]
margin_left = -47.0
margin_left = -100.0
margin_top = -80.0
margin_right = 49.0
margin_right = 92.0
margin_bottom = -66.0
text = "[Q] Talk to Sora"

Expand Down
12 changes: 7 additions & 5 deletions scenes/levels/story_mode/character/Character.tscn
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=5 format=2]

[ext_resource path="res://scenes/levels/story_mode/character/Character.gd" type="Script" id=1]
[ext_resource path="res://fonts/ALittleNameCalled.tres" type="DynamicFont" id=2]

[sub_resource type="CircleShape2D" id=1]
radius = 158.382
Expand All @@ -21,11 +22,12 @@ shape = SubResource( 1 )
position = Vector2( 2, -40 )

[node name="TalkToLabel" type="Label" parent="."]
margin_left = 28.0
margin_top = -134.0
margin_right = 114.0
margin_bottom = -120.0
margin_left = -53.0
margin_top = -121.0
margin_right = 115.0
margin_bottom = -107.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_fonts/font = ExtResource( 2 )
custom_styles/normal = SubResource( 2 )
text = "[B] Talk to %s"

Expand Down
8 changes: 5 additions & 3 deletions scenes/levels/story_mode/item/GroundItem.tscn
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
[gd_scene load_steps=6 format=2]
[gd_scene load_steps=7 format=2]

[ext_resource path="res://sprites/food.png" type="Texture" id=1]
[ext_resource path="res://scenes/levels/story_mode/item/GroundItem.gd" type="Script" id=2]
[ext_resource path="res://fonts/ALittleNameCalled.tres" type="DynamicFont" id=3]

[sub_resource type="AtlasTexture" id=22]
atlas = ExtResource( 1 )
Expand All @@ -27,11 +28,12 @@ position = Vector2( -1, 0 )
shape = SubResource( 23 )

[node name="PickupLabel" type="Label" parent="."]
margin_left = -34.0
margin_left = -60.0
margin_top = -51.0
margin_right = 35.0
margin_right = 60.0
margin_bottom = -37.0
custom_colors/font_color_shadow = Color( 0, 0, 0, 1 )
custom_fonts/font = ExtResource( 3 )
custom_styles/normal = SubResource( 24 )
text = "Pick up %s"

Expand Down

0 comments on commit 8477e08

Please sign in to comment.