Skip to content

2D platformer inspired by Hollow Knight made using ue5. (paused)

License

Notifications You must be signed in to change notification settings

leechee/Twilight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overall To-do List

  • Learn Aesprite
  • Have camera movement similar to Hollow Knight
  • Add jump delay
  • Add health bar (or hearts) system
  • Add Minecraft text in-game
  • Interactions with NPCs and a shop system
  • abilities include dash, sword throw, and double jump
  • edit ball chain death sprite to include no sparks

Devlog

10/4/2023

  • Learned how to create character animations using sprites from Itch.io
  • Used Blueprint to code basic movement controls for the warrior
  • Added a jump, forward, and backward
  • Added a dash that increases runPlayRate and movement speed
  • Inputted default control settings and Pawn Control

10/5/2023

  • Added a custom created basic map using imported sprites and tilesets
  • Utilized 3D functions to create a parallax effect in the background of the game
  • Added an attack animation override so the warrior has an attack animation
  • Researched camera movement from Hollow Knight and reset default inputs to match Hollow Knight

10/6/2023

  • Added SFX to attack and jump animations
  • Set all sprite masking to DefaultUnlit to create lighting
  • Added lighting throughout the map using point and directional lighting
  • Learned git and github basics and pushed this project into the cloud
  • So far, the game has a twilight feel, so I named the game Twilight (tentative)

10/7/2023

  • Added attack animation delay
  • Added hitbox for attack animation

10/8/2023

  • Added hiting registration for attack animation
  • Added get hit registration for attack animation with a stunned state
  • Made the map more expansive (always improving)
  • Fixed collision box for platforms
  • Created idle animation for the first enemy, BallChain
  • Improved README to be more organized and include devlog

10/9/2023

  • Cloned repository to work remotely

10/10/2023

  • Added stun animation for the ball chain mob
  • Added SFX for the BC_stun
  • Added sequence to warrior blueprint to enable multiple hit regis
  • Cleaned up some lighting for BC

10/13/2023

  • Added death animation for the warrior
  • Set health and damage system to the warrior
  • Removed collision when dead animation finishes
  • Fixed bug where hits would be detected if warrior turned around mid-sequence

10/13/2023

  • Added more death charge attack run and charge transition custom animations for ball-chain sprite

10/17/2023

  • Fixed bug where enemy bodies would move parallax with the ground
  • Programmed enemy AI to follow player at a set speed and acceptable radius
  • New bug: navmesh won't work in a 2D space

10/18/2023

  • Fixed navmesh
  • Fixed bug where navmesh would not register under tiles
  • New bug: ball chain enemy walks through the ground

10/20/2023

  • Broke navmesh again...
  • Fixed bug where ball chain enemy would walk through the ground

10/21/2023

  • Fixed navmesh by lowering agent height in RecastNavMesh-Default item

10/25/2023

  • Implemented knockback
  • New bug: knockback only works in one direction

10/26/2023

  • Knockback works appropriately for any direction using forward vectors

10/29/2023

  • Fixed bug where ball chain enemy would still follow player direction when in dead state
  • Improved AI targeting fluidity
  • Constrained actors to y axis

11/1/2023

  • Added attack to the AI
  • Multiple bugs with attacking and stun states
  • Attempted to implement charge state

11/18/2023

  • Holding off project for now, need to focus on studying for finals

12/16/2023

  • AI for enemies is very buggy - attempting to fix it
  • Will work on dash function soon

12/16/2023

  • Fixed some lighting issues
  • Failed to implement working dash

12/17/2023

  • Implemented dash and added lateral friction
  • Dash goes through other entities

12/18/2023

  • Fixed issue where maps would go missing upon UE5 launch; just had to update plugins
  • Fixed bug where player could still attack, dash, and jump while defeated
  • Fixed bug where player would fall off map if died mid-air
  • Used event tick to make enemies despawn after being dead for five seconds
  • Added animation for dash
  • Charge for ball chain enemy bugged

12/19/2023

  • Added sound for dash
  • Optimized dash; goes through pawns cleaner and works even when vector velocity is zero
  • Fixed bug where ball chain enemy would only hit whenever player went into hitbox; set active hitbox collision was not linked to branch
  • Ball chain enemy now has a double hit attack pattern

12/20/2023

  • Added snow particles
  • Ball chain enemy transitions to charge if stunned while charging
  • Fixed bug where dash would be short if player x-velocity was too low
  • Fixed bug where attack would carry over if player turned directions quickly
  • Adjusted hitboxes and capsule settings

12/21/2023

  • Hitting ball chain enemy resets charge timer
  • Hits register stuns even during enemy attack animation
  • Death animation plays even during enemy attack animation
  • Ball chain enemy can not longer turn directions while charging or attacking
  • Player can only jump when on ground
  • Fixed tile set artifact glitches
  • Set aggro range for enemy
  • Fixed navmesh needs to be rebuilt by setting navigation mesh setting runtime to dynamic

12/22/2023

  • Worked on level design and tilesets

12/24/2023

  • Nerfed player walking speed
  • Added non-collidable tiles

1/7/2024

  • Disabled lumen and changed shadow tiles to improve fps
  • Adjusted unit capsule component height and translated player spawn point up the y axis so the lights would not interfere with the model

3/10/2024

  • Paused log to work on another project

5/18/2024

  • Fixed issue where ground would shake when character moved (moved character y axis to 1.0)
  • Moved sprite down so character wouldn't appear floating
  • Changed camera from perspective to orthographic
  • Fixed minor screen tears between tiles
  • Fixed tiles glitching and changing while character moves
  • Fix light shining through sprite
  • Fix weird wave tile movement whenever character jumps (probably orthographic camera issue)