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. :)

P#67842 2019-09-18 05:44 ( Edited 2019-09-18 06:44)

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

P#67879 2019-09-19 00:54

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. :)

P#67883 2019-09-19 02:00 ( Edited 2019-09-19 02:01)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-19 03:33:49 | 0.011s | Q:18