Opensourcing meteordestruct

https://www.roblox.com/games/8259265211/
this is one of my old project of which I learned so much from. its uncopylocked, its WIP, but i really just dont wanna continue it so why not opensource it? im working on another game and yeah thats all im really gonna say

a preview of this game:

it’s also buggy but i clearly remember you can die if the meteors touched the lasers, it worked in studio?

10 Likes

Okay wow you did a great job using the 2D art and animating it, very amazing!

2 Likes

Thank you! I’m just trying to figure out how to fix the death thing not working

1 Like

If the enemies are different entities, make it so if when the player entity touches the enemy entity, It just stops playing the wave script and displays a game over UI.

(I am tower defense dev so yeah might end up helpful, always use it for the waves + the base hp)

1 Like

That’s what I scripted before. Every time the meteor moves and if it touches the red thing(border) it should display a death screen GUI, I remember it worked in the past idk what happened now

I’ll try to add a wait to fix the issue.

1 Like

Use maybe a task.wait() since i use alot it fixes the wave issues.

2 Likes

I’ll try that and if it works I’ll smash the solution button on ur comment lol

1 Like

Its always the wait(), ruins your life

2 Likes

i can’t go in my code without seeing a wait() lol

1 Like

Lol thats problem why, a wise man once said, wait() is a bad practice, use task.wait()
not me btw

1 Like

Ik it’s bad, it’s an old project anyway lol

1 Like

Hey old roblox never had task.wait() it was painful back in the day

2 Likes

Yeah, remember how we had to suffer with heartbeat waits too

1 Like

It didn’t work! I just realized the code itself had task.wait the whole time!

you sure the enemies have registered hitboxes + the end line has one too? maybe some tower defense video’s might help (as in tutorials), its sometimes broken like that.

i’ll try to find the issue. Also try using GnomeCode’s server, he has some helpful helpers!

Well it’s 2D GUI collision detection which is far more advanced than that, I’ll try to use the gross wait and see if this magically fixes the problem.

And yes I’m sure it has a hitbox checking every time the enemy has moved.