forked from team-sg/hero-mark-2
best attempt at a sawblad :(
This commit is contained in:
parent
4698dc2b0e
commit
793e7ef11e
3 changed files with 67 additions and 2 deletions
BIN
graphics/enemy/sawblade.png
Normal file
BIN
graphics/enemy/sawblade.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
35
graphics/enemy/sawblade.png.import
Normal file
35
graphics/enemy/sawblade.png.import
Normal file
|
@ -0,0 +1,35 @@
|
|||
[remap]
|
||||
|
||||
importer="texture"
|
||||
type="StreamTexture"
|
||||
path="res://.import/sawblade.png-119b741e5fae47e2364714ec95e18dd2.stex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://graphics/enemy/sawblade.png"
|
||||
dest_files=[ "res://.import/sawblade.png-119b741e5fae47e2364714ec95e18dd2.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
|
|
@ -1,4 +1,4 @@
|
|||
[gd_scene load_steps=21 format=2]
|
||||
[gd_scene load_steps=27 format=2]
|
||||
|
||||
[ext_resource path="res://objects/player/player.tscn" type="PackedScene" id=1]
|
||||
[ext_resource path="res://tilesets/t_cave.tres" type="TileSet" id=2]
|
||||
|
@ -16,13 +16,36 @@
|
|||
[ext_resource path="res://objects/environment/falling_block/falling_block.tscn" type="PackedScene" id=14]
|
||||
[ext_resource path="res://objects/environment/moving_platform/moving_platform.tscn" type="PackedScene" id=15]
|
||||
[ext_resource path="res://objects/respawn_point.tscn" type="PackedScene" id=16]
|
||||
[ext_resource path="res://scripts/1px_border.gdshader" type="Shader" id=17]
|
||||
[ext_resource path="res://objects/enemy/mine.tscn" type="PackedScene" id=18]
|
||||
[ext_resource path="res://objects/enemy/explosion.tscn" type="PackedScene" id=19]
|
||||
[ext_resource path="res://objects/enemy/tin.tscn" type="PackedScene" id=20]
|
||||
[ext_resource path="res://graphics/enemy/sawblade.png" type="Texture" id=21]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=1]
|
||||
extents = Vector2( 16, 20 )
|
||||
|
||||
[sub_resource type="ShaderMaterial" id=4]
|
||||
shader = ExtResource( 17 )
|
||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = false
|
||||
|
||||
[sub_resource type="AtlasTexture" id=2]
|
||||
atlas = ExtResource( 21 )
|
||||
region = Rect2( 0, 0, 12, 12 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=3]
|
||||
atlas = ExtResource( 21 )
|
||||
region = Rect2( 12, 0, 12, 12 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=5]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 2 ), SubResource( 3 ) ],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"speed": 10.0
|
||||
} ]
|
||||
|
||||
[node name="Map2" type="Node2D" groups=["map"]]
|
||||
script = ExtResource( 11 )
|
||||
|
||||
|
@ -31,7 +54,7 @@ current = false
|
|||
|
||||
[node name="Sprite" type="Sprite" parent="Camera2D"]
|
||||
position = Vector2( 128, 96 )
|
||||
z_index = -2
|
||||
z_index = -50
|
||||
texture = ExtResource( 7 )
|
||||
__meta__ = {
|
||||
"_edit_lock_": true
|
||||
|
@ -136,3 +159,10 @@ down_boundary = 3.0
|
|||
position = Vector2( 32, 72 )
|
||||
up_boundary = 3.0
|
||||
down_boundary = 3.0
|
||||
|
||||
[node name="SawTest" type="AnimatedSprite" parent="."]
|
||||
material = SubResource( 4 )
|
||||
position = Vector2( 40, 128 )
|
||||
z_index = -3
|
||||
frames = SubResource( 5 )
|
||||
playing = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue