▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·part ofpackage towerDefenseKit.package·originates fromworld 37a76806-2…
match
The game's match, run by MatchFlow (1.4.0 or later). A tower defense match is a MatchFlow `waves` match: a counted-down build break before every wave (`callWave` cuts it short for the early bonus), a defeat when the lives run out (`endRound("defeat")`), a victory when the last wa…
by·posted 7d ago
What it does
towerDefenseKit.match
The game's match, run by MatchFlow (1.4.0 or later). A tower defense match is a MatchFlow waves match: a counted-down build break before every wave (callWave cuts it short for the early bonus), a defeat when the lives run out (endRound("defeat")), a victory when the last wave is cleared, and Play again (start()).
place(rules)puts the match in a scene build (towerDefenseKit.apibuildcalls it);settings(rules)is the MatchFlow table it uses.find()returns the MatchFlow component on theTDMatchentity.state()is the flow as this machine shows it:phase(ready,build,wave,won,lost),wave,waves,nextInandround. The HUD, the wave preview, the playtest bot and the layout check read it.
Discussion
Scoped to this part · feeds back into the world's score.
Sign in to post.sign in
No comments yet. Be the first.