started with psychrich app
This commit is contained in:
parent
07356f3356
commit
561970fdaf
BIN
psych_rich/Assets/fonts/noto_sans_display.ttf
Normal file
BIN
psych_rich/Assets/fonts/noto_sans_display.ttf
Normal file
Binary file not shown.
BIN
psych_rich/Assets/fonts/noto_sans_display_bold.ttf
Normal file
BIN
psych_rich/Assets/fonts/noto_sans_display_bold.ttf
Normal file
Binary file not shown.
@ -1,10 +1,12 @@
|
||||
extends Node2D
|
||||
|
||||
var total_score : int
|
||||
var total_score : int = 0
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
$QuestionCard.visible = false
|
||||
$ResultsCard.visible = false
|
||||
$TitleCard.visible = true
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
|
@ -1,38 +1,46 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dr7b0v3bcngc3"]
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dr7b0v3bcngc3"]
|
||||
|
||||
[ext_resource type="Script" path="res://main.gd" id="1_byteu"]
|
||||
[ext_resource type="Theme" uid="uid://dekd1tps61vy8" path="res://wb_theme.tres" id="2_arn03"]
|
||||
|
||||
[node name="Main" type="Node2D"]
|
||||
script = ExtResource("1_byteu")
|
||||
|
||||
[node name="TitleCard" type="Node2D" parent="."]
|
||||
visible = false
|
||||
[node name="TitleCard" type="CanvasLayer" parent="."]
|
||||
|
||||
[node name="Title" type="Label" parent="TitleCard"]
|
||||
offset_left = 495.0
|
||||
offset_top = 156.0
|
||||
offset_right = 776.0
|
||||
offset_bottom = 179.0
|
||||
[node name="Panel" type="Panel" parent="TitleCard"]
|
||||
offset_left = 41.0
|
||||
offset_top = 32.0
|
||||
offset_right = 81.0
|
||||
offset_bottom = 72.0
|
||||
theme = ExtResource("2_arn03")
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="TitleCard"]
|
||||
offset_right = 1031.0
|
||||
offset_bottom = 158.0
|
||||
alignment = 1
|
||||
|
||||
[node name="Title" type="Label" parent="TitleCard/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_arn03")
|
||||
theme_override_font_sizes/font_size = 18
|
||||
text = "How psychologically rich is your life?"
|
||||
|
||||
[node name="Instructions" type="Label" parent="TitleCard"]
|
||||
offset_left = 495.0
|
||||
offset_top = 156.0
|
||||
offset_right = 776.0
|
||||
offset_bottom = 179.0
|
||||
[node name="Instructions" type="Label" parent="TitleCard/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_arn03")
|
||||
text = "We define a psychologically rich life as a life characterized by variety, depth, and interest. A life could be psychologically rich if a person
|
||||
experiences a variety of interesting things, and/or feels and appreciates a variety of deep emotions via first-hand experiences or vicarious
|
||||
experiences such as novels, films, and sports on TV. Please indicate the degree to which you agree or disagree with each of the following
|
||||
statements, using the 1–7 point scale below."
|
||||
statements."
|
||||
|
||||
[node name="Button" type="Button" parent="TitleCard"]
|
||||
offset_left = 398.0
|
||||
offset_top = 182.0
|
||||
offset_right = 444.0
|
||||
offset_bottom = 213.0
|
||||
[node name="Button" type="Button" parent="TitleCard/VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme = ExtResource("2_arn03")
|
||||
text = "Start"
|
||||
|
||||
[node name="QuestionCard" type="Node2D" parent="."]
|
||||
visible = false
|
||||
position = Vector2(85, 162)
|
||||
|
||||
[node name="ButtonsRow" type="HBoxContainer" parent="QuestionCard"]
|
||||
@ -158,3 +166,4 @@ offset_bottom = 23.0
|
||||
text = "I can’t remember the last time I’ve done or experienced something new (r)"
|
||||
|
||||
[node name="ResultsCard" type="Node2D" parent="."]
|
||||
visible = false
|
||||
|
@ -15,6 +15,18 @@ run/main_scene="res://main.tscn"
|
||||
config/features=PackedStringArray("4.2", "GL Compatibility")
|
||||
config/icon="res://icon.svg"
|
||||
|
||||
[display]
|
||||
|
||||
window/size/viewport_width=1280
|
||||
window/size/viewport_height=720
|
||||
window/stretch/mode="canvas_items"
|
||||
window/stretch/aspect="expand"
|
||||
|
||||
[filesystem]
|
||||
|
||||
import/blender/enabled=false
|
||||
import/fbx/enabled=false
|
||||
|
||||
[rendering]
|
||||
|
||||
renderer/rendering_method="gl_compatibility"
|
||||
|
2127
psych_rich/wb_theme.tres
Normal file
2127
psych_rich/wb_theme.tres
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user