forked from team-sg/hero-mark-2
adjusted roller fiend
This commit is contained in:
parent
54f0880864
commit
124b5e16aa
6 changed files with 96 additions and 8 deletions
|
@ -10,24 +10,24 @@ shader = ExtResource( 4 )
|
|||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||
shader_param/border_corners = false
|
||||
|
||||
[sub_resource type="AtlasTexture" id=1]
|
||||
[sub_resource type="AtlasTexture" id=6]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 0, 0, 16, 16 )
|
||||
|
||||
[sub_resource type="AtlasTexture" id=2]
|
||||
[sub_resource type="AtlasTexture" id=7]
|
||||
atlas = ExtResource( 2 )
|
||||
region = Rect2( 16, 0, 16, 16 )
|
||||
|
||||
[sub_resource type="SpriteFrames" id=3]
|
||||
animations = [ {
|
||||
"frames": [ SubResource( 1 ), SubResource( 2 ) ],
|
||||
"frames": [ SubResource( 6 ), SubResource( 7 ) ],
|
||||
"loop": true,
|
||||
"name": "default",
|
||||
"speed": 10.0
|
||||
} ]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id=4]
|
||||
extents = Vector2( 4, 4 )
|
||||
extents = Vector2( 4.0094, 4.0094 )
|
||||
|
||||
[node name="RollingFiend" instance=ExtResource( 1 )]
|
||||
script = ExtResource( 3 )
|
||||
|
@ -45,7 +45,9 @@ playing = true
|
|||
position = Vector2( 0, 1 )
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Hitbox" index="0"]
|
||||
position = Vector2( -0.010025, 0.0104442 )
|
||||
rotation = -0.020475
|
||||
scale = Vector2( 1, 1 )
|
||||
shape = SubResource( 4 )
|
||||
|
||||
[node name="Raycasts" type="Node2D" parent="." index="2"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue