Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Build a deep life simulation game
·
Module 7
Social Simulation & Relationships
Rust Relationship Tracking: Friendship & Romance Scores
Implement per-character relationship tracking in Rust with separate scores for friendship and romance.
2
Modeling Social Interactions in JSON
Define social interactions (e.g., 'Chat', 'Joke') in JSON that modify relationship scores.
3
Updating Relationship Scores
Update relationship scores based on the outcome of social interactions, modified by personality traits.
4
Understanding Relationship Types
Classify relationships into types (e.g., friend, acquaintance) based on score thresholds.
5
Character Memory Log
Store a simplified log of significant interactions between characters as a 'memory'.
6
Implementing Relationship Decay
Implement a gradual decay of relationship scores over time if there is no interaction.
Unity UI: Character Relationship Panel
Create a relationship panel UI in Unity to display a character's relationships with others.
Previous module
Player Interaction Framework
Next module
Hierarchical Conversation System