mirror of
https://github.com/hobbesjaap/wellbeingapp.git
synced 2024-11-21 18:12:58 +00:00
added initialising script
This commit is contained in:
parent
d439495908
commit
ee100b207c
1
.gitignore
vendored
1
.gitignore
vendored
@ -5,6 +5,7 @@
|
||||
.import/
|
||||
export.cfg
|
||||
export_presets.cfg
|
||||
*.import
|
||||
|
||||
# Imported translations (automatically generated from CSV files)
|
||||
*.translation
|
||||
|
@ -1,35 +0,0 @@
|
||||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://icon.png"
|
||||
dest_files=[ "res://.import/icon.png-487276ed1e3a0c39cad0279d744ee560.stex" ]
|
||||
|
||||
[params]
|
||||
|
||||
compress/mode=0
|
||||
compress/lossy_quality=0.7
|
||||
compress/hdr_mode=0
|
||||
compress/bptc_ldr=0
|
||||
compress/normal_map=0
|
||||
flags/repeat=0
|
||||
flags/filter=true
|
||||
flags/mipmaps=false
|
||||
flags/anisotropic=false
|
||||
flags/srgb=2
|
||||
process/fix_alpha_border=true
|
||||
process/premult_alpha=false
|
||||
process/HDR_as_SRGB=false
|
||||
process/invert_color=false
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
17
godot/initialising.gd
Normal file
17
godot/initialising.gd
Normal file
@ -0,0 +1,17 @@
|
||||
extends Node2D
|
||||
|
||||
|
||||
# Declare member variables here. Examples:
|
||||
# var a = 2
|
||||
# var b = "text"
|
||||
var user_first_name = "No name"
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
#func _process(delta):
|
||||
# pass
|
@ -1,16 +1,18 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://start_screen.cs" type="Script" id=1]
|
||||
[ext_resource path="res://button_open_github.gd" type="Script" id=2]
|
||||
[ext_resource path="res://button_email_feedback.gd" type="Script" id=3]
|
||||
[ext_resource path="res://initialising.gd" type="Script" id=4]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
[node name="main_screen" type="Node2D"]
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_horizontal_guides_": [ ]
|
||||
}
|
||||
|
||||
[node name="start_menu" type="Node2D" parent="."]
|
||||
script = ExtResource( 4 )
|
||||
|
||||
[node name="button_daily_action" type="Button" parent="start_menu"]
|
||||
margin_left = 51.0
|
||||
@ -19,7 +21,7 @@ margin_right = 140.0
|
||||
margin_bottom = 95.0
|
||||
text = "Daily Action"
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="start_menu"]
|
||||
[node name="welcome_title" type="RichTextLabel" parent="start_menu"]
|
||||
margin_left = 19.0
|
||||
margin_top = 22.0
|
||||
margin_right = 277.0
|
||||
|
Loading…
Reference in New Issue
Block a user