Over the past few days I've been encountering the different problems that are coming with my goal of making this game for mobile. The first problem is that the game runs very poorly. I've determined that this is likely because it is constantly destroying and creating new actors as the game runs. A possible solution to this that I found is to set up an 'Object Pool' that the engine moves actors around from without having to load them more than once, at the start of the map. The only problem I'm facing here is that I have no idea how to create one and the only help I've managed to find is an example setup that I can't pick apart easily to understand, or even get to work properly.
Problem number 2 is that the lighting looks terrible. When setting up a game for mobile the best way to get the lighting to look nice is to have a small area set up in a 'Lightmass Importance Volume'. The problem with this is that with the setup I've made for my infinite runner the character quickly leaves this zone and things start looking terrible. Stretching the zone of the Ligthmass results in worse quality light overall and the zone would need to be infinite to account for the characters available movement space, which obviously would not work. A solution I thought of for this is to attempt to have the map move instead of the character; keeping the same illusion, but allowing for the lightmass to stay stationary. Again my only problem here is that I don't know how to go about coding this and have had no luck so far finding any help doing so. What's becoming clear is that I've reached the end of Prototype number 1 and will need to start again with a better understanding, however I'm not certain where or how to start yet and I'm not making much progress. I'll update with any results in the future.
0 Comments
Leave a Reply. |
AuthorThis is where I will be posting all of my work updates. Archives
October 2022
Categories
All
|