Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sprite/Tile YSort effect and Camera Movement
#1
Currently, I have successfully managed to implement collision detection by making using of a TMX library (I advise loading collision objects be a future feature of Tilengine) however I have been unable to pull off a convincing enough in-front-of/behind effect for the protagonist and walls, as it makes use of layer priority, which only works so well while the protagonist is behind the upper part of the wall found in the prioritized layer. I suppose I may scrap having such situations at all for the better of continuing work without much hassle, but I am curious about doing this even then.

Another thing is that I wish to implement a camera similar to that of games such as Earthbound. However, I am not skilled at this and therefore having it center around the character results in the position of the player being stored becoming inaccurate, which prevents collision detection from working correctly. I'm also curious about this. 

[Image: unknown.png]

[Image: unknown.png]

Example screenshot from Earthbound for the SNES.
[Image: earthbound-twoson-jogoveio.png]
I wish you could just mov the obstacle from the destination.
Reply


Messages In This Thread
Sprite/Tile YSort effect and Camera Movement - by Uneven_Prankster - 05-06-2020, 12:24 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)