The beginning of public history

This commit is contained in:
2019-09-16 02:07:41 -04:00
commit 64a2ffbc89
1104 changed files with 7534 additions and 0 deletions

192
Nodes/Player.tscn Normal file
View File

@@ -0,0 +1,192 @@
[gd_scene load_steps=24 format=2]
[ext_resource path="res://Scripts/PlayerManager.gd" type="Script" id=1]
[ext_resource path="res://Art/player_idle1.png" type="Texture" id=2]
[ext_resource path="res://Art/player_idle2.png" type="Texture" id=3]
[ext_resource path="res://Art/player_walk1.png" type="Texture" id=4]
[ext_resource path="res://Art/player_walk2.png" type="Texture" id=5]
[ext_resource path="res://Art/player_walk3.png" type="Texture" id=6]
[ext_resource path="res://Art/player_jump.png" type="Texture" id=7]
[ext_resource path="res://general_theme.tres" type="Theme" id=8]
[ext_resource path="res://Art/cornerGUI.png" type="Texture" id=9]
[ext_resource path="res://Fonts/pixelmix/pixelmix.ttf" type="DynamicFontData" id=10]
[ext_resource path="res://Art/pickup-outline.png" type="Texture" id=11]
[ext_resource path="res://Art/health-bar2.png" type="Texture" id=12]
[ext_resource path="res://Art/health-bar1.png" type="Texture" id=13]
[ext_resource path="res://Fonts/pixelmix/pixelmix_bold.ttf" type="DynamicFontData" id=14]
[ext_resource path="res://Art/light.png" type="Texture" id=15]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ) ],
"loop": true,
"name": "idle",
"speed": 3.0
}, {
"frames": [ ExtResource( 4 ), ExtResource( 5 ), ExtResource( 6 ) ],
"loop": true,
"name": "walk",
"speed": 7.0
}, {
"frames": [ ExtResource( 7 ) ],
"loop": true,
"name": "jump",
"speed": 5.0
} ]
[sub_resource type="CapsuleShape2D" id=2]
radius = 3.71548
height = 8.49548
[sub_resource type="DynamicFont" id=3]
outline_size = 4
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 10 )
[sub_resource type="StyleBoxTexture" id=4]
texture = ExtResource( 12 )
region_rect = Rect2( 0, 0, 64, 16 )
[sub_resource type="StyleBoxTexture" id=5]
texture = ExtResource( 13 )
region_rect = Rect2( 0, 0, 64, 16 )
[sub_resource type="DynamicFont" id=6]
outline_size = 2
outline_color = Color( 0, 0, 0, 1 )
font_data = ExtResource( 10 )
[sub_resource type="DynamicFont" id=7]
size = 32
font_data = ExtResource( 14 )
[sub_resource type="GDScript" id=8]
script/source = "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():
connect(\"button_down\", self, \"on_button\")
# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
# pass
func on_button():
get_tree().change_scene(\"res://Nodes/Title.tscn\")"
[node name="Player" type="KinematicBody2D"]
script = ExtResource( 1 )
[node name="Camera2D" type="Camera2D" parent="."]
zoom = Vector2( 0.5, 0.5 )
[node name="AnimatedSprite" type="AnimatedSprite" parent="."]
frames = SubResource( 1 )
animation = "idle"
playing = true
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )
[node name="Equipment" type="Node2D" parent="."]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
editor/display_folded = true
[node name="GUI" type="Control" parent="CanvasLayer"]
editor/display_folded = true
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 8 )
[node name="TextureRect" type="TextureRect" parent="CanvasLayer/GUI"]
anchor_right = 1.0
margin_right = -904.0
margin_bottom = 31.0
texture = ExtResource( 9 )
expand = true
[node name="Label" type="Label" parent="CanvasLayer/GUI"]
margin_left = 36.4586
margin_top = 11.069
margin_right = 160.459
margin_bottom = 42.069
custom_fonts/font = SubResource( 3 )
custom_colors/font_color = Color( 1, 1, 1, 1 )
text = "0"
valign = 1
clip_text = true
[node name="TextureRect2" type="TextureRect" parent="CanvasLayer/GUI"]
margin_left = 13.7422
margin_top = 16.7484
margin_right = 33.7422
margin_bottom = 36.7484
texture = ExtResource( 11 )
expand = true
[node name="Healthbar" type="ProgressBar" parent="CanvasLayer/GUI"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -92.5
margin_top = -50.0
margin_right = 92.5
margin_bottom = -14.0
custom_styles/fg = SubResource( 4 )
custom_styles/bg = SubResource( 5 )
custom_fonts/font = SubResource( 6 )
step = 1.0
value = 100.0
[node name="SlideRect" type="ColorRect" parent="CanvasLayer/GUI"]
anchor_right = 1.0
color = Color( 0, 0, 0, 1 )
[node name="GameOver" type="Control" parent="CanvasLayer"]
editor/display_folded = true
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource( 8 )
[node name="ColorRect" type="ColorRect" parent="CanvasLayer/GameOver"]
anchor_right = 1.0
anchor_bottom = 1.0
color = Color( 0, 0, 0, 0.352941 )
[node name="Label" type="Label" parent="CanvasLayer/GameOver"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -227.5
margin_top = -50.0
margin_right = 227.5
margin_bottom = 50.0
custom_fonts/font = SubResource( 7 )
custom_colors/font_color = Color( 0.6, 0.898039, 0.313726, 1 )
text = "Unit Lost..."
align = 1
valign = 1
[node name="MainMenu" type="Button" parent="CanvasLayer/GameOver"]
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
margin_left = -82.5
margin_top = -80.0
margin_right = 82.5
margin_bottom = -40.0
text = "Main Menu"
script = SubResource( 8 )
[node name="Light2D" type="Light2D" parent="."]
texture = ExtResource( 15 )
texture_scale = 1.5
energy = 0.5