111 reputation
4
bio website crossbowffs.tumblr.com
location Somewhere over the rainbow
age 17
visits member for 1 year, 9 months
seen 11 hours ago

I enjoy programming and ponies. English is my primary language, C# is my second.


Mar
14
comment XNA GameComponent.Initialize() not called
Ah, silly me... How could I have missed this? /facedesk
Mar
14
accepted XNA GameComponent.Initialize() not called
Mar
14
asked XNA GameComponent.Initialize() not called
Mar
5
awarded  Autobiographer
Jan
24
awarded  Informed
Jan
23
accepted Objects being drawn on wrong layers
Jan
23
answered Objects being drawn on wrong layers
Jan
23
awarded  Scholar
Jan
22
comment Objects being drawn on wrong layers
I use an enum and a dictionary. Upon starting the game I loop through the enum and store depth values (e.g. 0, 0.1, 0.2, etc) in the dictionary. Then when objects are created I just set their depth values using the values in the dictionary.
Jan
22
comment Objects being drawn on wrong layers
Yeah, if there's really no other way, I would probably just let Game1 draw everything. What I really want to know is why having objects draw other objects is messing up the depth order.
Jan
21
awarded  Student
Jan
21
comment Objects being drawn on wrong layers
Everything that is not drawn by another object renders on the correct layer.
Jan
21
asked Objects being drawn on wrong layers