V
V
Valery Albertovich Zhmyshenko2020-11-18 10:07:02
Game development
Valery Albertovich Zhmyshenko, 2020-11-18 10:07:02

How to implement level scripts in Love2d?

I want to have scripts for some levels in a separate file, not to write in the code of the entire engine the processing of the actions of some boss that occurs only at one level. how to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dollar, 2020-11-18
@DIvan2000

Via require : or
require "boss"
require "boss.lua"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question