-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from alloy-city/dev
Godot hello world.
- Loading branch information
Showing
12 changed files
with
200 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
3 changes: 3 additions & 0 deletions
3
src/HelloWorld/.import/icon.png-487276ed1e3a0c39cad0279d744ee560.md5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source_md5="8dd9ff1eebf38898a54579d8c01b0a88" | ||
dest_md5="da70afec3c66d4e872db67f808e12edb" | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[gd_scene format=2] | ||
|
||
[node name="Label" type="Label"] | ||
margin_right = 84.0 | ||
margin_bottom = 14.0 | ||
text = "Hello, World!" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Label | ||
|
||
var accum = 0 | ||
|
||
func _process(delta): | ||
accum += delta | ||
text = str(accum) # 'text' is a built-in label property. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
extends Panel | ||
|
||
func _ready(): | ||
get_node("Button").connect("pressed", self, "_on_Button_pressed") | ||
|
||
func _on_Button_pressed(): | ||
get_node("Label").text = "AViS" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
[gd_scene load_steps=4 format=2] | ||
|
||
[ext_resource path="res://UI_example.gd" type="Script" id=1] | ||
[ext_resource path="res://Hello.tscn" type="PackedScene" id=2] | ||
[ext_resource path="res://RunningTime.gd" type="Script" id=3] | ||
|
||
[node name="Panel" type="Panel"] | ||
anchor_left = 0.5 | ||
anchor_top = 0.5 | ||
anchor_right = 0.5 | ||
anchor_bottom = 0.5 | ||
margin_left = -129.0 | ||
margin_top = -71.5 | ||
margin_right = 129.0 | ||
margin_bottom = 71.5 | ||
script = ExtResource( 1 ) | ||
|
||
[node name="Label" type="Label" parent="."] | ||
anchor_left = 0.5 | ||
anchor_top = 0.5 | ||
anchor_right = 0.5 | ||
anchor_bottom = 0.5 | ||
margin_left = -68.0 | ||
margin_top = -35.1884 | ||
margin_right = 68.0 | ||
margin_bottom = -14.1884 | ||
text = "-----" | ||
align = 1 | ||
|
||
[node name="Button" type="Button" parent="."] | ||
anchor_left = 0.5 | ||
anchor_top = 0.5 | ||
anchor_right = 0.5 | ||
anchor_bottom = 0.5 | ||
margin_left = -20.5 | ||
margin_top = 21.6892 | ||
margin_right = 20.5 | ||
margin_bottom = 41.6892 | ||
text = "FOO" | ||
|
||
[node name="Title" parent="." instance=ExtResource( 2 )] | ||
anchor_left = 0.5 | ||
anchor_right = 0.5 | ||
margin_left = -42.0 | ||
margin_top = -26.8788 | ||
margin_right = 42.0 | ||
margin_bottom = -12.8788 | ||
|
||
[node name="RunningTime" type="Label" parent="."] | ||
margin_right = 40.0 | ||
margin_bottom = 14.0 | ||
script = ExtResource( 3 ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
[gd_resource type="Environment" load_steps=2 format=2] | ||
|
||
[sub_resource type="ProceduralSky" id=1] | ||
|
||
[resource] | ||
background_mode = 2 | ||
background_sky = SubResource( 1 ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
[preset.0] | ||
|
||
name="AViS_v0.1" | ||
platform="Linux/X11" | ||
runnable=true | ||
custom_features="" | ||
export_filter="all_resources" | ||
include_filter="" | ||
exclude_filter="" | ||
export_path="/home/barba/AViS_v0.1.x86_64" | ||
patch_list=PoolStringArray( ) | ||
script_export_mode=1 | ||
script_encryption_key="" | ||
|
||
[preset.0.options] | ||
|
||
texture_format/bptc=false | ||
texture_format/s3tc=true | ||
texture_format/etc=false | ||
texture_format/etc2=false | ||
texture_format/no_bptc_fallbacks=true | ||
binary_format/64_bits=true | ||
custom_template/release="" | ||
custom_template/debug="" | ||
|
||
[preset.1] | ||
|
||
name="AViS_v0.1" | ||
platform="Windows Desktop" | ||
runnable=true | ||
custom_features="" | ||
export_filter="all_resources" | ||
include_filter="" | ||
exclude_filter="" | ||
export_path="/home/barba/AViS_builds/0.1/Windows/AViS_v0.1.exe" | ||
patch_list=PoolStringArray( ) | ||
script_export_mode=1 | ||
script_encryption_key="" | ||
|
||
[preset.1.options] | ||
|
||
texture_format/bptc=false | ||
texture_format/s3tc=true | ||
texture_format/etc=false | ||
texture_format/etc2=false | ||
texture_format/no_bptc_fallbacks=true | ||
binary_format/64_bits=true | ||
custom_template/release="" | ||
custom_template/debug="" | ||
application/icon="" | ||
application/file_version="" | ||
application/product_version="" | ||
application/company_name="" | ||
application/product_name="" | ||
application/file_description="" | ||
application/copyright="" | ||
application/trademarks="" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
[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 | ||
stream=false | ||
size_limit=0 | ||
detect_3d=true | ||
svg/scale=1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
; 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 | ||
|
||
_global_script_classes=[ ] | ||
_global_script_class_icons={ | ||
|
||
} | ||
|
||
[application] | ||
|
||
config/name="HelloWorld" | ||
run/main_scene="res://UI_example.tscn" | ||
config/icon="res://icon.png" | ||
|
||
[rendering] | ||
|
||
environment/default_environment="res://default_env.tres" |