Ask coding questions

← Back to all posts
Tower Defense finished
Bunnytoes (233)

@Coder100 @ANDREWVOSS I finished my td pog, I made a work around from the error, but now I need to export it to replit, how can I do it, I have to export the whole project not jest some scenes

Comments
hotnewtop
Bunnytoes (233)

@Coder100 so export it with webgl?

Bunnytoes (233)

@Coder100 got it, but I downloaded the webgl but it won't let me build and it says no webgl module loadeed

Coder100 (19280)

yeah you have to close it and open it back again @Bunnytoes

Coder100 (19280)

i think the video covered that? @Bunnytoes

Bunnytoes (233)

@Coder100 what do you use to export it the tutorial says inno but I am worried that it costs money

Coder100 (19280)

well
i didn't pay any money

@Bunnytoes

Coder100 (19280)

you can pay money to remove the unity splash screen sure @Bunnytoes

Bunnytoes (233)

@Coder100 thanks but one more thing, I need help ending the game when the when all enemies are dead here's the script

Bunnytoes (233)

@Coder100 I know, I need help getting my game won to show when all enemies are killed

Coder100 (19280)

so

if (enemiesAlive < 1) { ... show next scene ... } @Bunnytoes

Coder100 (19280)

well
what is in WinLevel? @Bunnytoes

Bunnytoes (233)

@Coder100

the whole script is

Coder100 (19280)

strange... it should be set active

can i see your UI list @Bunnytoes

Coder100 (19280)

strange, what isn't working?
make sure you haven't set all the child elements inactive too

@Bunnytoes

these shouldn't be set active purposely.

Bunnytoes (233)

@Coder100 all the buttons are hooked up and stuff but when all enemies die it won't show this screen

Coder100 (19280)

@Bunnytoes hmm

so all the child elements are not disabled?

Coder100 (19280)

just make sure when you actually enable the element in the editor, you can see the UI @Bunnytoes

Bunnytoes (233)

@Coder100 they are disabled, disabling the main thing disable or enables them all, also changing enemies alive to waves.legth doesn't work

Bunnytoes (233)

@Coder100 do you know what I can do?

Coder100 (19280)

https://www.youtube.com/watch?v=7nxKAtxGSn8

are you following a tutorial? this should be included.