Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Quick Example: Lua Dialogues  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

FRex

  • Hero Member
  • *****
  • Posts: 1845
  • Back to C++ gamedev with SFML in May 2023
    • View Profile
    • Email
Quick Example: Lua Dialogues
« on: June 13, 2017, 06:22:35 pm »
I was thinking about an old project of mine back from 2015 and looking at it I decided to make a quick example of using Lua coroutines for dialogues, just with a "say" function. In my project I also had an ask one that prompted the user to select a reply from one of few choices. It's quite interesting/cute/nice idea but the problem is that it can't be easily suspended mid dialogue I don't think (this wasn't a problem for my old project).

Git repo: https://github.com/FRex/luadialogues
Win32 exe: https://drive.google.com/file/d/0B8dEkQw1a4WvNWJsSW9RNGJjdzQ/view?usp=sharing
Back to C++ gamedev with SFML in May 2023

 

anything