03-05-2015, 04:25 PM
Began working on resource spawning. Really want to add different harder to break types of dirt blocks to the existing generated levels, but I'm having some trouble with trying to generate a height map from an existing 2D Array.
I'd like to figure out how to do something like this with the dirt blocks, but figuring out how to do it with an array that's already been generated is a big headache. If anyone has any suggestions I would really appreciate it.
Other than this, I've been doing a lot of optimization work. Restructuring the code I've already been working on to be optimized for Google's V8 Javascript engine is proving to be quite the challenge as well. Especially considering that ImpactJS is beast of an engine to re-write.
The way that inheritance is propagated down the entity chain is a huge resource hog, and I'm looking to split apart some parts of ImpactJS to be more component based like the developers for Cross-Code did. Hopefully it will improve my CPU performance in the long run.