mirror of
https://github.com/hobbesjaap/wellbeingapp.git
synced 2025-01-02 21:59:53 +00:00
started first commit
This commit is contained in:
commit
d439495908
15
.gitignore
vendored
Normal file
15
.gitignore
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
.DS_Store
|
||||||
|
|
||||||
|
# ---> Godot
|
||||||
|
# Godot-specific ignores
|
||||||
|
.import/
|
||||||
|
export.cfg
|
||||||
|
export_presets.cfg
|
||||||
|
|
||||||
|
# Imported translations (automatically generated from CSV files)
|
||||||
|
*.translation
|
||||||
|
|
||||||
|
# Mono-specific ignores
|
||||||
|
.mono/
|
||||||
|
data_*/
|
||||||
|
|
1
LICENSE.md
Normal file
1
LICENSE.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank"><img alt="Creative Commons Licence" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-nd/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License</a>.
|
3
README.md
Normal file
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# wellbeing_app
|
||||||
|
|
||||||
|
A freeware and open source wellbeing app.
|
6
godot/Wellbeing App.csproj
Normal file
6
godot/Wellbeing App.csproj
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<Project Sdk="Godot.NET.Sdk/3.3.0">
|
||||||
|
<PropertyGroup>
|
||||||
|
<TargetFramework>net472</TargetFramework>
|
||||||
|
<RootNamespace>WellbeingApp</RootNamespace>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
19
godot/Wellbeing App.sln
Normal file
19
godot/Wellbeing App.sln
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio 2012
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Wellbeing App", "Wellbeing App.csproj", "{D7C38C84-2B97-4842-B86C-55CA66888418}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
ExportDebug|Any CPU = ExportDebug|Any CPU
|
||||||
|
ExportRelease|Any CPU = ExportRelease|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{D7C38C84-2B97-4842-B86C-55CA66888418}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{D7C38C84-2B97-4842-B86C-55CA66888418}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{D7C38C84-2B97-4842-B86C-55CA66888418}.ExportDebug|Any CPU.ActiveCfg = ExportDebug|Any CPU
|
||||||
|
{D7C38C84-2B97-4842-B86C-55CA66888418}.ExportDebug|Any CPU.Build.0 = ExportDebug|Any CPU
|
||||||
|
{D7C38C84-2B97-4842-B86C-55CA66888418}.ExportRelease|Any CPU.ActiveCfg = ExportRelease|Any CPU
|
||||||
|
{D7C38C84-2B97-4842-B86C-55CA66888418}.ExportRelease|Any CPU.Build.0 = ExportRelease|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
20
godot/button_email_feedback.gd
Normal file
20
godot/button_email_feedback.gd
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
extends Button
|
||||||
|
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a = 2
|
||||||
|
# var b = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
||||||
|
func _on_button_email_feedback_pressed():
|
||||||
|
OS.shell_open("mailto:feedback@jaapmarsman.com")
|
19
godot/button_open_github.gd
Normal file
19
godot/button_open_github.gd
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
extends Button
|
||||||
|
|
||||||
|
|
||||||
|
# Declare member variables here. Examples:
|
||||||
|
# var a = 2
|
||||||
|
# var b = "text"
|
||||||
|
|
||||||
|
|
||||||
|
# Called when the node enters the scene tree for the first time.
|
||||||
|
#func _ready():
|
||||||
|
# pass
|
||||||
|
|
||||||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
#func _process(delta):
|
||||||
|
# pass
|
||||||
|
|
||||||
|
|
||||||
|
func _on_button_open_github_pressed():
|
||||||
|
OS.shell_open("https://godotengine.org")
|
7
godot/default_env.tres
Normal file
7
godot/default_env.tres
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[gd_resource type="Environment" load_steps=2 format=2]
|
||||||
|
|
||||||
|
[sub_resource type="ProceduralSky" id=1]
|
||||||
|
|
||||||
|
[resource]
|
||||||
|
background_mode = 2
|
||||||
|
background_sky = SubResource( 1 )
|
BIN
godot/icon.png
Normal file
BIN
godot/icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
35
godot/icon.png.import
Normal file
35
godot/icon.png.import
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[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
|
27
godot/project.godot
Normal file
27
godot/project.godot
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
; Engine configuration file.
|
||||||
|
; It's best edited using the editor UI and not directly,
|
||||||
|
; since the parameters that go here are not all obvious.
|
||||||
|
;
|
||||||
|
; Format:
|
||||||
|
; [section] ; section goes between []
|
||||||
|
; param=value ; assign values to parameters
|
||||||
|
|
||||||
|
config_version=4
|
||||||
|
|
||||||
|
[application]
|
||||||
|
|
||||||
|
config/name="Wellbeing App"
|
||||||
|
run/main_scene="res://start_screen.tscn"
|
||||||
|
config/icon="res://icon.png"
|
||||||
|
|
||||||
|
[gui]
|
||||||
|
|
||||||
|
theme/use_hidpi=true
|
||||||
|
|
||||||
|
[physics]
|
||||||
|
|
||||||
|
common/enable_pause_aware_picking=true
|
||||||
|
|
||||||
|
[rendering]
|
||||||
|
|
||||||
|
environment/default_environment="res://default_env.tres"
|
21
godot/start_screen.cs
Normal file
21
godot/start_screen.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
using Godot;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
public class start_screen : Node2D
|
||||||
|
{
|
||||||
|
// Declare member variables here. Examples:
|
||||||
|
// private int a = 2;
|
||||||
|
// private string b = "text";
|
||||||
|
|
||||||
|
// Called when the node enters the scene tree for the first time.
|
||||||
|
public override void _Ready()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
// // Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||||
|
// public override void _Process(float delta)
|
||||||
|
// {
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
}
|
47
godot/start_screen.tscn
Normal file
47
godot/start_screen.tscn
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
[gd_scene load_steps=4 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]
|
||||||
|
|
||||||
|
[node name="Node2D" type="Node2D"]
|
||||||
|
script = ExtResource( 1 )
|
||||||
|
__meta__ = {
|
||||||
|
"_edit_horizontal_guides_": [ ]
|
||||||
|
}
|
||||||
|
|
||||||
|
[node name="start_menu" type="Node2D" parent="."]
|
||||||
|
|
||||||
|
[node name="button_daily_action" type="Button" parent="start_menu"]
|
||||||
|
margin_left = 51.0
|
||||||
|
margin_top = 75.0
|
||||||
|
margin_right = 140.0
|
||||||
|
margin_bottom = 95.0
|
||||||
|
text = "Daily Action"
|
||||||
|
|
||||||
|
[node name="RichTextLabel" type="RichTextLabel" parent="start_menu"]
|
||||||
|
margin_left = 19.0
|
||||||
|
margin_top = 22.0
|
||||||
|
margin_right = 277.0
|
||||||
|
margin_bottom = 53.0
|
||||||
|
text = "Good morning, Jaap!
|
||||||
|
"
|
||||||
|
|
||||||
|
[node name="button_open_github" type="Button" parent="start_menu"]
|
||||||
|
margin_left = 98.0
|
||||||
|
margin_top = 195.0
|
||||||
|
margin_right = 135.0
|
||||||
|
margin_bottom = 215.0
|
||||||
|
text = "URL"
|
||||||
|
script = ExtResource( 2 )
|
||||||
|
|
||||||
|
[node name="button_email_feedback" type="Button" parent="start_menu"]
|
||||||
|
margin_left = 169.0
|
||||||
|
margin_top = 137.0
|
||||||
|
margin_right = 241.0
|
||||||
|
margin_bottom = 157.0
|
||||||
|
text = "Feedback"
|
||||||
|
script = ExtResource( 3 )
|
||||||
|
|
||||||
|
[connection signal="pressed" from="start_menu/button_open_github" to="start_menu/button_open_github" method="_on_button_open_github_pressed"]
|
||||||
|
[connection signal="pressed" from="start_menu/button_email_feedback" to="start_menu/button_email_feedback" method="_on_button_email_feedback_pressed"]
|
11
notes/brainstorm.md
Normal file
11
notes/brainstorm.md
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# Initial brainstorm
|
||||||
|
|
||||||
|
Not quite sure yet where to go with this one...
|
||||||
|
|
||||||
|
- Courses ("Living a psychologically rich life")
|
||||||
|
- White Noise
|
||||||
|
- Generated Music
|
||||||
|
- Pomodoro Timer
|
||||||
|
-
|
||||||
|
|
||||||
|
Pitched towards 15-16 year olds.
|
Loading…
Reference in New Issue
Block a user