i need some help understanding the source

237 views
Skip to first unread message

Erez Avidan

unread,
May 17, 2013, 6:40:48 AM5/17/13
to replica-island-...@googlegroups.com
hello!
i'm trying to understand the components of this game.
but i can't get where the order of drawing is set,
like, the background first then the player and objects and then the hud

Helhp

Matty Moriates

unread,
Nov 23, 2013, 4:48:22 PM11/23/13
to replica-island-...@googlegroups.com
My understanding is that the RenderSystem takes a priority parameter for what to render. These priority values are defined in SortConstants. 
The LevelSystem uses these constants in its loadLevel method which passes them to the LevelBuilder class. I know that isn't a very clear picture, but this should give you somewhere to start looking to further understand how it works.
Reply all
Reply to author
Forward
0 new messages