mirror of
https://github.com/Dariasteam/Cows-Revenge.git
synced 2026-01-23 02:15:17 +00:00
Change font and update texts
This commit is contained in:
parent
5ba43571c3
commit
47fef834e2
37 changed files with 192583 additions and 85197 deletions
Binary file not shown.
File diff suppressed because it is too large
Load diff
Binary file not shown.
|
Before Width: | Height: | Size: 30 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 60 KiB |
BIN
Fonts/Press_Start_2P/PressStart2P-Regular.ttf
Normal file
BIN
Fonts/Press_Start_2P/PressStart2P-Regular.ttf
Normal file
Binary file not shown.
BIN
Fonts/pixelated_regular.fnt
Normal file
BIN
Fonts/pixelated_regular.fnt
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
Fonts/pixelated_regular.sv.png
Normal file
BIN
Fonts/pixelated_regular.sv.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 75 KiB |
BIN
Fonts/pixelated_title.fnt
Normal file
BIN
Fonts/pixelated_title.fnt
Normal file
Binary file not shown.
121090
Fonts/pixelated_title.inc
Normal file
121090
Fonts/pixelated_title.inc
Normal file
File diff suppressed because it is too large
Load diff
BIN
Fonts/pixelated_title.sv.png
Normal file
BIN
Fonts/pixelated_title.sv.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 118 KiB |
|
|
@ -1,4 +1,5 @@
|
|||
Cave Story-Regular by enigmansmp1824
|
||||
(CC-BY-SA)
|
||||
https://fontlibrary.org/en/font/cave-story#Cave%20Story-Regular
|
||||
Press Start 2P by CodeMan38
|
||||
|
||||
(Open Font License)
|
||||
https://fonts.google.com/specimen/Press+Start+2P?selection.family=Press+Start+2P
|
||||
|
||||
|
|
|
|||
|
|
@ -22,5 +22,6 @@ All resources have been created using the following FLOSS:
|
|||
- [tuxguitar](http://tuxguitar.com.ar/)
|
||||
- [inkscape](https://inkscape.org/en/)
|
||||
|
||||
Font: [Cave Story-Regular by enigmansmp1824
|
||||
(CC-BY-SA)](https://fontlibrary.org/en/font/cave-story#Cave%20Story-Regular)
|
||||
Font: [Press Start 2P by CodeMan38 (Open Font License)](https://fonts.google.com/specimen/Press+Start+2P?selection.family=Press+Start+2P)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
[ext_resource path="res://Scenes/Events/player_spawner.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://Sprites/Charasets/cow.png" type="Texture" id=6]
|
||||
[ext_resource path="res://Sound/UFO_abduct.ogg" type="AudioStream" id=7]
|
||||
[ext_resource path="res://Fonts/Cave-Story-Regular.fnt" type="BitmapFont" id=8]
|
||||
[ext_resource path="res://Fonts/pixelated_regular.fnt" type="BitmapFont" id=8]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
|
||||
|
|
@ -499,10 +499,10 @@ focus/ignore_mouse = true
|
|||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = -206.484
|
||||
margin/top = -157.14
|
||||
margin/right = 201.516
|
||||
margin/bottom = -112.14
|
||||
margin/left = -202.0
|
||||
margin/top = -154.0
|
||||
margin/right = 204.0
|
||||
margin/bottom = -112.0
|
||||
custom_fonts/font = ExtResource( 8 )
|
||||
align = 1
|
||||
percent_visible = 1.0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
extends StaticBody2D
|
||||
|
||||
export(String) var text
|
||||
export(Array) var text
|
||||
|
||||
onready var foreground = get_node("Foreground")
|
||||
onready var background = get_node("Background")
|
||||
|
|
@ -17,7 +17,7 @@ func _ready():
|
|||
func open_cage():
|
||||
sound.play()
|
||||
|
||||
text_label.set_text(text)
|
||||
text_label.set_text( text[rand_range(0, text.size())])
|
||||
text_anim.play("Apear")
|
||||
|
||||
get_node("Area2D").queue_free()
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=4 format=1]
|
||||
|
||||
[ext_resource path="res://Fonts/Cave-Story-Titles.fnt" type="BitmapFont" id=1]
|
||||
[ext_resource path="res://Fonts/pixelated_regular.fnt" type="BitmapFont" id=1]
|
||||
|
||||
[sub_resource type="GDScript" id=1]
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ func _ready():
|
|||
#set_fixed_process(true)
|
||||
set_process(true)
|
||||
|
||||
func dissapear():
|
||||
func disappear():
|
||||
play_damage_sound()
|
||||
sprite.set_opacity(0)
|
||||
set_fixed_process(false)
|
||||
|
|
@ -45,10 +45,10 @@ func dissapear():
|
|||
|
||||
func die_by_jump():
|
||||
life = 0
|
||||
dissapear()
|
||||
disappear()
|
||||
|
||||
func die():
|
||||
dissapear()
|
||||
disappear()
|
||||
|
||||
func on_opacity_low ():
|
||||
sprite.set_modulate(Color("fb12e7"))
|
||||
|
|
@ -61,7 +61,6 @@ func play_damage_sound():
|
|||
var sample = sample_list[rand_range(0, sample_list.size())]
|
||||
sound.play(sample, 0)
|
||||
|
||||
|
||||
func decrease_life (value):
|
||||
play_damage_sound()
|
||||
hit_single.set_emitting(false)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=29 format=1]
|
||||
[gd_scene load_steps=28 format=1]
|
||||
|
||||
[ext_resource path="res://Scenes/Events/cage.tres.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Sprites/Charasets/jail.png" type="Texture" id=2]
|
||||
|
|
@ -23,7 +23,7 @@
|
|||
[ext_resource path="res://Sprites/Effects/jail_particles.png" type="Texture" id=21]
|
||||
[ext_resource path="res://Sprites/Effects/leche.png" type="Texture" id=22]
|
||||
[ext_resource path="res://Sound/cage_explosion.ogg" type="AudioStream" id=23]
|
||||
[ext_resource path="res://Fonts/Cave-Story-Regular.fnt" type="BitmapFont" id=24]
|
||||
[ext_resource path="res://Scenes/Events/text_dialog.tscn" type="PackedScene" id=24]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
|
||||
|
|
@ -39,38 +39,11 @@ animations = [ {
|
|||
"speed": 20.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="ColorRamp" id=4]
|
||||
[sub_resource type="ColorRamp" id=3]
|
||||
|
||||
offsets = FloatArray( 0, 0.00787402, 1 )
|
||||
colors = ColorArray( 0, 0, 0, 1, 0.71875, 0.71875, 0.71875, 1, 1, 1, 1, 0 )
|
||||
|
||||
[sub_resource type="Animation" id=5]
|
||||
|
||||
resource/name = "Apear"
|
||||
length = 0.7
|
||||
loop = false
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:visibility/opacity")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/imported = false
|
||||
tracks/0/keys = {
|
||||
"times": FloatArray( 0, 0.7 ),
|
||||
"transitions": FloatArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ 0.0, 1.0 ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath(".:rect/pos")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/imported = false
|
||||
tracks/1/keys = {
|
||||
"times": FloatArray( 0, 0.5 ),
|
||||
"transitions": FloatArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( -70, -44 ), Vector2( -70, -58 ) ]
|
||||
}
|
||||
|
||||
[node name="Cage" type="StaticBody2D" groups=[
|
||||
"cages",
|
||||
]]
|
||||
|
|
@ -86,11 +59,11 @@ constant_angular_velocity = 0.0
|
|||
friction = 1.0
|
||||
bounce = 0.0
|
||||
script/script = ExtResource( 1 )
|
||||
text = null
|
||||
text = [ "Vamos señores wuuu!", "Los astronautas no existen", "e=mc^2", "e_e", "Wiii", "cocococo", "Zzz...", "¡Ya era hora!", ":D", "Pos coman pinocha", "Alejate primo alejate", "Efectivamente", "Porque quiero que sepas que tú para mi eres un amigo pa siempre", "La gravedad no existe", "La caida de la gran babilonia", "FUAAAA!!", "Tu no me mandas", ":C", "No te pongas nervioso", "¿Donde esta la contaminacion que yo no la veo?", "seh seh seh seh", "Tu crees que arcadio va a llevar el coche al para?", "La psicologia es util", "C++ > Java", "GNU Not Unix", "Salchichas comodoro", "Ostia el workbook!", "Macarrones con tomatico ", "Yo soy tu padre", "" ]
|
||||
|
||||
[node name="Foreground" type="Sprite" parent="."]
|
||||
|
||||
z/z = 1
|
||||
z/z = -1
|
||||
texture = ExtResource( 2 )
|
||||
hframes = 2
|
||||
region_rect = Rect2( 0, 0, 78, 61 )
|
||||
|
|
@ -125,7 +98,6 @@ stream/buffering_ms = 500
|
|||
|
||||
frames = SubResource( 2 )
|
||||
animation = "Idle"
|
||||
frame = 11
|
||||
playing = true
|
||||
|
||||
[node name="Bars" type="Particles2D" parent="."]
|
||||
|
|
@ -159,7 +131,7 @@ params/anim_initial_pos = 0.0
|
|||
randomness/linear_velocity = 0.2
|
||||
randomness/spin_velocity = 0.2
|
||||
randomness/initial_angle = 10.0
|
||||
color/color_ramp = SubResource( 4 )
|
||||
color/color_ramp = SubResource( 3 )
|
||||
|
||||
[node name="Dust" type="Particles2D" parent="."]
|
||||
|
||||
|
|
@ -194,7 +166,7 @@ randomness/linear_velocity = 0.2
|
|||
randomness/spin_velocity = 0.2
|
||||
randomness/initial_angle = 10.0
|
||||
color/color = Color( 0.5, 0.5, 0.5, 1 )
|
||||
color/color_ramp = SubResource( 4 )
|
||||
color/color_ramp = SubResource( 3 )
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
|
||||
|
|
@ -228,34 +200,7 @@ stream/paused = false
|
|||
stream/loop_restart_time = 0.0
|
||||
stream/buffering_ms = 500
|
||||
|
||||
[node name="Text" type="Label" parent="."]
|
||||
|
||||
visibility/opacity = 0.0
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = -70.0
|
||||
margin/top = -44.0
|
||||
margin/right = 73.0
|
||||
margin/bottom = -23.0
|
||||
custom_fonts/font = ExtResource( 24 )
|
||||
text = "0"
|
||||
align = 1
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="Text"]
|
||||
|
||||
playback/process_mode = 1
|
||||
playback/default_blend_time = 0.0
|
||||
root/root = NodePath("..")
|
||||
anims/Apear = SubResource( 5 )
|
||||
playback/active = true
|
||||
playback/speed = 1.0
|
||||
blend_times = [ ]
|
||||
autoplay = ""
|
||||
[node name="Text" parent="." instance=ExtResource( 24 )]
|
||||
|
||||
[connection signal="body_enter" from="Area2D" to="." method="_on_Area2D_body_enter"]
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ onready var sound = get_node("sound")
|
|||
|
||||
var player
|
||||
|
||||
export var damage = 50
|
||||
export var damage = 120
|
||||
|
||||
var enabled = false
|
||||
const MAX_DISTANCE = 10000
|
||||
|
|
|
|||
34
Scenes/Events/on_map_text_dialog.tscn
Normal file
34
Scenes/Events/on_map_text_dialog.tscn
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
[gd_scene load_steps=4 format=1]
|
||||
|
||||
[ext_resource path="res://map_text_dialog.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Scenes/Events/text_dialog.tscn" type="PackedScene" id=2]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
extents = Vector2( 33, 32 )
|
||||
|
||||
[node name="Area2D" type="Area2D"]
|
||||
|
||||
input/pickable = true
|
||||
shapes/0/shape = SubResource( 1 )
|
||||
shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||||
shapes/0/trigger = false
|
||||
gravity_vec = Vector2( 0, 1 )
|
||||
gravity = 98.0
|
||||
linear_damp = 0.1
|
||||
angular_damp = 1.0
|
||||
script/script = ExtResource( 1 )
|
||||
text = null
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
|
||||
shape = SubResource( 1 )
|
||||
trigger = false
|
||||
_update_shape_index = 0
|
||||
|
||||
[node name="Text" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
[connection signal="body_enter" from="." to="." method="_on_Area2D_body_enter"]
|
||||
|
||||
|
||||
|
|
@ -241,9 +241,6 @@ func _ready():
|
|||
|
||||
emit_signal("set_max_life", life)
|
||||
emit_signal("update_life", life)
|
||||
|
||||
|
||||
|
||||
|
||||
func set_movement_left ():
|
||||
animation.play("walk")
|
||||
|
|
@ -299,8 +296,6 @@ func _input(ev):
|
|||
if (ev.is_action_pressed("ui_jump") and jump_key_released):
|
||||
jump_key_pressed = true
|
||||
|
||||
|
||||
|
||||
elif (ev.is_action_released("ui_jump")):
|
||||
jump_key_released = true
|
||||
jump_time = 0
|
||||
|
|
|
|||
|
|
@ -75,6 +75,7 @@ bullet_cost = 2
|
|||
|
||||
transform/pos = Vector2( -4.25251, 3.87422 )
|
||||
layer_mask = 30
|
||||
damage = 120
|
||||
|
||||
[node name="Collision_Normal" type="CollisionPolygon2D" parent="."]
|
||||
|
||||
|
|
|
|||
|
|
@ -18,11 +18,10 @@ cast_to = Vector2( 10000, 0 )
|
|||
layer_mask = 63
|
||||
type_mask = 11
|
||||
script/script = ExtResource( 1 )
|
||||
damage = 50
|
||||
damage = 120
|
||||
|
||||
[node name="end" parent="." instance=ExtResource( 2 )]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 0, -1 )
|
||||
transform/scale = Vector2( 0.5, 0.5 )
|
||||
z/z = 1
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ extends Area2D
|
|||
var body_hitted = null
|
||||
|
||||
func _fixed_process(delta):
|
||||
body_hitted.decrease_life(0.10)
|
||||
body_hitted.decrease_life(0.40)
|
||||
var t = Timer.new()
|
||||
t.set_wait_time(0.01)
|
||||
t.set_one_shot(true)
|
||||
|
|
@ -13,7 +13,7 @@ func _fixed_process(delta):
|
|||
|
||||
func _on_Area2D_body_enter( body ):
|
||||
if (body.is_in_group("enemy")):
|
||||
body.decrease_life(0.10)
|
||||
body.decrease_life(0.40)
|
||||
body.change_velocity(100, get_parent().get_parent().get_parent().shoot_dir.x > 0)
|
||||
body_hitted = body
|
||||
set_fixed_process(true)
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ func shoot_regular():
|
|||
player.decrease_milk(bullet_cost)
|
||||
|
||||
func shoot_laser():
|
||||
player.decrease_milk(0.1)
|
||||
player.decrease_milk(0.3)
|
||||
|
||||
func _process(delta):
|
||||
if (check_can_shoot()):
|
||||
|
|
|
|||
60
Scenes/Events/text_dialog.tscn
Normal file
60
Scenes/Events/text_dialog.tscn
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
[gd_scene load_steps=3 format=1]
|
||||
|
||||
[ext_resource path="res://Fonts/pixelated_regular.fnt" type="BitmapFont" id=1]
|
||||
|
||||
[sub_resource type="Animation" id=1]
|
||||
|
||||
resource/name = "Apear"
|
||||
length = 0.7
|
||||
loop = false
|
||||
step = 0.1
|
||||
tracks/0/type = "value"
|
||||
tracks/0/path = NodePath(".:visibility/opacity")
|
||||
tracks/0/interp = 1
|
||||
tracks/0/imported = false
|
||||
tracks/0/keys = {
|
||||
"times": FloatArray( 0, 0.7 ),
|
||||
"transitions": FloatArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ 0.0, 1.0 ]
|
||||
}
|
||||
tracks/1/type = "value"
|
||||
tracks/1/path = NodePath(".:rect/pos")
|
||||
tracks/1/interp = 1
|
||||
tracks/1/imported = false
|
||||
tracks/1/keys = {
|
||||
"times": FloatArray( 0, 0.5 ),
|
||||
"transitions": FloatArray( 1, 1 ),
|
||||
"update": 0,
|
||||
"values": [ Vector2( -195, -44 ), Vector2( -195, -58 ) ]
|
||||
}
|
||||
|
||||
[node name="Text" type="Label"]
|
||||
|
||||
focus/ignore_mouse = true
|
||||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = -195.0
|
||||
margin/top = -58.0
|
||||
margin/right = 195.0
|
||||
margin/bottom = 29.0
|
||||
custom_fonts/font = ExtResource( 1 )
|
||||
align = 1
|
||||
autowrap = true
|
||||
percent_visible = 1.0
|
||||
lines_skipped = 0
|
||||
max_lines_visible = -1
|
||||
|
||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||
|
||||
playback/process_mode = 1
|
||||
playback/default_blend_time = 0.0
|
||||
root/root = NodePath("..")
|
||||
anims/Apear = SubResource( 1 )
|
||||
playback/active = true
|
||||
playback/speed = 1.0
|
||||
blend_times = [ ]
|
||||
autoplay = ""
|
||||
|
||||
|
||||
473
Scenes/Maps/default_map.tscn
Normal file
473
Scenes/Maps/default_map.tscn
Normal file
|
|
@ -0,0 +1,473 @@
|
|||
[gd_scene load_steps=14 format=1]
|
||||
|
||||
[ext_resource path="res://Scenes/Maps/tileset.xml" type="TileSet" id=1]
|
||||
[ext_resource path="res://Sprites/Background/night_outside_d.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Sprites/Background/night_outside_c.png" type="Texture" id=3]
|
||||
[ext_resource path="res://Sprites/Background/night_outside_b.png" type="Texture" id=4]
|
||||
[ext_resource path="res://Sprites/Background/night_outside_a.png" type="Texture" id=5]
|
||||
[ext_resource path="res://Scenes/Events/enemy_1.tscn" type="PackedScene" id=6]
|
||||
[ext_resource path="res://Scenes/Events/apple.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://Scenes/Events/heart.tscn" type="PackedScene" id=8]
|
||||
[ext_resource path="res://Scenes/Events/cowbell.tscn" type="PackedScene" id=9]
|
||||
[ext_resource path="res://Scenes/Events/death_line.tscn" type="PackedScene" id=10]
|
||||
[ext_resource path="res://Scenes/Events/UFO.tscn" type="PackedScene" id=11]
|
||||
[ext_resource path="res://Music/dangerous-hills-loop.ogg" type="AudioStream" id=12]
|
||||
[ext_resource path="res://Scenes/Events/jail.tscn" type="PackedScene" id=13]
|
||||
|
||||
[node name="Level" type="Node2D"]
|
||||
|
||||
[node name="TileMap" type="TileMap" parent="."]
|
||||
|
||||
transform/pos = Vector2( 0, -1 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
z/z = -2
|
||||
mode = 0
|
||||
tile_set = ExtResource( 1 )
|
||||
cell/size = Vector2( 64, 64 )
|
||||
cell/quadrant_size = 16
|
||||
cell/custom_transform = Matrix32( 1, 0, 0, 1, 0, 0 )
|
||||
cell/half_offset = 2
|
||||
cell/tile_origin = 0
|
||||
cell/y_sort = false
|
||||
collision/use_kinematic = false
|
||||
collision/friction = 1.0
|
||||
collision/bounce = 0.0
|
||||
collision/layers = 2
|
||||
collision/mask = 15
|
||||
occluder/light_mask = 1
|
||||
tile_data = IntArray( )
|
||||
|
||||
[node name="ParallaxBackground" type="ParallaxBackground" parent="."]
|
||||
|
||||
layer = -1
|
||||
offset = Vector2( 0, 0 )
|
||||
rotation = 0.0
|
||||
scale = Vector2( 1, 1 )
|
||||
scroll/offset = Vector2( 0, 0 )
|
||||
scroll/base_offset = Vector2( 0, 0 )
|
||||
scroll/base_scale = Vector2( 1, 1 )
|
||||
scroll/limit_begin = Vector2( 1, 0 )
|
||||
scroll/limit_end = Vector2( 1, 0 )
|
||||
scroll/ignore_camera_zoom = true
|
||||
|
||||
[node name="ParallaxLayerd" type="ParallaxLayer" parent="ParallaxBackground"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 0, -352 )
|
||||
z/z = -4
|
||||
motion/scale = Vector2( 0.15, 0 )
|
||||
motion/offset = Vector2( 1, 2000 )
|
||||
motion/mirroring = Vector2( 0, 0 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayerd"]
|
||||
|
||||
transform/pos = Vector2( -3712, -2048 )
|
||||
transform/scale = Vector2( 6, 6 )
|
||||
texture = ExtResource( 2 )
|
||||
centered = false
|
||||
region = true
|
||||
region_rect = Rect2( 0, 0, 1024, 128 )
|
||||
|
||||
[node name="ParallaxLayerc" type="ParallaxLayer" parent="ParallaxBackground"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( -500, -352 )
|
||||
z/z = -3
|
||||
motion/scale = Vector2( 0.3, 0 )
|
||||
motion/offset = Vector2( 1, 2000 )
|
||||
motion/mirroring = Vector2( 0, 0 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayerc"]
|
||||
|
||||
transform/pos = Vector2( -3712, -2048 )
|
||||
transform/scale = Vector2( 6, 6 )
|
||||
texture = ExtResource( 3 )
|
||||
centered = false
|
||||
region = true
|
||||
region_rect = Rect2( 0, 0, 1200, 128 )
|
||||
|
||||
[node name="ParallaxLayerb" type="ParallaxLayer" parent="ParallaxBackground"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( -736, -352 )
|
||||
z/z = -2
|
||||
motion/scale = Vector2( 0.5, 0 )
|
||||
motion/offset = Vector2( 1, 2000 )
|
||||
motion/mirroring = Vector2( 0, 0 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayerb"]
|
||||
|
||||
transform/pos = Vector2( -3712, -2048 )
|
||||
transform/scale = Vector2( 6, 6 )
|
||||
texture = ExtResource( 4 )
|
||||
centered = false
|
||||
region = true
|
||||
region_rect = Rect2( 0, 0, 2048, 128 )
|
||||
|
||||
[node name="ParallaxLayera" type="ParallaxLayer" parent="ParallaxBackground"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( -736, -352 )
|
||||
z/z = -1
|
||||
motion/scale = Vector2( 0.8, 0 )
|
||||
motion/offset = Vector2( 1, 2000 )
|
||||
motion/mirroring = Vector2( 0, 0 )
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="ParallaxBackground/ParallaxLayera"]
|
||||
|
||||
transform/pos = Vector2( -3712, -2048 )
|
||||
transform/scale = Vector2( 6, 6 )
|
||||
texture = ExtResource( 5 )
|
||||
centered = false
|
||||
region = true
|
||||
region_rect = Rect2( -1000, 0, 2048, 128 )
|
||||
|
||||
[node name="enemies" type="Node2D" parent="."]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 2140, -960 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
|
||||
[node name="Enemy3" parent="enemies" instance=ExtResource( 6 )]
|
||||
|
||||
transform/pos = Vector2( -2240, -64 )
|
||||
transform/scale = Vector2( 1, 1 )
|
||||
|
||||
[node name="apples" type="Node2D" parent="."]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( -3140, -3460 )
|
||||
|
||||
[node name="Apple 2" parent="apples" instance=ExtResource( 7 )]
|
||||
|
||||
transform/pos = Vector2( -400, 370 )
|
||||
amount = 20
|
||||
|
||||
[node name="hearts" type="Node2D" parent="."]
|
||||
|
||||
editor/display_folded = true
|
||||
|
||||
[node name="Heart" parent="hearts" instance=ExtResource( 8 )]
|
||||
|
||||
transform/pos = Vector2( -3320, -3640 )
|
||||
|
||||
[node name="cowbells" type="Node2D" parent="."]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 500, 560 )
|
||||
|
||||
[node name="Cowbell" parent="cowbells" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( -16, -2301 )
|
||||
|
||||
[node name="Block" type="Node2D" parent="cowbells"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( -2550, -1250 )
|
||||
|
||||
[node name="Col" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col1" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 50, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col1" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col1" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col1" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col1" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col1" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col2" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 100, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col2" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col2" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col2" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col2" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col2" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col3" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 150, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col3" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col3" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col3" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col3" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col3" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col4" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 200, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col4" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col4" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col4" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col4" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col4" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col5" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 250, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col5" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col5" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col5" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col5" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col5" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col6" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 300, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col6" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col6" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col6" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col6" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col6" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col7" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 350, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col7" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col7" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col7" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col7" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col7" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col8" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 400, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col8" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col8" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col8" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col8" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col8" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col9" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 450, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col9" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col9" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col9" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col9" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col9" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="Col10" type="Node2D" parent="cowbells/Block"]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 500, 0 )
|
||||
|
||||
[node name="Cowbell18173" parent="cowbells/Block/Col10" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 20 )
|
||||
|
||||
[node name="Cowbell18174" parent="cowbells/Block/Col10" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 70 )
|
||||
|
||||
[node name="Cowbell18175" parent="cowbells/Block/Col10" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 120 )
|
||||
|
||||
[node name="Cowbell18176" parent="cowbells/Block/Col10" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 170 )
|
||||
|
||||
[node name="Cowbell18177" parent="cowbells/Block/Col10" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( 0, 220 )
|
||||
|
||||
[node name="death_line" parent="." instance=ExtResource( 10 )]
|
||||
|
||||
editor/display_folded = false
|
||||
transform/pos = Vector2( 24240, -320 )
|
||||
transform/scale = Vector2( 6889, 1 )
|
||||
|
||||
[node name="UFO" parent="." instance=ExtResource( 11 )]
|
||||
|
||||
transform/pos = Vector2( -1250, -3350 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
|
||||
[node name="StreamPlayer" type="StreamPlayer" parent="."]
|
||||
|
||||
stream/stream = ExtResource( 12 )
|
||||
stream/play = false
|
||||
stream/loop = true
|
||||
stream/volume_db = 1.0
|
||||
stream/autoplay = true
|
||||
stream/paused = false
|
||||
stream/loop_restart_time = 0.0
|
||||
stream/buffering_ms = 500
|
||||
|
||||
[node name="Cages" type="Node2D" parent="."]
|
||||
|
||||
editor/display_folded = true
|
||||
|
||||
[node name="jail" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( -1410, -2210 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
|
||||
|
||||
1262
Scenes/Maps/map_0.tscn
Normal file
1262
Scenes/Maps/map_0.tscn
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -114,7 +114,7 @@ collision/bounce = 0.0
|
|||
collision/layers = 2
|
||||
collision/mask = 15
|
||||
occluder/light_mask = 1
|
||||
tile_data = IntArray( -2097183, 32, -2031647, 38, -1966111, 31, -1900575, 38, -1835039, 31, -1179680, 32, -1114144, 31, -1048608, 38, -983072, 30 )
|
||||
tile_data = IntArray( -2359266, 31, -2097183, 32, -2031647, 38, -1966111, 31, -1900575, 38, -1835039, 31, -1179680, 32, -1114144, 31, -1048608, 38, -983072, 30 )
|
||||
|
||||
[node name="tile_base" type="TileMap" parent="." groups=[
|
||||
"map",
|
||||
|
|
@ -465,7 +465,6 @@ transform/pos = Vector2( -710, -1390 )
|
|||
|
||||
[node name="cowbells" type="Node2D" parent="."]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 500, 560 )
|
||||
|
||||
[node name="Cowbell" parent="cowbells" instance=ExtResource( 9 )]
|
||||
|
|
@ -520,10 +519,6 @@ transform/pos = Vector2( -3270, -2670 )
|
|||
|
||||
transform/pos = Vector2( -1418, -2238 )
|
||||
|
||||
[node name="Cowbell21" parent="cowbells" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( -1228, -2238 )
|
||||
|
||||
[node name="Cowbell22" parent="cowbells" instance=ExtResource( 9 )]
|
||||
|
||||
transform/pos = Vector2( -1028, -2238 )
|
||||
|
|
@ -2032,7 +2027,7 @@ transform/pos = Vector2( 0, 220 )
|
|||
[node name="death_line" parent="." instance=ExtResource( 10 )]
|
||||
|
||||
editor/display_folded = false
|
||||
transform/pos = Vector2( 24190, -350 )
|
||||
transform/pos = Vector2( 24240, -320 )
|
||||
transform/scale = Vector2( 6889, 1 )
|
||||
|
||||
[node name="UFO" parent="." instance=ExtResource( 11 )]
|
||||
|
|
@ -2057,60 +2052,55 @@ stream/buffering_ms = 500
|
|||
|
||||
transform/pos = Vector2( -1410, -2210 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "Wiii"
|
||||
|
||||
[node name="jail1" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( -1890, -2210 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = ":D"
|
||||
|
||||
[node name="jail2" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( -3170, -3080 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "Thankius!"
|
||||
|
||||
[node name="jail3" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( -2640, -470 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "¡Ya era hora!"
|
||||
|
||||
[node name="jail4" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( 1900, -1770 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "cocococo"
|
||||
|
||||
[node name="jail5" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( 3690, -2760 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "pio pio pio"
|
||||
|
||||
[node name="jail6" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( 4670, -1880 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "e=mc^2"
|
||||
|
||||
[node name="jail7" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( 2270, -3300 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "Zzz..."
|
||||
|
||||
[node name="jail10" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( -720, -1660 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
|
||||
[node name="jail8" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( 650, -2100 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "e_e"
|
||||
|
||||
[node name="jail9" parent="Cages" instance=ExtResource( 13 )]
|
||||
|
||||
transform/pos = Vector2( 2550, -1530 )
|
||||
transform/scale = Vector2( 1.7, 1.7 )
|
||||
text = "jijiji"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
[gd_scene load_steps=22 format=1]
|
||||
|
||||
[ext_resource path="res://Scenes/Menu/level_selector.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Scenes/Maps/map_1.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://Scenes/Maps/map_2.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://Scenes/Maps/map_0.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://Scenes/Maps/map_1.tscn" type="PackedScene" id=3]
|
||||
[ext_resource path="res://Scenes/Menu/life_hud.gd" type="Script" id=4]
|
||||
[ext_resource path="res://Scenes/Menu/buttons_hud.gd" type="Script" id=5]
|
||||
[ext_resource path="res://Sprites/GUI/Buttons/bttn_arrow.png" type="Texture" id=6]
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
[ext_resource path="res://Sprites/GUI/HUD/milkbar_outter_3.png" type="Texture" id=12]
|
||||
[ext_resource path="res://Sprites/GUI/HUD/milkbar_outter_1.png" type="Texture" id=13]
|
||||
[ext_resource path="res://Scenes/Menu/cowbells_hud.gd" type="Script" id=14]
|
||||
[ext_resource path="res://Fonts/Cave-Story-Titles.fnt" type="BitmapFont" id=15]
|
||||
[ext_resource path="res://Fonts/pixelated_title.fnt" type="BitmapFont" id=15]
|
||||
[ext_resource path="res://Sprites/Charasets/cowbell.png" type="Texture" id=16]
|
||||
[ext_resource path="res://Scenes/Events/cowbell_animation_one_shot.tres" type="Animation" id=17]
|
||||
[ext_resource path="res://Scenes/Events/cowbell_animations.tres" type="Animation" id=18]
|
||||
|
|
@ -88,7 +88,7 @@ margin/top = 0.0
|
|||
margin/right = 1280.0
|
||||
margin/bottom = 768.0
|
||||
script/script = ExtResource( 1 )
|
||||
levels = [ ExtResource( 2 ), ExtResource( 3 ) ]
|
||||
levels = [ ExtResource( 2 ), ExtResource( 3 ), null ]
|
||||
|
||||
[node name="Viewport" type="Viewport" parent="Control"]
|
||||
|
||||
|
|
@ -289,9 +289,9 @@ focus/stop_mouse = true
|
|||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 2
|
||||
margin/left = 630.0
|
||||
margin/top = 22.0
|
||||
margin/top = 30.0
|
||||
margin/right = 830.0
|
||||
margin/bottom = 73.0
|
||||
margin/bottom = 81.0
|
||||
custom_fonts/normal_font = ExtResource( 15 )
|
||||
bbcode/enabled = true
|
||||
bbcode/bbcode = "0"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
[gd_scene load_steps=3 format=1]
|
||||
[gd_scene load_steps=4 format=1]
|
||||
|
||||
[ext_resource path="res://Scenes/Menu/game_over.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Fonts/Cave-Story-Regular.fnt" type="BitmapFont" id=2]
|
||||
|
||||
[ext_resource path="res://Fonts/Cave-Story-Titles.fnt" type="BitmapFont" id=2]
|
||||
[ext_resource path="res://Fonts/Cave-Story-Regular.fnt" type="BitmapFont" id=3]
|
||||
|
||||
[node name="Node2D" type="Node2D"]
|
||||
|
||||
|
|
@ -49,11 +49,11 @@ focus/ignore_mouse = true
|
|||
focus/stop_mouse = true
|
||||
size_flags/horizontal = 2
|
||||
size_flags/vertical = 0
|
||||
margin/left = 275.0
|
||||
margin/top = -55.0
|
||||
margin/right = 520.0
|
||||
margin/bottom = 73.0
|
||||
custom_fonts/font = ExtResource( 2 )
|
||||
margin/left = 424.0
|
||||
margin/top = -60.0
|
||||
margin/right = 669.0
|
||||
margin/bottom = 68.0
|
||||
custom_fonts/font = ExtResource( 3 )
|
||||
text = "Game over"
|
||||
valign = 1
|
||||
autowrap = true
|
||||
|
|
|
|||
|
|
@ -12,9 +12,8 @@ func _ready():
|
|||
viewport.add_child(levels[0].instance())
|
||||
|
||||
func next_level():
|
||||
if (level_index < levels.size()):
|
||||
for element in viewport.get_children():
|
||||
element.queue_free()
|
||||
if (level_index < levels.size()):
|
||||
viewport.get_child(0).free()
|
||||
reset_hud()
|
||||
viewport.add_child(levels[level_index].instance())
|
||||
level_index += 1
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
[gd_scene load_steps=9 format=1]
|
||||
|
||||
[ext_resource path="res://Sprites/GUI/Buttons/btn_shoot.png" type="Texture" id=1]
|
||||
[ext_resource path="res://Fonts/Cave-Story-Titles.fnt" type="BitmapFont" id=2]
|
||||
[ext_resource path="res://Fonts/pixelated_title.fnt" type="BitmapFont" id=2]
|
||||
[ext_resource path="res://Scenes/Menu/bttn_play.gd" type="Script" id=3]
|
||||
[ext_resource path="res://Scenes/Menu/about_button.gd" type="Script" id=4]
|
||||
[ext_resource path="res://Music/dangerous_hills.ogg" type="AudioStream" id=5]
|
||||
|
|
|
|||
|
|
@ -16,7 +16,9 @@ export(Texture) var sprite3
|
|||
onready var sprites = [sprite1, sprite2, sprite3]
|
||||
|
||||
func reset_values():
|
||||
on_update_milk_bar(0)
|
||||
for element in get_children():
|
||||
element.queue_free()
|
||||
on_set_max_milk (max_value)
|
||||
|
||||
func on_set_max_milk (maxm):
|
||||
max_value = maxm
|
||||
|
|
|
|||
9
map_text_dialog.gd
Normal file
9
map_text_dialog.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
extends Area2D
|
||||
|
||||
export(String, MULTILINE) var text
|
||||
|
||||
func _on_Area2D_body_enter( body):
|
||||
if (body.is_in_group("player")):
|
||||
get_node("Text").set_text(text)
|
||||
get_node("Text/AnimationPlayer").play("Apear")
|
||||
get_node("CollisionShape2D").queue_free()
|
||||
|
|
@ -33,7 +33,7 @@ func abduct():
|
|||
sound.play()
|
||||
player.disable_player()
|
||||
anim.play("unvanish")
|
||||
cow_is_abducted = true
|
||||
cow_is_abducted = true
|
||||
|
||||
var rest = total_cages - player.cages_open
|
||||
if (rest > 0):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue