top of page
Search

Text Generator

  • Writer: Keshav Batra
    Keshav Batra
  • Sep 29, 2023
  • 1 min read

Updated: Oct 5, 2023

So I now finished the text generator for my dialogue based game. I did this by using flip flop, a technique where whenever the mouse is clicked, the text changes to a different one. Once the mouse is clicked, there's a branch that contains a condition, and that condition is set to either true or false. If its false, then the text will display "Hello", and if it's true then the text will display "Goodbye. The message node is where all the text is stored. Below is the code for the flip flop and the video that shows it in action.




 
 
 

Comments


bottom of page