Added more to intro and stuff

This commit is contained in:
Diego 2020-07-17 19:22:17 -05:00
parent cbcf197af8
commit 34ad77f31e
11 changed files with 291 additions and 87 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/Keb3q1.png-2923d3e5959ca7efdd96c5bb9e146f09.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Music and Fonts(Misc.)/Keb3q1.png"
dest_files=[ "res://.import/Keb3q1.png-2923d3e5959ca7efdd96c5bb9e146f09.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=false
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=false
svg/scale=1.0

47
Title/Tilte.tscn Normal file
View file

@ -0,0 +1,47 @@
[gd_scene load_steps=8 format=2]
[ext_resource path="res://Title/Quit 1.png" type="Texture" id=1]
[ext_resource path="res://Title/Wizard Background.png" type="Texture" id=2]
[ext_resource path="res://Title/Quit 2.png" type="Texture" id=3]
[ext_resource path="res://Title/Play 1.png" type="Texture" id=4]
[ext_resource path="res://Title/Play 2.png" type="Texture" id=5]
[ext_resource path="res://Title/Tilte.gd" type="Script" id=6]
[ext_resource path="res://Music and Fonts(Misc.)/Hawaii Partii - Labyrinth (8-Bit).wav" type="AudioStream" id=7]
[node name="Title" type="Node"]
script = ExtResource( 6 )
[node name="Sprite" type="Sprite" parent="."]
texture = ExtResource( 2 )
centered = false
[node name="TextureButton" type="TextureButton" parent="."]
margin_left = 0.989594
margin_top = 73.7678
margin_right = 120.99
margin_bottom = 124.768
texture_normal = ExtResource( 4 )
texture_hover = ExtResource( 5 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="TextureButton2" type="TextureButton" parent="."]
margin_left = 1.0
margin_top = 128.0
margin_right = 125.0
margin_bottom = 179.0
texture_normal = ExtResource( 1 )
texture_hover = ExtResource( 3 )
expand = true
__meta__ = {
"_edit_use_anchors_": false
}
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 7 )
volume_db = -36.349
autoplay = true
[connection signal="pressed" from="TextureButton" to="." method="_on_TextureButton_pressed"]
[connection signal="pressed" from="TextureButton2" to="." method="_on_TextureButton2_pressed"]

4
levels/Text2.gd Normal file
View file

@ -0,0 +1,4 @@
extends Node
func _on_Area2D_body_entered(body):
$AnimationPlayer.play("Type Writer")

4
levels/Text3.gd Normal file
View file

@ -0,0 +1,4 @@
extends Node
func _on_Area2D_body_entered(body):
$AnimationPlayer.play("Type Writer")

16
levels/Text4.gd Normal file
View file

@ -0,0 +1,16 @@
extends Node
# 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

File diff suppressed because one or more lines are too long

View file

@ -302,6 +302,11 @@ points = PoolVector2Array( 0, 0, 16, 0, 16, 16, 0, 16 )
0/autotile/z_index_map = [ ]
0/occluder_offset = Vector2( 0, 0 )
0/navigation_offset = Vector2( 0, 0 )
0/shape_offset = Vector2( 0, 0 )
0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 )
0/shape = SubResource( 48 )
0/shape_one_way = false
0/shape_one_way_margin = 1.0
0/shapes = [ {
"autotile_coord": Vector2( 0, 0 ),
"one_way": false,

View file

@ -27,7 +27,7 @@ _global_script_class_icons={
[application]
config/name="Gamejam"
run/main_scene="res://levels/test.tscn"
run/main_scene="res://Title/Tilte.tscn"
config/icon="res://icon.png"
[autoload]
@ -37,10 +37,6 @@ IconLoaderGithub="*res://addons/github-integration/scripts/IconLoaderGithub.gd"
RestHandler="*res://addons/github-integration/scripts/RestHandler.gd"
globals="*res://script/globals.gd"
[debug]
settings/fps/force_fps=60
[display]
window/size/width=320
@ -76,42 +72,50 @@ texture={
"stream": false,
"svg/scale": 1.0
}
wav={
"compress/mode": 0,
"edit/loop": true,
"edit/normalize": false,
"edit/trim": false,
"force/8_bit": false,
"force/max_rate": false,
"force/max_rate_hz": 44100,
"force/mono": false
}
[input]
up={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":32,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":87,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
]
}
down={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":83,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
]
}
left={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":65,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
]
}
right={
"deadzone": 0.5,
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":68,"unicode":0,"echo":false,"script":null)
, Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
]
}
shoot={
"deadzone": 0.5,
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":-1,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null)
]
}
[layer_names]
2d_physics/layer_1="Player"
2d_physics/layer_2="World"
2d_physics/layer_3="Enemy"
2d_physics/layer_4="Projectiles"
[rendering]
environment/default_environment="res://default_env.tres"

View file

@ -96,3 +96,7 @@ func get_movement_weight():
func _on_Area2D_body_entered(body):
pass

7
script/typewriter.gd Normal file
View file

@ -0,0 +1,7 @@
extends Node
func _on_body_entered(body):
$AnimationPlayer.play("Type Writer")