Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shift2Speed - Stardew Valley Mod

Lightweight Stardew Valley mod allowing players to use the Left Shift key to run.

A basic Stardew Valley mod that repurposes the Left Shift key into a dedicated sprint button, rather than the vanilla slow walking behaviour. This mod was built using C# as a personal quality of life improvement to the game as well as a learning project to deepen my understanding of SMAPI and Stardew Valley's internal movement logic.

Tech Stack:

  • C#
  • SMAPI (Stardew Modding API)
  • HarmonyLib (method patching)
  • Stardew Valley internal game logic
  • Visual Studio

Features:

  • Fully replaces the original slow-walking mechanic
  • Harmony postfix patch on Farmer.getMovementSpeed()
  • Holding Left Shift down increases player speed to 8
  • Releasing Left Shift returns the player speed to 5

Skills Gained:

  • Navigating and understanding Stardew Valley's internal class structure
  • Working with existing game values (speed) and overriding them safely
  • Applied Transferrable Java knowledge to C# mod development
  • Using Harmony patches to safely modify the game's behaviour
  • Understanding how SMAPI loads mods and events

How To Use:

Dependencies: Stardew Valley, SMAPI

  1. Install SMAPI
  2. Download/clone this mod
  3. Place the mod folder into Stardew Valley 'Mods' directory
  4. Launch Stardew Valley through SMAPI
  5. Open a game and hold Left Shift while walking

About

Lightweight Stardew Valley mod allowing players to use the Left Shift key to run.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages