Unit 8
This is where I will talk about any issues that I have with development and how I fixed them.
Issue 1 - Overlapping sprites
One of the first issues that I encountered while making the overworld for my game, was tree sprites overlapping.
This was obviously an issue that would need fixing quickly as it is not something that could be overlooked. I began by trying to find out why this was happening as while I was placing the sprites in the room it appeared to be fine, it was only after loading the game that the issue presented itself. At this point I believed that it was to do with the images being on the same depth and this had something to do with the issue
I then found a safer way of achieving the same goal, and that was to make a new object for each row of trees. Now this did take a lot longer, but meant that I could make changes if there was a mistake.
Now the trees all have the appearance that they should and the character can even walk behind them.
No comments:
Post a Comment