mirror of
https://github.com/Dariasteam/Cows-Revenge.git
synced 2026-01-23 02:15:17 +00:00
Add smoke deployer sprite
This commit is contained in:
parent
c9c5673c2b
commit
277aebd335
13 changed files with 93 additions and 26 deletions
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
|
@ -1,4 +1,4 @@
|
|||
# Cow's Revenge ![]() [](https://pipoypipagames.itch.io/cows-revenge)
|
||||
# Cow's Revenge ![]() [](https://pipoypipagames.itch.io/cows-revenge)
|
||||
|
||||
Casual platform game project for learning purposes. Made with [godot engine 2.1.5](https://godotengine.org/).
|
||||
|
||||
|
|
|
|||
61
Scenes/Effects/scan_lines.tscn
Normal file
61
Scenes/Effects/scan_lines.tscn
Normal file
File diff suppressed because one or more lines are too long
|
|
@ -1,6 +1,6 @@
|
|||
[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/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]
|
||||
|
|
|
|||
|
|
@ -8,12 +8,12 @@
|
|||
[ext_resource path="res://Scenes/Events/cowbell_collector.gd" type="Script" id=6]
|
||||
[ext_resource path="res://Sound/player_jump.ogg" type="AudioStream" id=7]
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=4]
|
||||
[sub_resource type="ConvexPolygonShape2D" id=1]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
points = Vector2Array( -13.26, -5.39603, -9.45393, -8.08105, 6.94148, -8.08105, 11.3331, -5.21703, 11.3331, 4.27004, 9.28368, 8.56607, 1.37875, 13.0411, -3.59843, 13.0411, -11.7961, 8.38707, -13.26, 4.44904 )
|
||||
|
||||
[sub_resource type="ConvexPolygonShape2D" id=5]
|
||||
[sub_resource type="ConvexPolygonShape2D" id=2]
|
||||
|
||||
custom_solver_bias = 0.0
|
||||
points = Vector2Array( -13.26, -5.39603, -9.45393, -8.08105, 6.94148, -8.08105, 11.3331, -5.21703, 11.3331, 4.27004, 9.28368, 8.56607, 1.37875, 13.0411, -3.59843, 13.0411, -11.7961, 8.38707, -13.26, 4.44904 )
|
||||
|
|
@ -41,10 +41,10 @@ tracks/0/keys = {
|
|||
|
||||
transform/scale = Vector2( 1.8, 1.8 )
|
||||
input/pickable = false
|
||||
shapes/0/shape = SubResource( 4 )
|
||||
shapes/0/shape = SubResource( 1 )
|
||||
shapes/0/transform = Matrix32( 1.89755, 0, 0, 3.10364, 2.93931, -4.91934 )
|
||||
shapes/0/trigger = false
|
||||
shapes/1/shape = SubResource( 5 )
|
||||
shapes/1/shape = SubResource( 2 )
|
||||
shapes/1/transform = Matrix32( 1.89755, 0, 0, 3.10364, 2.93931, -4.91934 )
|
||||
shapes/1/trigger = true
|
||||
collision/layers = 1057
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[gd_scene load_steps=2 format=1]
|
||||
|
||||
[ext_resource path="res://player_spawner.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Scenes/Events/player_spawner.gd" type="Script" id=1]
|
||||
|
||||
[node name="player_spawner" type="Node2D"]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
[gd_scene load_steps=5 format=1]
|
||||
[gd_scene load_steps=6 format=1]
|
||||
|
||||
[ext_resource path="res://Scenes/Events/poison_smoke.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Sprites/Effects/leche.png" type="Texture" id=2]
|
||||
[ext_resource path="res://Sprites/Charasets/gas_deployer.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="ColorRamp" id=1]
|
||||
|
||||
|
|
@ -22,7 +23,7 @@ time = null
|
|||
[node name="P1" type="Particles2D" parent="."]
|
||||
|
||||
visibility/opacity = 0.5
|
||||
transform/pos = Vector2( 2.51537, 48.5533 )
|
||||
transform/pos = Vector2( -1.86014, 42.8179 )
|
||||
config/amount = 20
|
||||
config/lifetime = 0.5
|
||||
config/process_mode = 1
|
||||
|
|
@ -52,7 +53,7 @@ color/color_ramp = SubResource( 1 )
|
|||
|
||||
visibility/opacity = 0.2
|
||||
visibility/blend_mode = 1
|
||||
transform/pos = Vector2( 2.51537, 48.5533 )
|
||||
transform/pos = Vector2( -1.86014, 42.8179 )
|
||||
config/amount = 20
|
||||
config/lifetime = 0.5
|
||||
config/process_mode = 1
|
||||
|
|
@ -106,6 +107,13 @@ wait_time = 1.0
|
|||
one_shot = false
|
||||
autostart = true
|
||||
|
||||
[node name="Sprite" type="Sprite" parent="."]
|
||||
|
||||
transform/pos = Vector2( 0, 52.8254 )
|
||||
transform/scale = Vector2( 1, 1 )
|
||||
z/z = -1
|
||||
texture = ExtResource( 3 )
|
||||
|
||||
[connection signal="body_enter" from="Area2D" to="." method="_on_Area2D_body_enter"]
|
||||
|
||||
[connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"]
|
||||
|
|
|
|||
|
|
@ -376,6 +376,7 @@ transform/pos = Vector2( -930, -3300 )
|
|||
|
||||
[node name="cowbells" type="Node2D" parent="."]
|
||||
|
||||
editor/display_folded = true
|
||||
transform/pos = Vector2( 500, 560 )
|
||||
|
||||
[node name="Cowbell" parent="cowbells" instance=ExtResource( 9 )]
|
||||
|
|
@ -1796,6 +1797,8 @@ 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( -1570, -2640 )
|
||||
|
|
@ -2192,12 +2195,12 @@ time = 2.0
|
|||
|
||||
[node name="smoke1" parent="poison_smoke" instance=ExtResource( 16 )]
|
||||
|
||||
transform/pos = Vector2( -605.375, -3015.33 )
|
||||
transform/pos = Vector2( -600, -3030 )
|
||||
time = 1.0
|
||||
|
||||
[node name="smoke2" parent="poison_smoke" instance=ExtResource( 16 )]
|
||||
|
||||
transform/pos = Vector2( -383.767, -3015.33 )
|
||||
transform/pos = Vector2( -380, -3030 )
|
||||
time = 2.0
|
||||
|
||||
[node name="smoke4" parent="poison_smoke" instance=ExtResource( 16 )]
|
||||
|
|
@ -2207,17 +2210,17 @@ time = 1.0
|
|||
|
||||
[node name="smoke5" parent="poison_smoke" instance=ExtResource( 16 )]
|
||||
|
||||
transform/pos = Vector2( -500, -1710 )
|
||||
transform/pos = Vector2( -490, -1720 )
|
||||
time = 0.5
|
||||
|
||||
[node name="smoke6" parent="poison_smoke" instance=ExtResource( 16 )]
|
||||
|
||||
transform/pos = Vector2( -380, -1710 )
|
||||
transform/pos = Vector2( -380, -1720 )
|
||||
time = 1.0
|
||||
|
||||
[node name="smoke7" parent="poison_smoke" instance=ExtResource( 16 )]
|
||||
|
||||
transform/pos = Vector2( -2750, -820 )
|
||||
transform/pos = Vector2( -2740, -810 )
|
||||
transform/rot = -90.0
|
||||
time = 2.0
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=31 format=1]
|
||||
[gd_scene load_steps=32 format=1]
|
||||
|
||||
[ext_resource path="res://Scenes/Menu/level_selector.gd" type="Script" id=1]
|
||||
[ext_resource path="res://Scenes/Maps/map_0.tscn" type="PackedScene" id=2]
|
||||
|
|
@ -26,6 +26,7 @@
|
|||
[ext_resource path="res://Scenes/Menu/button_back.tscn" type="PackedScene" id=24]
|
||||
[ext_resource path="res://Scenes/Menu/in_game_menu.tscn" type="PackedScene" id=25]
|
||||
[ext_resource path="res://Scenes/Menu/ufo_store.tscn" type="PackedScene" id=26]
|
||||
[ext_resource path="res://Scenes/Effects/scan_lines.tscn" type="PackedScene" id=27]
|
||||
|
||||
[sub_resource type="Environment" id=1]
|
||||
|
||||
|
|
@ -392,6 +393,10 @@ margin/bottom = 686.0
|
|||
|
||||
[node name="Control" parent="Control" instance=ExtResource( 26 )]
|
||||
|
||||
[node name="ScanLine" parent="." instance=ExtResource( 27 )]
|
||||
|
||||
visibility/visible = false
|
||||
|
||||
[connection signal="pressed" from="Control/Buttons/Bttn_U" to="Control/Buttons" method="_on_Bttn_U_pressed"]
|
||||
|
||||
[connection signal="released" from="Control/Buttons/Bttn_U" to="Control/Buttons" method="_on_Bttn_U_released"]
|
||||
|
|
|
|||
BIN
Sprites/Charasets/gas_deployer.png
Normal file
BIN
Sprites/Charasets/gas_deployer.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 350 B |
|
|
@ -1,10 +0,0 @@
|
|||
extends Node2D
|
||||
|
||||
# class member variables go here, for example:
|
||||
# var a = 2
|
||||
# var b = "textvar"
|
||||
|
||||
func _ready():
|
||||
# Called every time the node is added to the scene.
|
||||
# Initialization here
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue