Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My Stupid Casual Programming Problems
#6
What is "a"?
What is "rndrbackid", and magic number "4321"?

+1 to Blue Phoenix's comment, I might expand on it. Every frame:
Remove objects that are dead (to be deleted) from the list of on screen objects
Sort remaining objects (smallest to biggest z)
Render objects.

p/s: don't make a map of object -> z position



Azriel~
Reply
Thanks given by: A-Man


Messages In This Thread
My Stupid Casual Programming Problems - by A-Man - 03-15-2014, 08:25 AM
Render z-wise algorithm. HELP! - by A-Man - 05-31-2014, 07:23 AM
RE: My Stupid Casual Programming Problems - by Azriel - 05-31-2014, 05:38 PM



Users browsing this thread: 1 Guest(s)