Tuesday, 7 June 2016

Week 9 - Poduction Issues

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 out that if I placed a sprite down, then another one next to it and dragged it onto the same space, then the new sprite would be on top of the old sprite. This meant that one way of fixing the issue would be to place the trees from back to front. The only problem with this issue would be that it would get really messy and unorganized, and it I made one mistake then I would need to do it all again.


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