Skip to content

Commit

Permalink
Round the bottom blue inner borders
Browse files Browse the repository at this point in the history
This cleans up the edges. The STEMERC block was moved to give it
a little more room away from the curved edge. The math story had
to be updated to make it fit.
  • Loading branch information
doctor-g committed Feb 15, 2024
1 parent b13a9c5 commit 40b45dd
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
6 changes: 3 additions & 3 deletions project/story/starting_stories/skip_math.gd
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ var options := {
"engagement": +1,
}
},
"Math is interesting": {
"Math is interesting.": {
"text": '"I didn\'t think about it that way. Probably? I have to think about it."',
"effects": {
"mathematics": +1,
"curiosity": +1
}
},
"You need math to do a lot of things in science.": {
"You need math to do science.": {
"text": '"Yeah, I guess if I wanted to study science, I should probably take more math."',
"effects": {
"science": +1,
}
},
"Math is stupid. Don\'t take it.": {
"Math is stupid.": {
"text": [
'"[b]Hey[/b]! Not taking it doesn\'t mean I don\'t like it!"',
'"I think I\'ll take my math class out of [i]spite[/i]."'
Expand Down
17 changes: 11 additions & 6 deletions project/ui/game_screen.tscn
Original file line number Diff line number Diff line change
@@ -1,19 +1,24 @@
[gd_scene load_steps=21 format=3 uid="uid://cu8dk0qnr77qs"]
[gd_scene load_steps=22 format=3 uid="uid://cu8dk0qnr77qs"]

[ext_resource type="Theme" uid="uid://bqnq26iud8rn3" path="res://common/theme.tres" id="1_iwqch"]
[ext_resource type="StyleBox" path="res://ui/blue_style_box.tres" id="2_gvmnj"]
[ext_resource type="StyleBox" uid="uid://0lv825v0nskc" path="res://ui/blue_style_box.tres" id="2_gvmnj"]
[ext_resource type="Script" path="res://ui/game_screen.gd" id="2_kqcir"]
[ext_resource type="PackedScene" uid="uid://scwnvnkr08fy" path="res://ui/character_display.tscn" id="2_qajtq"]
[ext_resource type="PackedScene" uid="uid://cn7vhi2yphyq2" path="res://ui/year_indicator.tscn" id="2_qr7fv"]
[ext_resource type="PackedScene" uid="uid://c878div1yocyl" path="res://ui/scenario_container.tscn" id="3_ieeti"]
[ext_resource type="PackedScene" uid="uid://b8q1tdpaxtldy" path="res://ui/audible_button.tscn" id="3_ueeqd"]
[ext_resource type="StyleBox" path="res://ui/white_rounded_style_box.tres" id="4_b7pij"]
[ext_resource type="StyleBox" uid="uid://dlbigrenfpyvm" path="res://ui/white_rounded_style_box.tres" id="4_b7pij"]
[ext_resource type="PackedScene" uid="uid://cqsvt2ysd353x" path="res://ui/animated_label.tscn" id="5_mqyhs"]
[ext_resource type="Script" path="res://ui/hide_on_run.gd" id="5_vhgyq"]
[ext_resource type="PackedScene" uid="uid://dkyrbpxgqqngv" path="res://ui/settings_button.tscn" id="6_d02if"]
[ext_resource type="Script" path="res://ui/option_area.gd" id="6_hfcqp"]
[ext_resource type="FontFile" uid="uid://1pig17qkchw" path="res://common/ShantellSans-Regular.ttf" id="10_51lxb"]

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_t41mg"]
bg_color = Color(0.133333, 0.305882, 0.65098, 1)
corner_radius_bottom_right = 30
corner_radius_bottom_left = 30

[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_gmiha"]
bg_color = Color(0.133333, 0.305882, 0.65098, 1)

Expand Down Expand Up @@ -153,15 +158,15 @@ size_flags_horizontal = 8
[node name="InnerBluePanel" type="PanelContainer" parent="SingularChild/MarginContainer/WhiteBackground/MainUI"]
layout_mode = 2
size_flags_vertical = 3
theme_override_styles/panel = ExtResource("2_gvmnj")
theme_override_styles/panel = SubResource("StyleBoxFlat_t41mg")

[node name="MarginContainer" type="MarginContainer" parent="SingularChild/MarginContainer/WhiteBackground/MainUI/InnerBluePanel"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/margin_left = 10
theme_override_constants/margin_left = 15
theme_override_constants/margin_top = 10
theme_override_constants/margin_right = 10
theme_override_constants/margin_bottom = 10
theme_override_constants/margin_bottom = 15

[node name="VBoxContainer" type="VBoxContainer" parent="SingularChild/MarginContainer/WhiteBackground/MainUI/InnerBluePanel/MarginContainer"]
layout_mode = 2
Expand Down
1 change: 1 addition & 0 deletions project/ui/main_scene.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
script = ExtResource("1_dccup")
starting_story = "res://story/starting_stories/skip_math.gd"

[node name="GameScreen" parent="." instance=ExtResource("2_15d48")]
layout_mode = 1

0 comments on commit 40b45dd

Please sign in to comment.