forked from team-sg/hero-mark-2
added crates!
This commit is contained in:
parent
002184cc64
commit
3d3b7ce0cf
4 changed files with 68 additions and 14 deletions
BIN
graphics/rock/crate.png
Normal file
BIN
graphics/rock/crate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 189 B |
35
graphics/rock/crate.png.import
Normal file
35
graphics/rock/crate.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/crate.png-54bfd00030ca25c3153cb46f1941a534.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/rock/crate.png"
|
||||
dest_files=[ "res://.import/crate.png-54bfd00030ca25c3153cb46f1941a534.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
|
||||
process/normal_map_invert_y=false
|
||||
stream=false
|
||||
size_limit=0
|
||||
detect_3d=true
|
||||
svg/scale=1.0
|
|
@ -7,7 +7,7 @@
|
|||
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=5]
|
||||
[ext_resource path="res://scripts/delete_on_game_running.gd" type="Script" id=6]
|
||||
[ext_resource path="res://objects/enemy/steam.tscn" type="PackedScene" id=7]
|
||||
[ext_resource path="res://objects/environment/rock/rock.tscn" type="PackedScene" id=8]
|
||||
[ext_resource path="res://objects/environment/rock/crate.tscn" type="PackedScene" id=8]
|
||||
[ext_resource path="res://objects/environment/turniwood/turning_platform.tscn" type="PackedScene" id=9]
|
||||
[ext_resource path="res://graphics/secret/i_cant_take_it_anymore.png" type="Texture" id=10]
|
||||
[ext_resource path="res://objects/enemy/rolling_saw.tscn" type="PackedScene" id=11]
|
||||
|
@ -77,15 +77,6 @@ tile_data = PoolIntArray( 196618, 0, 196608, 262154, 0, 196608, 327690, 0, 19660
|
|||
|
||||
[node name="Environment" type="Node2D" parent="."]
|
||||
|
||||
[node name="Rock" parent="Environment" instance=ExtResource( 8 )]
|
||||
position = Vector2( 314, 145 )
|
||||
|
||||
[node name="Rock4" parent="Environment" instance=ExtResource( 8 )]
|
||||
position = Vector2( 536, 80 )
|
||||
|
||||
[node name="Rock2" parent="Environment" instance=ExtResource( 8 )]
|
||||
position = Vector2( 146, 113 )
|
||||
|
||||
[node name="TurningPlatform" parent="Environment" instance=ExtResource( 9 )]
|
||||
position = Vector2( 88, 160 )
|
||||
time = 30.0
|
||||
|
@ -159,6 +150,15 @@ position = Vector2( 332, 63 )
|
|||
scale = Vector2( 1, 17 )
|
||||
cost = 15
|
||||
|
||||
[node name="Rock3" parent="Environment" instance=ExtResource( 8 )]
|
||||
position = Vector2( 146, 113 )
|
||||
|
||||
[node name="Rock5" parent="Environment" instance=ExtResource( 8 )]
|
||||
position = Vector2( 314, 145 )
|
||||
|
||||
[node name="Rock6" parent="Environment" instance=ExtResource( 8 )]
|
||||
position = Vector2( 536, 80 )
|
||||
|
||||
[node name="Enemies" type="Node2D" parent="."]
|
||||
|
||||
[node name="Steam" parent="Enemies" groups=["button1"] instance=ExtResource( 7 )]
|
||||
|
@ -239,13 +239,16 @@ up_boundary = 5.0
|
|||
down_boundary = 2.0
|
||||
|
||||
[node name="Tin5" parent="Enemies" instance=ExtResource( 12 )]
|
||||
position = Vector2( 360, 168 )
|
||||
up_boundary = 6.0
|
||||
position = Vector2( 368, 160 )
|
||||
up_boundary = 5.0
|
||||
down_boundary = 1.0
|
||||
speed = 40
|
||||
|
||||
[node name="Tin6" parent="Enemies" instance=ExtResource( 12 )]
|
||||
position = Vector2( 408, 160 )
|
||||
up_boundary = 6.0
|
||||
up_boundary = 5.0
|
||||
down_boundary = 1.0
|
||||
speed = 40
|
||||
move_direction = 1
|
||||
|
||||
[node name="Tin2" parent="Enemies" instance=ExtResource( 12 )]
|
||||
|
@ -284,7 +287,6 @@ on_time = inf
|
|||
|
||||
[node name="Roboturret" parent="Enemies" instance=ExtResource( 13 )]
|
||||
position = Vector2( 200, 168 )
|
||||
shoot_time = 2.5
|
||||
|
||||
[node name="Roboturret5" parent="Enemies" instance=ExtResource( 13 )]
|
||||
position = Vector2( 392, 105 )
|
||||
|
|
17
objects/environment/rock/crate.tscn
Normal file
17
objects/environment/rock/crate.tscn
Normal file
|
@ -0,0 +1,17 @@
|
|||
[gd_scene load_steps=5 format=2]
|
||||
|
||||
[ext_resource path="res://objects/environment/rock/rock.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=2]
|
||||
[ext_resource path="res://graphics/rock/crate.png" type="Texture" id=3]
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=1]
|
||||
shader = ExtResource( 2 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = true
|
||||
|
||||
[node name="Rock" instance=ExtResource( 1 )]
|
||||
|
||||
[node name="Sprite" parent="." index="0"]
|
||||
material = SubResource( 1 )
|
||||
position = Vector2( 0, 0 )
|
||||
texture = ExtResource( 3 )
|
Loading…
Add table
Add a link
Reference in a new issue