Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Y-based sprite rendering!
#26
Mozza Wrote:if i was you i would remove PlayersOnMapHighIndex, put it this way.

Your index = 2. Your the only one on the map so PlayersOnMapHighIndex = 1, the loop will only draw index 1 so you will not draw. Well thats what from veiwing the code in mirage. If im wrong let me know

EDIT
ok i just seen the playeronmap bit so i guess im wrong about that, but Robin i did think highly of you until now.

If Player(i).Y = Y Then TUT TUT your checking the I not playersonmap so if your the only one on the map your checking the position of Index 1 not nessesary your Index. so if you are the only one on the map and your index is 2 If Player(i).Y = Y Then will return 0 every time Smile as the PlayersOnMapHighIndex will be 1 so the loop will only check for 1

Change
Code:
Player(i).Y = Y

to
Code:
Player(PlayersOnMap(I)).Y = Y
maczosoft is back lol.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)