RussianMafia Posted November 24, 2023 Share Posted November 24, 2023 On 11/22/2023 at 9:15 AM, Obsessive Compulsive said: Thank you for the response Faatal. I made my own pool for testing as well. Not a huge fan of what Unity has. I noticed you had a few pools for things but one in specific stood out as missing so I did some trial and error. Indeed, I prefer to directly change the vectors. I wondered why you sometimes do that and sometimes dont. Makes a lot of sense. Appreciate the info. I did some experiments with transform pooling. You are instantiating them off the entity class when you spawn an entity. I could not get it stable with all of the entity types but falling trees and players were easy to achieve. At the point it instantiates, I had the main thread check for a pooled one, if none exist it ran it like normal but then started a job in the unity job system to pool an extra 25. This cut down the runtime and improved performance when spawning entity. I was able to pool them by their entity class name but ran in to very random crashing, particularly when trying to pool entity like zombies. Some things could not be stored at all such as the transform for falling blocks or snakes and animals. I know the typical thing is to store game objects but in this case, you are instantiating a transform which is slow. Honestly I am not sure on the limits of multi thread safety and unity api calls, even if run through the job system. I tried to store the transform of entity after use instead of destroy the game object/transform. This does work but there are a lot of components attached to the game object within the transform. If you try to reuse the transform, the components will get doubled up from the entity spawn process and zombies with dismemberment become an issue. As a side note I noticed you mentioned wanting to improve game performance to someone else on the forum. I have been working on an optimizer for the game. I have managed to get the players and non players in a dedicated server to update multi threaded for various portions of the game code. Offloaded work from the main thread to improve stability. Improved chunk sync for players. Increased the rate and stability of block collapse. Removed some bloat that was not needed since clients already send certain things to the dedi server. Vehicle response and general movement is smoother. It appears to improve the single player client side performance as well. Tests are just starting on that. Player capacity and zombie capacity are dramatically increased in dedicated servers. Rough numbers so far show 40-60 players and up to 300 zombies at a 60 fps target depending on hardware. If all goes well, I will try and get it out to the public before christmas. Would you have any interest in what I am doing? I dont want to step over my bounds or on any bodies feet. You seem to be very dedicated to put that much time and effort onto the game, and definitely could bring a lot to the table. Have you tried applying to TFP for a job? Link to comment Share on other sites More sharing options...
Adam the Waster Posted November 24, 2023 Share Posted November 24, 2023 19 hours ago, beerfly said: Right ? 10k replies and only 1.9m views of this thread. We are getting weaker. We need alpha 22 dev diary for real 4 Link to comment Share on other sites More sharing options...
beerfly Posted November 24, 2023 Share Posted November 24, 2023 2 hours ago, Adam the Waster said: We need alpha 22 dev diary for real I wish I could give some duke coins to the mods to make your thread about A22 official. 5 Link to comment Share on other sites More sharing options...
HB_H4wk Posted November 25, 2023 Share Posted November 25, 2023 Has anyone noticed the Elevator Test block in the CM? This showed up after the latest update of the game. 2 Link to comment Share on other sites More sharing options...
Adam the Waster Posted November 26, 2023 Share Posted November 26, 2023 On 11/24/2023 at 5:01 PM, beerfly said: I wish I could give some duke coins to the mods to make your thread about A22 official. Come on Roland! 2 Link to comment Share on other sites More sharing options...
beerfly Posted November 27, 2023 Share Posted November 27, 2023 (edited) It`s up to @Kuosimodo, not Mr R. Edited November 27, 2023 by beerfly ..um a letter was mistaken by another. (see edit history) Link to comment Share on other sites More sharing options...
Teezer Posted November 27, 2023 Share Posted November 27, 2023 Why is there no A22 thread yet? 1 Link to comment Share on other sites More sharing options...
beerfly Posted November 27, 2023 Share Posted November 27, 2023 30 minutes ago, Teezer said: Why is there no A22 thread yet? There could be more updates and fixes for A21.x. Link to comment Share on other sites More sharing options...
Dreyseth Posted November 27, 2023 Share Posted November 27, 2023 3 hours ago, Teezer said: Why is there no A22 thread yet? whatever you want to say in that thread you could probably just say here in this thread 😆 1 Link to comment Share on other sites More sharing options...
Morloc Posted November 27, 2023 Share Posted November 27, 2023 A22: Please add thumpers. ...and, ummmm....Pipe Armor? -Arch Necromancer Morloc 💀 Link to comment Share on other sites More sharing options...
meilodasreh Posted November 27, 2023 Share Posted November 27, 2023 14 hours ago, beerfly said: It`s up to @Kuosimodo, not Mr R. Maybe you meant Kinyajuu? At least he's TFP staff. The other one you speak of is just a random forum member who frequently dislikes my posts 😄 1 Link to comment Share on other sites More sharing options...
Adam the Waster Posted November 27, 2023 Share Posted November 27, 2023 16 hours ago, beerfly said: It`s up to @Kuosimodo, not Mr R. COME ON @Kuosimodo! Link to comment Share on other sites More sharing options...
meilodasreh Posted November 27, 2023 Share Posted November 27, 2023 @Kuosimodo for President! Make DevDiary Great Again! 💥🎉 4 Link to comment Share on other sites More sharing options...
zztong Posted November 28, 2023 Share Posted November 28, 2023 8 hours ago, Morloc said: A22: Please add thumpers. But we already have rabbits in the game. 1 Link to comment Share on other sites More sharing options...
Adam the Waster Posted November 28, 2023 Share Posted November 28, 2023 Hog Added on alpha 22 Dev diary 6 Link to comment Share on other sites More sharing options...
Space4Ace Posted November 28, 2023 Share Posted November 28, 2023 38 minutes ago, Adam the Waster said: Hog Added on alpha 22 Dev diary You meant to say "Grace". This is the new Grace, coming to Alpha 22. 2 Link to comment Share on other sites More sharing options...
Adam the Waster Posted November 28, 2023 Share Posted November 28, 2023 8 minutes ago, Space4Ace said: You meant to say "Grace". This is the new Grace, coming to Alpha 22. I mean it's a hog right 2 Link to comment Share on other sites More sharing options...
spud42 Posted November 28, 2023 Share Posted November 28, 2023 "Yes, all pigs have tusks. Regardless if they are wild or domesticated, male or female, they will grow tusks. The tusks can be used as a way to identify gender. Most female pigs have shorter or smaller tusks that do not grow large enough to stick out of their mouths." so Grace isnt female ??? 21 hours ago, Morloc said: A22: Please add thumpers. ...and, ummmm....Pipe Armor? -Arch Necromancer Morloc 💀 you want to attract a Spice Worm? 3 Link to comment Share on other sites More sharing options...
Morloc Posted November 28, 2023 Share Posted November 28, 2023 1 hour ago, spud42 said: you want to attract a Spice Worm? Well...so long as it's undead. -Arch Necromancer Morloc 💀 Link to comment Share on other sites More sharing options...
Arma Rex Posted November 28, 2023 Share Posted November 28, 2023 6 hours ago, spud42 said: "Yes, all pigs have tusks. Regardless if they are wild or domesticated, male or female, they will grow tusks. The tusks can be used as a way to identify gender. Most female pigs have shorter or smaller tusks that do not grow large enough to stick out of their mouths." so Grace isnt female ??? For lore purposes, Bob's formula for feeding and mutating Grace could have had some form of testosterone in it, especially in the case of a growth hormone. 2 Link to comment Share on other sites More sharing options...
Matt115 Posted November 28, 2023 Share Posted November 28, 2023 19 hours ago, Adam the Waster said: Hog Added on alpha 22 Dev diary OMG this looks such goofy as hornet. Just hornet 2.0 3 Link to comment Share on other sites More sharing options...
HB_H4wk Posted November 28, 2023 Share Posted November 28, 2023 A zombie Deer would look great. 2 Link to comment Share on other sites More sharing options...
Jost Amman Posted November 29, 2023 Share Posted November 29, 2023 Jokes aside, I think that more than new types of graphical representations of different things, we need new behaviors. I'd like to see more variation in how different animals, and zombies, move, fight, or even how they interact with each other. For example, I like how coyotes run away for a while if you hurt them badly, but then come back and try to get revenge. 6 Link to comment Share on other sites More sharing options...
spud42 Posted November 29, 2023 Share Posted November 29, 2023 goofy is right... looks like a mohawk and the trotters look a bit like high heels!!!! lol 1 Link to comment Share on other sites More sharing options...
Obsessive Compulsive Posted November 29, 2023 Share Posted November 29, 2023 On 11/24/2023 at 2:47 AM, RussianMafia said: You seem to be very dedicated to put that much time and effort onto the game, and definitely could bring a lot to the table. Have you tried applying to TFP for a job? No I wanted to get the optimizer ready as a bit of a portfolio piece before bugging them. I know they took on junior developers and it did not work out too well. My hope is that the work speaks for itself, motioning them to reach out at least or be more accepting if I were to apply. Last I was told when asked is they were not hiring and not interested. I did not go through official channels at the time. I asked one of the devs during a stream if they were hiring. It was a clear no. Timing might have been a bad idea and they didn't want rando viewers applying in droves. They would only want applications with particular skill sets at this stage. They are busy and my project is the last thing on their mind right now. If it becomes quite popular in the community, I am sure they would take more notice but I am not here to impress them in the end. I want to see the game do well and I will use this as a portfolio point regardless wherever I end up applying. I might just start my own game project with some of the passionate devs I have worked with in this community. Lots of talent here if someone were to rustle the right feathers. I think this game has insane capacity if done right. Its the next sandbox minecraft. That would be very different as a long term goal for them but worth it if you were to ask me. To get the most of this engine, they need to use the job system. Recoding this to use the unity job system would require a full overhaul in many cases and more time which I am doubtful they want to spend. Sections can be isolated and improved dramatically with it though. If they focus on some standard runtime profiling, they could orient those particular sections into the unity job system to run it in parallel with all available cores. Unity does most of the hard lifting for them. In honesty, I can see some of the code is oriented to utilize it. Someone had the intent to multi thread various portions. They also have access to the unity math lib and the burst compiler. Both of these in combination with the job system cranks the runtime potential up 3x - 10x faster. I could go on about various things but truly I am still wandering around the code, experimenting, learning. That can be a bit of a problem for lead programmers on projects of this size. They dont want to watch over junior devs at this stage and they dont need me contending with their engineering application. Ten years is very late in a cycle. Maybe I could help them? Maybe I would cause more problems and they can't afford it this late. I imagine they would want to hit a gold state and exit early access before even considering looking at what I am up to. Unfortunately, that is too late to alter the engineering of the game and nobody takes the random comments of some dude on a forum as reason to consider altering their game pattern runtimes. Likely the optimizer will stay as a mod. Kind of the nature of programming games these days. Either way, I am grateful for the opportunity to work on it. Bravo pimps, keep at it! 7 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now