[Open Assets] Dialog system

This content may be freely modified and/or maintained by anyone.

Lactozilla

Developer
Sonic Team Junior
attachment.php

attachment.php


While questions are not needed to start a dialog, they can be written to execute a function (that can even be another dialog...)

Functions
P_InitiateDialog(player_t player, mobj npc, table lines)
Initiate a new dialog.

P_ResetDialogboxPositions(player_t player)
Reset dialog box positions to their initial position before drawing text.

P_NextDialogParagraph(player_t player)
Go to the next paragraph.

dialog.drawcount explanation
-1: sliding up
-2: sliding down
-3: end dialog
 

Attachments

  • kuchiyama_dialog1.png
    kuchiyama_dialog1.png
    38 KB · Views: 1,388
  • robohood-1.png
    robohood-1.png
    17.5 KB · Views: 1,298
  • ThoroughRegalLcont.gif
    ThoroughRegalLcont.gif
    183 KB · Views: 1,327
  • srb20031.gif
    srb20031.gif
    537 KB · Views: 4,355
  • srb20032.gif
    srb20032.gif
    1.2 MB · Views: 4,191
  • dialogsystem.zip
    11.5 KB · Views: 483
Last edited:

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top