Entity system oimh

thanks to everyone who helped out, i figured it out.

2 Likes

You are creating your entity on the client, whenever there is lag / whatever the client won’t listen to the
client event.
Try making the entity on the server.

2 Likes

I’d create my enemy on the server however the amount of enemies I want would lag the game A LOT, its either I sacrifice the server or sacrifice the players recv and at the moment I don’t want to do either and Client Rendering seems like the best choice until I can figure out how to use the tick system.

1 Like

Can you send me a copy of the studio? I will try to fix that

1 Like

I’d prefer not as it’s a group game with a ton of assets, however I gave you my code up there which is basically the exact same thing if you’d need anything else just let me know.

Have you tried using matter and some sort of ECS? I feel like matter might work well for you.

1 Like

Honestly, i took a look at the module and it seems as if it’s not what I’m kind of going for, and plus I don’t like OS modules that do the entire task for you cause I like to learn from this ykwim?

1 Like

bump any help or tips are appreciated

Sometimes optimizations done by other people will help you way more. There’s no shame in using open source in your code. I learned a lot from contributing to open source projects.

I guess but it seems to have alot of excess functionality that u dont really need imo, It doesn’t seem that it’d help that much to my cause