Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Per-pixel sprite vs tilemap collision
#3
For example, I must call GetLayerTile() deducting window height from ypos to make it detect tiles.
Code:
TLN_GetLayerTile(LAYER_FOREGROUND,x,y-HEIGHT+19,&tileinfo);
I don't clearly understand why it happens.


Messages In This Thread
Per-pixel sprite vs tilemap collision - by mycats - 04-23-2020, 02:43 AM
RE: Per-pixel sprite vs tilemap collision - by mycats - 04-24-2020, 02:17 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)