- Added animated sprite for slime player.

- Made slime face proper direction on walls.
This commit is contained in:
SnekInAScarf 2026-10-31 22:53:42 -07:00
parent bec85cefe3
commit 8fe449099b
5 changed files with 121 additions and 59 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

43
Assets/slime_player.tres Executable file
View file

@ -0,0 +1,43 @@
[gd_resource type="SpriteFrames" format=3 uid="uid://d0suj5i5kalpp"]
[ext_resource type="Texture2D" uid="uid://c3v26u2wh4it4" path="res://Assets/Player.png" id="1_qkju4"]
[sub_resource type="AtlasTexture" id="AtlasTexture_65ufv"]
atlas = ExtResource("1_qkju4")
region = Rect2(0, 0, 38, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_vhg5s"]
atlas = ExtResource("1_qkju4")
region = Rect2(39, 0, 38, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_lrw40"]
atlas = ExtResource("1_qkju4")
region = Rect2(78, 0, 38, 32)
[resource]
animations = [{
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_65ufv")
}],
"loop": 1,
"name": &"Idle",
"speed": 5.0
}, {
"frames": [{
"duration": 1.0,
"texture": SubResource("AtlasTexture_65ufv")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vhg5s")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_lrw40")
}, {
"duration": 1.0,
"texture": SubResource("AtlasTexture_vhg5s")
}],
"loop": 1,
"name": &"Moving",
"speed": 7.0
}]

View file

@ -93,8 +93,7 @@ var wrapDistanceTravelled := 0.0
# ---- Nodes ----
# Temp for now, need to use AnimatedSprite2D later on.
@onready var sprite: Sprite2D = $Sprite2D
@onready var sprite: AnimatedSprite2D = $AnimatedSprite2D
@onready var collisionShape: CollisionShape2D = $CollisionShape2D
# Edge-finding raycasts, one each side, under a pivot we turn to face the surface we're on.
@onready var edgeSensors: Node2D = $EdgeSensors
@ -124,9 +123,8 @@ func _ready() -> void:
func _physics_process(delta: float) -> void:
# -1 is left/down, 1 is right/up.
var horizontalInput := Input.get_axis("moveLeft", "moveRight")
var verticalInput := Input.get_axis("moveDown", "moveUp")
var xInput := Input.get_axis("moveLeft", "moveRight")
var yInput := Input.get_axis("moveDown", "moveUp")
if isWrapping:
_update_wrap(delta)
@ -136,15 +134,18 @@ func _physics_process(delta: float) -> void:
if not wasInAir:
isHoppingAcross = false
if isStickingToWall and verticalInput != 0.0:
wallFacingY = -signf(verticalInput)
if _start_edge_wrap(horizontalInput, verticalInput):
if isStickingToWall and yInput != 0.0:
wallFacingY = -signf(yInput)
if _start_edge_wrap(xInput, yInput):
return
_update_facing(horizontalInput)
_update_vertical_movement(delta, horizontalInput, verticalInput)
_update_floor_hop(delta, horizontalInput, verticalInput)
_update_horizontal_movement(delta, horizontalInput, verticalInput)
# Animated Sprite
_update_facing(xInput, yInput)
_update_animation(xInput, yInput)
_update_vertical_movement(delta, xInput, yInput)
_update_floor_hop(delta, xInput, yInput)
_update_horizontal_movement(delta, xInput, yInput)
_hold_at_edge(delta)
var wasOnWall := isStickingToWall and not is_on_floor()
@ -154,7 +155,7 @@ func _physics_process(delta: float) -> void:
_update_wall_sticking(wasOnWall)
var climbedPastWallTop := wasOnWall and not isStickingToWall and verticalInput > 0
var climbedPastWallTop := wasOnWall and not isStickingToWall and yInput > 0
var tryingToLetGo := timeSpentUnstickingWall >= HOLD_TIME
if climbedPastWallTop and not tryingToLetGo and _start_wall_top_wrap():
return
@ -163,7 +164,7 @@ func _physics_process(delta: float) -> void:
# In a corner, stick to the ceiling if pressing up, otherwise the wall.
if isStickingToWall and isStickingToCeiling:
if verticalInput > 0:
if yInput > 0:
isStickingToWall = false
else:
isStickingToCeiling = false
@ -180,32 +181,46 @@ func _physics_process(delta: float) -> void:
# ---- Movement steps (in the order _physics_process runs them) ----
func _update_facing(horizontalInput: float) -> void:
if horizontalInput == 0.0:
func _update_facing(xInput: float, yInput: float) -> void:
if xInput == 0.0 and yInput == 0.0:
return
if isStickingToCeiling:
sprite.flip_h = horizontalInput > 0 # Upside down, so flipped the other way.
else:
sprite.flip_h = horizontalInput < 0
func _update_vertical_movement(delta: float, horizontalInput: float, verticalInput: float) -> void:
if isStickingToCeiling:
_update_ceiling_letting_go(delta, horizontalInput, verticalInput)
sprite.flip_h = xInput > 0 # Upside down, so flipped the other way.
elif isStickingToWall:
var targetSpeed := -CLIMB_SPEED * verticalInput
if wallNormalX < 0:
sprite.flip_h = yInput < 0
else:
sprite.flip_h = yInput > 0
else:
sprite.flip_h = xInput < 0
func _update_animation(xInput:float, yInput:float):
if xInput and (isStickingToCeiling or is_on_floor()):
sprite.play("Moving")
elif yInput and isStickingToWall:
sprite.play("Moving")
else:
sprite.play("Idle")
func _update_vertical_movement(delta: float, xInput: float, yInput: float) -> void:
if isStickingToCeiling:
_update_ceiling_letting_go(delta, xInput, yInput)
elif isStickingToWall:
var targetSpeed := -CLIMB_SPEED * yInput
velocity.y = _accelerate(velocity.y, targetSpeed, delta)
elif not is_on_floor():
velocity.y = minf(velocity.y + get_gravity().y * delta, MAX_FALL_SPEED)
# Holding down (not moving) for HOLD_TIME lets go, hopping onto a floor if one's in reach.
func _update_ceiling_letting_go(delta: float, horizontalInput: float, verticalInput: float) -> void:
if verticalInput >= 0:
func _update_ceiling_letting_go(delta: float, xInput: float, yInput: float) -> void:
if yInput >= 0:
ignoreCeilingUnstickUntilRelease = false
var holdingDown := verticalInput < 0
var standingStill := horizontalInput == 0.0
var holdingDown := yInput < 0
var standingStill := xInput == 0.0
if holdingDown and standingStill and not ignoreCeilingUnstickUntilRelease:
timeSpentUnstickingCeiling += delta
else:
@ -225,9 +240,9 @@ func _update_ceiling_letting_go(delta: float, horizontalInput: float, verticalIn
# Holding up (not moving) for HOLD_TIME hops to the ceiling. Not against a wall,
# where up climbs it instead.
func _update_floor_hop(delta: float, horizontalInput: float, verticalInput: float) -> void:
var holdingUp := verticalInput > 0
var standingStill := horizontalInput == 0.0
func _update_floor_hop(delta: float, xInput: float, yInput: float) -> void:
var holdingUp := yInput > 0
var standingStill := xInput == 0.0
if is_on_floor() and not isStickingToWall and holdingUp and standingStill:
timeSpentHoldingUpOnFloor += delta
else:
@ -238,26 +253,26 @@ func _update_floor_hop(delta: float, horizontalInput: float, verticalInput: floa
velocity.y = -_get_hop_speed(_get_hop_height())
func _update_horizontal_movement(delta: float, horizontalInput: float, verticalInput: float) -> void:
func _update_horizontal_movement(delta: float, xInput: float, yInput: float) -> void:
if isStickingToWall and not is_on_floor():
_update_wall_letting_go(delta, horizontalInput, verticalInput)
_update_wall_letting_go(delta, xInput, yInput)
return
timeSpentUnstickingWall = 0.0
if is_on_floor() or isStickingToCeiling:
velocity.x = _accelerate(velocity.x, horizontalInput * GROUND_SPEED, delta)
velocity.x = _accelerate(velocity.x, xInput * GROUND_SPEED, delta)
elif not isHoppingAcross:
velocity.x = _air_steer(velocity.x, horizontalInput, delta)
velocity.x = _air_steer(velocity.x, xInput, delta)
# Holding away (not climbing) for HOLD_TIME hops to the opposite wall if one's
# in reach, otherwise lets go.
func _update_wall_letting_go(delta: float, horizontalInput: float, verticalInput: float) -> void:
var pressingAwayFromWall := horizontalInput * wallNormalX > 0
func _update_wall_letting_go(delta: float, xInput: float, yInput: float) -> void:
var pressingAwayFromWall := xInput * wallNormalX > 0
if not pressingAwayFromWall:
ignoreWallUnstickUntilRelease = false
var standingStill := verticalInput == 0.0
var standingStill := yInput == 0.0
if pressingAwayFromWall and standingStill and not ignoreWallUnstickUntilRelease:
timeSpentUnstickingWall += delta
else:
@ -271,7 +286,7 @@ func _update_wall_letting_go(delta: float, horizontalInput: float, verticalInput
if wallDistance >= 0.0:
_hop_across(wallDistance)
else:
velocity.x = horizontalInput * GROUND_SPEED
velocity.x = xInput * GROUND_SPEED
func _update_wall_sticking(wasOnWall: bool) -> void:
@ -316,11 +331,11 @@ func _accelerate(speed: float, targetSpeed: float, delta: float) -> float:
# Extra speed from leaving a surface fades slowly unless we steer against it.
func _air_steer(speed: float, horizontalInput: float, delta: float) -> float:
var targetSpeed := horizontalInput * AIR_SPEED
var steeringSameWay := horizontalInput == 0.0 or signf(horizontalInput) == signf(speed)
func _air_steer(speed: float, xInput: float, delta: float) -> float:
var targetSpeed := xInput * AIR_SPEED
var steeringSameWay := xInput == 0.0 or signf(xInput) == signf(speed)
var hasExtraSpeed := absf(speed) > AIR_SPEED
if (hasExtraSpeed and steeringSameWay) or horizontalInput == 0.0:
if (hasExtraSpeed and steeringSameWay) or xInput == 0.0:
return move_toward(speed, targetSpeed, AIR_DRAG * delta)
return move_toward(speed, targetSpeed, AIR_ACCEL * delta)
@ -400,12 +415,12 @@ func _hop_across(distance: float) -> void:
# Pressing into the surface near an edge starts wrapping around it. A direction
# along the surface picks the side, otherwise facing does (or the other side if
# only it has an edge).
func _start_edge_wrap(horizontalInput: float, verticalInput: float) -> bool:
func _start_edge_wrap(xInput: float, yInput: float) -> bool:
var normal := _get_surface_normal()
if normal == Vector2.ZERO:
return false
var inputDirection := Vector2(horizontalInput, -verticalInput) # Up is negative y.
var inputDirection := Vector2(xInput, -yInput) # Up is negative y.
var pressingIntoSurface := inputDirection.dot(-normal) >= 0.5
if not pressingIntoSurface:
return false

View file

@ -1,9 +1,9 @@
[gd_scene format=3 uid="uid://uaxviwb40nn8"]
[ext_resource type="Script" uid="uid://drxbt88sjb1y4" path="res://Characters/player.gd" id="1_eovys"]
[ext_resource type="Texture2D" uid="uid://c3v26u2wh4it4" path="res://Assets/Player.png" id="2_eovys"]
[ext_resource type="AudioStream" uid="uid://b06e7ntjhc4dp" path="res://Assets/Sounds/slime_land_1.ogg" id="3_land1"]
[ext_resource type="AudioStream" uid="uid://bpa664tsd4kwn" path="res://Assets/Sounds/slime_land_2.ogg" id="4_land2"]
[ext_resource type="SpriteFrames" uid="uid://d0suj5i5kalpp" path="res://Assets/slime_player.tres" id="5_4m0gv"]
[ext_resource type="AudioStream" uid="uid://ceyykao0r6u7g" path="res://Assets/Sounds/slime_land_3.ogg" id="5_land3"]
[ext_resource type="AudioStream" uid="uid://1dmf4p7x4y3b" path="res://Assets/Sounds/slime_wrap.ogg" id="6_wrap"]
@ -16,27 +16,28 @@ colors = PackedColorArray(0, 0.6666667, 0, 1, 0, 1, 0.50980395, 1)
script = ExtResource("1_eovys")
landSounds = Array[AudioStream]([ExtResource("3_land1"), ExtResource("4_land2"), ExtResource("5_land3")])
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1511454314]
texture = ExtResource("2_eovys")
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=402647784]
sprite_frames = ExtResource("5_4m0gv")
animation = &"Moving"
frame_progress = 0.92610025
offset = Vector2(0, -6)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1379572123]
shape = SubResource("CircleShape2D_eovys")
[node name="EdgeSensors" type="Node2D" parent="."]
[node name="EdgeSensors" type="Node2D" parent="." unique_id=94721438]
[node name="LeftEdgeSensor" type="RayCast2D" parent="EdgeSensors"]
[node name="LeftEdgeSensor" type="RayCast2D" parent="EdgeSensors" unique_id=1317329635]
position = Vector2(-12, 0)
target_position = Vector2(0, 14)
[node name="RightEdgeSensor" type="RayCast2D" parent="EdgeSensors"]
[node name="RightEdgeSensor" type="RayCast2D" parent="EdgeSensors" unique_id=655411504]
position = Vector2(12, 0)
target_position = Vector2(0, 14)
[node name="SplatParticles" type="CPUParticles2D" parent="."]
[node name="SplatParticles" type="CPUParticles2D" parent="." unique_id=1885906440]
top_level = true
emitting = false
amount = 8
lifetime = 0.4
one_shot = true
explosiveness = 1.0
@ -45,15 +46,14 @@ spread = 55.0
gravity = Vector2(0, 500)
initial_velocity_min = 40.0
initial_velocity_max = 90.0
scale_amount_min = 1.0
scale_amount_max = 2.0
color_initial_ramp = SubResource("Gradient_splat")
[node name="LandSound" type="AudioStreamPlayer" parent="."]
[node name="LandSound" type="AudioStreamPlayer" parent="." unique_id=1069784417]
volume_db = -6.0
bus = &"SFX"
[node name="WrapSound" type="AudioStreamPlayer" parent="."]
[node name="WrapSound" type="AudioStreamPlayer" parent="." unique_id=89143697]
stream = ExtResource("6_wrap")
volume_db = -10.0
bus = &"SFX"

View file

@ -10,7 +10,11 @@
position = Vector2(329, 266)
[node name="TileMapLayer" type="TileMapLayer" parent="." unique_id=459516426]
tile_map_data = PackedByteArray("AAABAA4AAAAEAAQAAAACAA4AAAAEAAQAAAADAA4AAAAEAAQAAAAEAA4AAAAEAAQAAAAFAA4AAAAEAAQAAAAGAA4AAAAEAAQAAAAHAA4AAAAEAAQAAAAIAA4AAAAEAAQAAAAJAA4AAAAEAAQAAAAKAA4AAAAEAAQAAAALAA4AAAAEAAQAAAAMAA4AAAAEAAQAAAANAA4AAAAEAAQAAAAOAA4AAAAEAAQAAAAPAA4AAAAEAAQAAAAQAA4AAAAEAAQAAAARAA4AAAAEAAQAAAAAAA4AAAAEAAQAAAASAA4AAAAEAAQAAAATAA4AAAAEAAQAAAATAA0AAAAEAAQAAAATAAwAAAAEAAQAAAATAAsAAAAEAAQAAAATAAoAAAAEAAQAAAATAAkAAAAEAAQAAAATAAgAAAAEAAQAAAATAAcAAAAEAAQAAAATAAYAAAAEAAQAAAATAAUAAAAEAAQAAAATAAQAAAAEAAQAAAATAAMAAAAEAAQAAAATAAIAAAAEAAQAAAATAAEAAAAEAAQAAAATAAAAAAAEAAQAAAASAAAAAAAEAAQAAAARAAAAAAAEAAQAAAAQAAAAAAAEAAQAAAAPAAAAAAAEAAQAAAAOAAAAAAAEAAQAAAANAAAAAAAEAAQAAAAMAAAAAAAEAAQAAAALAAAAAAAEAAQAAAAKAAAAAAAEAAQAAAAJAAAAAAAEAAQAAAAIAAAAAAAEAAQAAAAHAAAAAAAEAAQAAAAGAAAAAAAEAAQAAAAFAAAAAAAEAAQAAAAEAAAAAAAEAAQAAAADAAAAAAAEAAQAAAACAAAAAAAEAAQAAAABAAAAAAAEAAQAAAAAAAAAAAAEAAQAAAAAAAEAAAAEAAQAAAAAAAIAAAAEAAQAAAAAAAMAAAAEAAQAAAAAAAQAA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gAAAAEAAQAAAAOAAgAAAAEAAQAAAANAAgAAAAEAAQAAAAMAAgAAAAEAAQAAAAHAAgAAAAEAAQAAAAGAAgAAAAEAAQAAAAFAAgAAAAEAAQAAAAEAAgAAAAEAAQAAAADAAgAAAAEAAQAAAACAAgAAAAEAAQAAAABAAgAAAAEAAQAAAABAAcAAAAEAAQAAAACAAcAAAAEAAQAAAADAAcAAAAEAAQAAAAEAAcAAAAEAAQAAAAFAAcAAAAEAAQAAAAGAAcAAAAEAAQAAAAHAAcAAAAEAAQAAAAMAAcAAAAEAAQAAAANAAcAAAAEAAQAAAAOAAcAAAAEAAQAAAAPAAcAAAAEAAQAAAAQAAcAAAAEAAQAAAARAAcAAAAEAAQAAAASAAcAAAAEAAQAAAABAA0AAAAEAAQAAAABAAwAAAAEAAQAAAABAAsAAAAEAAQAAAABAAoAAAAEAAQAAAABAAkAAAAEAAQAAAASAAkAAAAEAAQAAAASAAoAAAAEAAQAAAASAAsAAAAEAAQAAAASAAwAAAAEAAQAAAASAA0AAAAEAAQAAAAQAAUAAAAEAAQAAAAPAAUAAAAEAAQAAAANAAUAAAAEAAQAAAAMAAUAAAAEAAQAAAAMAAQAAAAEAAQAAAAMAAMAAAAEAAQAAAAMAAIAAAAEAAQAAAANAAIAAAAEAAQAAAAOAAIAAAAEAAQAAAAPAAIAAAAEAAQAAAAQAAIAAAAEAAQAAAAQAAMAAAAEAAQAAAAQAAQAAAAEAAQAAAACAAUAAAAEAAQAAAACAAQAAAAEAAQAAAACAAMAAAAEAAQAAAADAAMAAAAEAAQAAAAEAAMAAAAEAAQAAAAEAAQAAAAEAAQAAAAEAAUAAAAEAAQAAAAGAAMAAAAEAAQAAAAGAAIAAAAEAAQAAAAHAAIAAAAEAAQAAAAIAAIAAAAEAAQAAAALAAIAAAAEAAQAAAA=")
tile_set = ExtResource("2_00vsl")
[node name="PauseMenu" parent="." unique_id=904032161 instance=ExtResource("3_pause")]
visible = false
[node name="MusicPlayer" type="AudioStreamPlayer" parent="." unique_id=1203733461]
volume_db = -20.0