Proyecto organizado

This commit is contained in:
dariasteam 2017-08-03 22:34:07 +01:00
parent c7ad5736c6
commit 62134d035b
164 changed files with 321 additions and 431 deletions

View file

@ -1,7 +1,4 @@
[Dolphin]
PreviewsShown=true
Timestamp=2017,7,30,22,3,44
Timestamp=2017,8,3,21,6,26
Version=4
[Settings]
HiddenFilesShown=true

View file

@ -4,15 +4,15 @@
[ext_resource path="res://life_hud.gd" type="Script" id=2]
[ext_resource path="res://corazon2.tex" type="Texture" id=3]
[ext_resource path="res://buttons_hud.gd" type="Script" id=4]
[ext_resource path="res://flexa.png" type="Texture" id=5]
[ext_resource path="res://btn_jump.png" type="Texture" id=6]
[ext_resource path="res://icon.png" type="Texture" id=7]
[ext_resource path="res://btn_shoot.png" type="Texture" id=8]
[ext_resource path="res://Sprites/GUI/Buttons/bttn_arrow.png" type="Texture" id=5]
[ext_resource path="res://Sprites/GUI/Buttons/bttn_jump.png" type="Texture" id=6]
[ext_resource path="res://Sprites/GUI/Buttons/bttn.png" type="Texture" id=7]
[ext_resource path="res://Sprites/GUI/Buttons/btn_shoot.png" type="Texture" id=8]
[ext_resource path="res://milk_botte_hud.gd" type="Script" id=9]
[ext_resource path="res://leite,kra.png" type="Texture" id=10]
[ext_resource path="res://boterosadito.png" type="Texture" id=11]
[ext_resource path="res://boteasul.png" type="Texture" id=12]
[ext_resource path="res://botejeje.png" type="Texture" id=13]
[ext_resource path="res://Sprites/GUI/HUD/milbar_outter_2.png" type="Texture" id=10]
[ext_resource path="res://Sprites/GUI/HUD/milkbar_outter_3.png" type="Texture" id=11]
[ext_resource path="res://Sprites/GUI/HUD/milkbar_outter_1.png" type="Texture" id=12]
[ext_resource path="res://Sprites/GUI/HUD/milkbar_inner.png" type="Texture" id=13]
[sub_resource type="Environment" id=1]
@ -126,7 +126,6 @@ region_rect = Rect2( 180, 140, 145, 150 )
"buttons_hud",
]]
editor/display_folded = true
script/script = ExtResource( 4 )
[node name="Bttn_U" type="TouchScreenButton" parent="Control/Buttons"]
@ -161,9 +160,9 @@ visibility_mode = 0
[node name="Bttn_AS" type="TouchScreenButton" parent="Control/Buttons"]
visibility/opacity = 0.5
visibility/opacity = 0.8
transform/pos = Vector2( 1088, 384 )
transform/scale = Vector2( 2, 2 )
transform/scale = Vector2( 0.474074, 0.481203 )
normal = ExtResource( 7 )
pressed = null
bitmask = null
@ -271,6 +270,7 @@ visibility_mode = 0
"milk_hud",
]]
editor/display_folded = true
transform/pos = Vector2( 1205, 73 )
transform/scale = Vector2( 2, 2 )
script/script = ExtResource( 9 )
@ -478,9 +478,9 @@ radial_fill/center_offset = Vector2( 0, 0 )
[connection signal="released" from="Control/Buttons/Bttn_A" to="Control/Buttons" method="_on_Bttn_A_released"]
[connection signal="pressed" from="Control/Buttons/Bttn_AS" to="." method="_on_Bttn_AS_pressed"]
[connection signal="pressed" from="Control/Buttons/Bttn_AS" to="Control/Buttons" method="_on_Bttn_AS_pressed"]
[connection signal="released" from="Control/Buttons/Bttn_AS" to="." method="_on_Bttn_AS_released"]
[connection signal="released" from="Control/Buttons/Bttn_AS" to="Control/Buttons" method="_on_Bttn_AS_released"]
[connection signal="pressed" from="Control/Buttons/Bttn_S" to="Control/Buttons" method="_on_Bttn_S_pressed"]

View file

@ -1,6 +1,6 @@
[gd_scene load_steps=2 format=1]
[ext_resource path="res://leche.png" type="Texture" id=1]
[ext_resource path="res://Sprites/Effects/leche.png" type="Texture" id=1]
[node name="Splash" type="Particles2D"]

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 557 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 690 B

View file

@ -0,0 +1 @@
repeat=true

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -0,0 +1 @@
repeat=true

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 3 KiB

After

Width:  |  Height:  |  Size: 3 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 147 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 279 B

After

Width:  |  Height:  |  Size: 279 B

Before After
Before After

View file

@ -0,0 +1 @@
repeat=true

View file

Before

Width:  |  Height:  |  Size: 293 B

After

Width:  |  Height:  |  Size: 293 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 61 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 57 KiB

After

Width:  |  Height:  |  Size: 57 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 75 KiB

After

Width:  |  Height:  |  Size: 75 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 984 B

After

Width:  |  Height:  |  Size: 984 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 631 B

After

Width:  |  Height:  |  Size: 631 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 478 B

After

Width:  |  Height:  |  Size: 478 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 612 B

After

Width:  |  Height:  |  Size: 612 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 651 B

After

Width:  |  Height:  |  Size: 651 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1,008 B

After

Width:  |  Height:  |  Size: 1,008 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 386 B

After

Width:  |  Height:  |  Size: 386 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 414 B

After

Width:  |  Height:  |  Size: 414 B

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1 KiB

Before After
Before After

View file

Before

Width:  |  Height:  |  Size: 870 B

After

Width:  |  Height:  |  Size: 870 B

Before After
Before After

BIN
Sprites/Tilesets/tile full.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

View file

Before

Width:  |  Height:  |  Size: 925 B

After

Width:  |  Height:  |  Size: 925 B

Before After
Before After

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=4 format=1]
[ext_resource path="res://manzana.gd" type="Script" id=1]
[ext_resource path="res://manzana.tex" type="Texture" id=2]
[ext_resource path="res://Sprites/Charasets/manzana.png" type="Texture" id=2]
[sub_resource type="RectangleShape2D" id=1]

View file

@ -1,7 +1,7 @@
[gd_scene load_steps=5 format=1]
[ext_resource path="res://bullet.gd" type="Script" id=1]
[ext_resource path="res://leche.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Effects/leche.png" type="Texture" id=2]
[ext_resource path="res://Splash.tscn" type="PackedScene" id=3]
[sub_resource type="CircleShape2D" id=1]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

View file

@ -1 +0,0 @@
filter=false

View file

@ -1,3 +0,0 @@
filter=false
gen_mipmaps=false
repeat=true

View file

@ -22,13 +22,12 @@ func reverse_direction():
dir_left = !dir_left
v = Vector2(-v.x,0)
func _ready():
func _ready():
if (!dir_left):
reverse_direction()
set_fixed_process(true)
#set_process(true)
func dissapear():
sprite.set_opacity(0)
set_fixed_process(false)
@ -78,9 +77,6 @@ func decrease_life (value):
life -= value
if (life <= 0):
die()
#func _fixed_process(delta):
func restore_velocity():
if(dir_left):
@ -115,7 +111,7 @@ func _fixed_process(delta):
reverse_direction()
func _on_area_body_body_enter( body ):
if (body.is_in_group("player") and life > 0 and body.can_receive_damage()):
if (body.is_in_group("player") and life > 0):
body.on_receive_damage(damage)
func _on_area_head_body_enter( body ):

View file

@ -1,17 +1,17 @@
[gd_scene load_steps=22 format=1]
[ext_resource path="res://enemy_1.gd" type="Script" id=1]
[ext_resource path="res://malvado_caminando0000.tex" type="Texture" id=2]
[ext_resource path="res://malvado_caminando0001.tex" type="Texture" id=3]
[ext_resource path="res://malvado_caminando0002.tex" type="Texture" id=4]
[ext_resource path="res://malvado_caminando0003.tex" type="Texture" id=5]
[ext_resource path="res://malvado_caminando0004.tex" type="Texture" id=6]
[ext_resource path="res://malvado_caminando0005.tex" type="Texture" id=7]
[ext_resource path="res://malvado_caminando0006.tex" type="Texture" id=8]
[ext_resource path="res://malvado_caminando0007.tex" type="Texture" id=9]
[ext_resource path="res://malvado_caminando0008.tex" type="Texture" id=10]
[ext_resource path="res://malvado_caminando0009.tex" type="Texture" id=11]
[ext_resource path="res://sangre.png" type="Texture" id=12]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk1.png" type="Texture" id=2]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk10.png" type="Texture" id=3]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk2.png" type="Texture" id=4]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk3.png" type="Texture" id=5]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk4.png" type="Texture" id=6]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk5.png" type="Texture" id=7]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk6.png" type="Texture" id=8]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk7.png" type="Texture" id=9]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk8.png" type="Texture" id=10]
[ext_resource path="res://Sprites/Charasets/Enemy_1/enemy_walk9.png" type="Texture" id=11]
[ext_resource path="res://Sprites/Effects/sangre.png" type="Texture" id=12]
[sub_resource type="ConvexPolygonShape2D" id=1]
@ -63,8 +63,8 @@ offsets = FloatArray( 0, 1 )
colors = ColorArray( 0.773438, 0.773438, 0.773438, 1, 0.1875, 0.1875, 0.1875, 1 )
[node name="KinematicBody2D 2" type="KinematicBody2D" groups=[
"enemy",
"enemy_1",
"enemy",
]]
transform/pos = Vector2( 64.3, -80 )
@ -157,7 +157,7 @@ trigger = true
transform/pos = Vector2( 3.8147e-06, 0 )
frames = SubResource( 8 )
animation = "walking"
frame = 7
frame = 2
playing = true
[node name="hit_ray_particle" type="Particles2D" parent="."]

View file

@ -1,13 +1,18 @@
[application]
name="CowRevenge"
name="Cow's Revenge"
main_scene="res://menu.tscn"
icon="res://icon.png"
icon="res://Sprites/GUI/Buttons/btn_shoot.png"
[autoload]
global="*res://global.gd"
[debug]
force_fps=60
print_fps=true
[display]
use_2d_pixel_snap=false
@ -20,6 +25,10 @@ stretch_mode="viewport"
fullscreen=false
orientation="landscape"
[display.Android]
driver="GLES2"
[image_loader]
filter=false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

View file

@ -1,3 +0,0 @@
filter=false
gen_mipmaps=false
repeat=true

BIN
fondo.tex

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 647 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 544 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Binary file not shown.

View file

@ -14,6 +14,5 @@ func _on_reset_pressed():
get_tree().change_scene(global.level)
func _on_main_menu_pressed():
global.release_all()
func _on_main_menu_pressed():
get_tree().change_scene("res://menu.tscn")

View file

@ -1,21 +1,9 @@
extends Node
# class member variables go here, for example:
# var a = 2
# var b = "textvar"
var level
func release_all():
Input.action_release("ui_up")
Input.action_release("ui_right")
Input.action_release("ui_left")
Input.action_release("ui_up")
Input.action_release("ui_down")
Input.action_release("ui_jump")
Input.action_release("ui_shoot")
pass
func _ready():
# Called every time the node is added to the scene.
# Initialization here
pass

BIN
icon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

View file

@ -1,2 +0,0 @@
filter=false
gen_mipmaps=false

View file

@ -1,2 +0,0 @@
filter=false
gen_mipmaps=false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.3 KiB

View file

@ -1,2 +0,0 @@
filter=false
gen_mipmaps=false

Binary file not shown.

View file

@ -1,2 +0,0 @@
filter=false
gen_mipmaps=false

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show more