Skip to content

cyxceven/stardew-valley-extension

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Stardew Valley Game Integration Extension

This Extension was built for the Twitch Dev Tour 2019 and showcases how viewers can vote on the in-game weather instead of relying on the game’s default weather algorithm. It has three main components: a frontend UI for the viewer and broadcaster, backend code (EBS) to manage voting and a game mod to manipulate the game state.

Building the Frontend

The frontend is written in Vue.js.

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

Building the Backend

The backend is written in Python and designed for a serverless setup via AWS Lambda. We’ve provided a Cloud Formation script if you’d like to deploy on AWS. First, you need install the SAM toolkit

Then run sam deploy -t databases.yaml followed by sam deploy -t functions.yaml within the templates folder.

The Game Mod

The interaction between Stardew valley running on the computer and our backend is controlled by a game mod. This mod handles polling the backend to check if a new weather condition is available, as well as forcing the weather change. The mod can be downloaded on Curse Forge.

About

Stardew Valley Weather Extension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 42.9%
  • Python 30.9%
  • Vue 21.4%
  • CSS 4.1%
  • HTML 0.7%