msx is now a stinky catgirl
This commit is contained in:
parent
e7c96298da
commit
6946592a6e
8 changed files with 180 additions and 11 deletions
BIN
graphics/npc/msx_give.png
Normal file
BIN
graphics/npc/msx_give.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 411 B |
35
graphics/npc/msx_give.png.import
Normal file
35
graphics/npc/msx_give.png.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/msx_give.png-ae86958a670c41e2764ea07957b7c651.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://graphics/npc/msx_give.png"
|
||||||
|
dest_files=[ "res://.import/msx_give.png-ae86958a670c41e2764ea07957b7c651.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
|
BIN
graphics/npc/msx_idle.png
Normal file
BIN
graphics/npc/msx_idle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 305 B |
35
graphics/npc/msx_idle.png.import
Normal file
35
graphics/npc/msx_idle.png.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/msx_idle.png-904e9b439d6f605dfe60ef477bd6d3fc.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://graphics/npc/msx_idle.png"
|
||||||
|
dest_files=[ "res://.import/msx_idle.png-904e9b439d6f605dfe60ef477bd6d3fc.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
|
BIN
graphics/npc/msx_walk.png
Normal file
BIN
graphics/npc/msx_walk.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 439 B |
35
graphics/npc/msx_walk.png.import
Normal file
35
graphics/npc/msx_walk.png.import
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
[remap]
|
||||||
|
|
||||||
|
importer="texture"
|
||||||
|
type="StreamTexture"
|
||||||
|
path="res://.import/msx_walk.png-02e0194c211bff92277c716918f63d22.stex"
|
||||||
|
metadata={
|
||||||
|
"vram_texture": false
|
||||||
|
}
|
||||||
|
|
||||||
|
[deps]
|
||||||
|
|
||||||
|
source_file="res://graphics/npc/msx_walk.png"
|
||||||
|
dest_files=[ "res://.import/msx_walk.png-02e0194c211bff92277c716918f63d22.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
|
|
@ -26,10 +26,10 @@ func _physics_process(delta):
|
||||||
anims.play("walk")
|
anims.play("walk")
|
||||||
#Stop at the end of path and give shard
|
#Stop at the end of path and give shard
|
||||||
if position.x <= 80:
|
if position.x <= 80:
|
||||||
Console.print(Game.shards_collected)
|
|
||||||
is_moving = false
|
is_moving = false
|
||||||
velocity.x = 0
|
velocity.x = 0
|
||||||
if is_holding_shard:
|
if is_holding_shard:
|
||||||
|
anims.play("give")
|
||||||
var ShardInstance = shard.instance()
|
var ShardInstance = shard.instance()
|
||||||
ShardInstance.global_position = Vector2(shard_position.global_position.x,shard_position.global_position.y)
|
ShardInstance.global_position = Vector2(shard_position.global_position.x,shard_position.global_position.y)
|
||||||
ShardInstance.number = 1
|
ShardInstance.number = 1
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
[gd_scene load_steps=28 format=2]
|
[gd_scene load_steps=29 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://graphics/player/sg_walk.png" type="Texture" id=1]
|
[ext_resource path="res://shaders/1px_border.gdshader" type="Shader" id=1]
|
||||||
[ext_resource path="res://graphics/player/sg_idle.png" type="Texture" id=2]
|
[ext_resource path="res://graphics/npc/msx_give.png" type="Texture" id=2]
|
||||||
[ext_resource path="res://graphics/player/pal_purplearmor.png" type="Texture" id=3]
|
[ext_resource path="res://graphics/npc/msx_walk.png" type="Texture" id=3]
|
||||||
[ext_resource path="res://graphics/player/sg_shoot_air.png" type="Texture" id=4]
|
[ext_resource path="res://graphics/player/sg_shoot_air.png" type="Texture" id=4]
|
||||||
[ext_resource path="res://graphics/player/sg_doublejump.png" type="Texture" id=5]
|
[ext_resource path="res://graphics/player/sg_doublejump.png" type="Texture" id=5]
|
||||||
[ext_resource path="res://graphics/player/sg_climb.png" type="Texture" id=6]
|
[ext_resource path="res://graphics/player/sg_climb.png" type="Texture" id=6]
|
||||||
|
@ -10,7 +10,7 @@
|
||||||
[ext_resource path="res://graphics/player/sg_shoot_grounded.png" type="Texture" id=8]
|
[ext_resource path="res://graphics/player/sg_shoot_grounded.png" type="Texture" id=8]
|
||||||
[ext_resource path="res://graphics/player/sword_stab.png" type="Texture" id=9]
|
[ext_resource path="res://graphics/player/sword_stab.png" type="Texture" id=9]
|
||||||
[ext_resource path="res://graphics/player/sg_jump.png" type="Texture" id=10]
|
[ext_resource path="res://graphics/player/sg_jump.png" type="Texture" id=10]
|
||||||
[ext_resource path="res://shaders/recolor_border.shader" type="Shader" id=11]
|
[ext_resource path="res://graphics/npc/msx_idle.png" type="Texture" id=11]
|
||||||
[ext_resource path="res://scripts/snap_sprite.gd" type="Script" id=12]
|
[ext_resource path="res://scripts/snap_sprite.gd" type="Script" id=12]
|
||||||
[ext_resource path="res://objects/npc/msx.gd" type="Script" id=13]
|
[ext_resource path="res://objects/npc/msx.gd" type="Script" id=13]
|
||||||
[ext_resource path="res://graphics/particles/blood.png" type="Texture" id=14]
|
[ext_resource path="res://graphics/particles/blood.png" type="Texture" id=14]
|
||||||
|
@ -186,6 +186,71 @@ tracks/2/keys = {
|
||||||
"values": [ Rect2( 1, 0, 20, 20 ), Rect2( 1, 0, 20, 20 ), Rect2( 1, 0, 20, 0 ) ]
|
"values": [ Rect2( 1, 0, 20, 20 ), Rect2( 1, 0, 20, 20 ), Rect2( 1, 0, 20, 0 ) ]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id=15]
|
||||||
|
resource_name = "give"
|
||||||
|
length = 0.5
|
||||||
|
step = 0.06
|
||||||
|
tracks/0/type = "value"
|
||||||
|
tracks/0/path = NodePath("Sprite:region_rect")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/keys = {
|
||||||
|
"times": PoolRealArray( 0, 0.18, 0.48 ),
|
||||||
|
"transitions": PoolRealArray( 1, 1, 1 ),
|
||||||
|
"update": 1,
|
||||||
|
"values": [ Rect2( 0, 0, 20, 20 ), Rect2( 20, 0, 20, 20 ), Rect2( 0, 0, 20, 20 ) ]
|
||||||
|
}
|
||||||
|
tracks/1/type = "value"
|
||||||
|
tracks/1/path = NodePath("Sprite:texture")
|
||||||
|
tracks/1/interp = 1
|
||||||
|
tracks/1/loop_wrap = true
|
||||||
|
tracks/1/imported = false
|
||||||
|
tracks/1/enabled = true
|
||||||
|
tracks/1/keys = {
|
||||||
|
"times": PoolRealArray( 0 ),
|
||||||
|
"transitions": PoolRealArray( 1 ),
|
||||||
|
"update": 1,
|
||||||
|
"values": [ ExtResource( 2 ) ]
|
||||||
|
}
|
||||||
|
tracks/2/type = "value"
|
||||||
|
tracks/2/path = NodePath("SwordArea/SwordHitBox:disabled")
|
||||||
|
tracks/2/interp = 1
|
||||||
|
tracks/2/loop_wrap = true
|
||||||
|
tracks/2/imported = false
|
||||||
|
tracks/2/enabled = true
|
||||||
|
tracks/2/keys = {
|
||||||
|
"times": PoolRealArray( 0 ),
|
||||||
|
"transitions": PoolRealArray( 1 ),
|
||||||
|
"update": 1,
|
||||||
|
"values": [ true ]
|
||||||
|
}
|
||||||
|
tracks/3/type = "value"
|
||||||
|
tracks/3/path = NodePath("SwordSprite:texture")
|
||||||
|
tracks/3/interp = 1
|
||||||
|
tracks/3/loop_wrap = true
|
||||||
|
tracks/3/imported = false
|
||||||
|
tracks/3/enabled = true
|
||||||
|
tracks/3/keys = {
|
||||||
|
"times": PoolRealArray( 0 ),
|
||||||
|
"transitions": PoolRealArray( 1 ),
|
||||||
|
"update": 1,
|
||||||
|
"values": [ null ]
|
||||||
|
}
|
||||||
|
tracks/4/type = "value"
|
||||||
|
tracks/4/path = NodePath("Sprite:rotation_degrees")
|
||||||
|
tracks/4/interp = 1
|
||||||
|
tracks/4/loop_wrap = true
|
||||||
|
tracks/4/imported = false
|
||||||
|
tracks/4/enabled = true
|
||||||
|
tracks/4/keys = {
|
||||||
|
"times": PoolRealArray( 0 ),
|
||||||
|
"transitions": PoolRealArray( 1 ),
|
||||||
|
"update": 0,
|
||||||
|
"values": [ 0.0 ]
|
||||||
|
}
|
||||||
|
|
||||||
[sub_resource type="Animation" id=4]
|
[sub_resource type="Animation" id=4]
|
||||||
resource_name = "idle"
|
resource_name = "idle"
|
||||||
length = 0.5
|
length = 0.5
|
||||||
|
@ -213,7 +278,7 @@ tracks/1/keys = {
|
||||||
"times": PoolRealArray( 0 ),
|
"times": PoolRealArray( 0 ),
|
||||||
"transitions": PoolRealArray( 1 ),
|
"transitions": PoolRealArray( 1 ),
|
||||||
"update": 1,
|
"update": 1,
|
||||||
"values": [ ExtResource( 2 ) ]
|
"values": [ ExtResource( 11 ) ]
|
||||||
}
|
}
|
||||||
tracks/2/type = "value"
|
tracks/2/type = "value"
|
||||||
tracks/2/path = NodePath("SwordArea/SwordHitBox:disabled")
|
tracks/2/path = NodePath("SwordArea/SwordHitBox:disabled")
|
||||||
|
@ -579,7 +644,7 @@ tracks/1/keys = {
|
||||||
"times": PoolRealArray( 0 ),
|
"times": PoolRealArray( 0 ),
|
||||||
"transitions": PoolRealArray( 1 ),
|
"transitions": PoolRealArray( 1 ),
|
||||||
"update": 1,
|
"update": 1,
|
||||||
"values": [ ExtResource( 1 ) ]
|
"values": [ ExtResource( 3 ) ]
|
||||||
}
|
}
|
||||||
tracks/2/type = "value"
|
tracks/2/type = "value"
|
||||||
tracks/2/path = NodePath("SwordArea/SwordHitBox:disabled")
|
tracks/2/path = NodePath("SwordArea/SwordHitBox:disabled")
|
||||||
|
@ -620,10 +685,9 @@ tracks/4/keys = {
|
||||||
|
|
||||||
[sub_resource type="ShaderMaterial" id=10]
|
[sub_resource type="ShaderMaterial" id=10]
|
||||||
resource_local_to_scene = true
|
resource_local_to_scene = true
|
||||||
shader = ExtResource( 11 )
|
shader = ExtResource( 1 )
|
||||||
shader_param/border_color = Color( 0, 0, 0, 1 )
|
shader_param/border_color = Color( 0, 0, 0, 1 )
|
||||||
shader_param/border_corners = true
|
shader_param/border_corners = true
|
||||||
shader_param/palette = ExtResource( 3 )
|
|
||||||
|
|
||||||
[sub_resource type="RectangleShape2D" id=11]
|
[sub_resource type="RectangleShape2D" id=11]
|
||||||
extents = Vector2( 2.5, 5 )
|
extents = Vector2( 2.5, 5 )
|
||||||
|
@ -643,6 +707,7 @@ autoplay = "idle"
|
||||||
anims/climb = SubResource( 1 )
|
anims/climb = SubResource( 1 )
|
||||||
anims/doublejump = SubResource( 2 )
|
anims/doublejump = SubResource( 2 )
|
||||||
"anims/enter hatch" = SubResource( 3 )
|
"anims/enter hatch" = SubResource( 3 )
|
||||||
|
anims/give = SubResource( 15 )
|
||||||
anims/idle = SubResource( 4 )
|
anims/idle = SubResource( 4 )
|
||||||
anims/jump = SubResource( 5 )
|
anims/jump = SubResource( 5 )
|
||||||
"anims/shoot air" = SubResource( 6 )
|
"anims/shoot air" = SubResource( 6 )
|
||||||
|
@ -651,7 +716,6 @@ anims/stab = SubResource( 8 )
|
||||||
anims/walk = SubResource( 9 )
|
anims/walk = SubResource( 9 )
|
||||||
|
|
||||||
[node name="Sprite" type="Sprite" parent="."]
|
[node name="Sprite" type="Sprite" parent="."]
|
||||||
modulate = Color( 0, 1, 0.298039, 1 )
|
|
||||||
material = SubResource( 10 )
|
material = SubResource( 10 )
|
||||||
texture = ExtResource( 2 )
|
texture = ExtResource( 2 )
|
||||||
region_enabled = true
|
region_enabled = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue