Skip to content

hojjatjafary/slay-the-spire-map-in-unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slay the Spire Map in Unity

Demo video:

FEATURES

Longer video with some how-to info:

HOW-TO

This repo contains an implementation of the Slay the Spire Map in Unity3d. Key features:

  • Pick any orientation (left to right, right to left, top to bottom, bottom to top)
  • Map appearance and player position get saved between game sessions
  • Node position randomization
  • Cross nodes elimination
  • Scrolling map content for long maps

Free resources and assets used in the project:

December 13 2022 Update: Thanks to hojjatjafary

  • Better algorithm for generating paths
  • New algorithm uses a for loop instead of a while loop to generate paths, which makes it more precise and eliminates the need of limiting max amount of attempts
  • New algorithm respects precise numbers of starting nodes and pre-boss nodes
  • Use the new field extraPaths in MapConfig to generate more paths and create more connections between the nodes

About

Implementation of the Slay the Spire Map in Unity3d

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 82.0%
  • ShaderLab 15.9%
  • HLSL 2.1%