Skip to content

LoveDialogue v0.5

Latest
Compare
Choose a tag to compare
@Miisan-png Miisan-png released this 24 Nov 05:33
· 1 commit to main since this release
68d0331

A powerful and flexible dialogue system for LÖVE (Love2D) games, featuring rich text effects, branching dialogues, and character portraits.
Features
(call back doesn't work) - will be fixed soon

local LoveDialogue = require "LoveDialogue"

local myDialogue

function love.load()
    myDialogue = LoveDialogue.play("dialogue.ld")
end

function love.update(dt)
    if myDialogue then
        myDialogue:update(dt)
    end
end

function love.draw()
    if myDialogue then
        myDialogue:draw()
    end
end

function love.keypressed(key)
    if myDialogue then
        myDialogue:keypressed(key)
    end
end