Skip to content

wuqxuan/LifeLineUnity

Folders and files

NameName
Last commit message
Last commit date
Nov 14, 2016
Nov 21, 2016
Nov 15, 2016
Nov 13, 2016
Nov 13, 2016
Nov 21, 2016

Repository files navigation

图片名称

## Lifeline made with Unity

Unity(5.4.2f2) 版 Lifeline,设计参考了 生命线:静夜 on Telegram,只做了快速模式,没有原游戏的延时功能。实现思路很简单,主要是文本处理,先把拿到的 txt 格式剧本解析成 json,在 Unity 中用 UGUI 加一些控制逻辑就可以了。Unity 中使用 SimpleJSON 解析 json 文本,经测试 Android 和 iOS 正常运行。

剧本是 2015 年大热的这一版,使用 python3 写了 txt 剧本解析成 json 的脚本:

 cd JsonData   
 
 python3 ExtractJson.py   
 

也可以在终端运行游戏( Python2 ):

cd JsonData  
 
python lifeline_on_terminal.py 

Project

  • Open Assets/Scenes/Level_Mobile
  • Set Game scene resolution to 9:16

DownLoad

Lifeline.gif

About

Lifeline game made with Unity.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published