Skip to content

jonipark/stardew-mine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Stardew mine

Game Overview:

Stardew Mine is a grid-based mining game in which players gather various types of gems by breaking rocks. We plan to introduce features similar to Minecraft, allowing users to craft unique weapons using the collected gems.

Screenshot 2023-05-08 at 3 09 08 PM Screenshot 2023-05-08 at 3 09 11 PM Screenshot 2023-05-08 at 3 09 15 PM Screenshot 2023-05-08 at 3 09 22 PM Screenshot 2023-05-08 at 3 09 36 PM Screenshot 2023-05-08 at 3 09 47 PM

Demo

start-break-rocks.mov
no-diamonds.mov
crafting.mov
ladder.mov

Parts that I implemented

Ver 2:

Crafting

Screenshot 2023-05-06 at 11 45 49 PM Screenshot 2023-05-06 at 11 45 53 PM

Screenshot 2023-05-06 at 11 46 05 PM Screenshot 2023-05-06 at 11 46 21 PM

  • User can click on the SmithingTable
  • Crafting is unavailable without enough gems
  • User can exchange 2 diamonds and 3 stones to a diamond sword
    • Sword will be added to inventory and change character image

Crafting Implementation

  1. Add SmithingTable (6) to the map file
  2. Incorporate graphics (smithing table, crafting backgrounds/buttons, character with sword)
  3. Create SmithingTable class extending Feature class
  4. Create CraftingMenu class with craftDiamondSword function
  5. Update Player class to handle sword possession
  6. Display appropriate CraftingMenu screen based on user's resources
  7. Show craft button only if resources sufficient (For the future improvement, adding an equipping/unequipping method in the Player class would increase flexibility for other weapons!)

Ver 1:

Inventory

Screenshot 2023-05-04 at 5 43 17 PM

Map Generation

Screenshot 2023-05-04 at 5 43 25 PM

Character Animation

Screenshot 2023-05-04 at 5 43 51 PM

Screen.Recording.2023-05-02.at.3.01.12.PM.mov

Game Design

  • Grid-based map
  • Generating tiles and rocks from a text file
  • Animated character movement
  • Rock destruction > Item drops > Add to inventory
  • Collision detection
    • Background & character
    • Dropped items & character
  • Map Scrolling
  • Inventory management
  • Sound effect

Input

  • Use WASD or arrow keys for character movement
  • Press spacebar or click the rock to break an adjacent rock

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages