Today I did a very small amount of gamedev, but in what I did, I did accomplish something that will let the game run on many lower end platforms. Instead of drawing each map's tile individually, they are now placed in something called a "spritebatch", which is basically just takes the tile's images that are loaded from an atlas, and draws the whole map as if it was 3 images; one being the background, one being the middleground, and one being the foreground. Since it's only doing a draw call on 3 "images", the game runs much smoother. Though the system is not 100% perfect yet, it will help on getting it on lower spec machines, especially something like a tablet or phone.
The level editor does not take this new feature yet, and I don't think it needs to, but it could. It wouldn't improve or degrade the experience in it, so think I'm just going to leave it the way it is.
In a few minutes I'm going to run a VM of Ubuntu to not only test the game's functionality on Linux but also to compare the performance of the old vs the new system. We'll see how that goes!
-Eric
The level editor does not take this new feature yet, and I don't think it needs to, but it could. It wouldn't improve or degrade the experience in it, so think I'm just going to leave it the way it is.
In a few minutes I'm going to run a VM of Ubuntu to not only test the game's functionality on Linux but also to compare the performance of the old vs the new system. We'll see how that goes!
-Eric