[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,566
  • robohood-1.png
    robohood-1.png
    17.5 KB · Views: 1,423
  • ThoroughRegalLcont.gif
    ThoroughRegalLcont.gif
    183 KB · Views: 1,431
  • srb20031.gif
    srb20031.gif
    537 KB · Views: 4,571
  • srb20032.gif
    srb20032.gif
    1.2 MB · Views: 4,395
  • dialogsystem.zip
    11.5 KB · Views: 566
Last edited:

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

Back
Top