Log In  


Cart #mb_textflow-2 | 2019-09-18 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
19

This is a heavily commented cart that shows one way of doing flowing dialog text with coroutines. If you have any questions on how it works, feel free to ask. Again, this is one way of doing it. :)

19


Thanks for the dialog text program -- may incorporate into future games!


No problem. POST MOVED.

What we could use now is YIELD() just operating at any time without requiring the use of a variable:

function go()
  ?"1"
  yield()
  ?"2"
  yield()
  ?"3"
  yield()
end

repeat
  if btnp(5)) reset(go)
  if (btnp(4)) go()
  flip()
until forever

As for the dialog, may use, I wanted to merge my POEM and SNOW together with a flowing dialog text in a future cart.

Your code may be implement. Will see. :)



[Please log in to post a comment]