Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Drawing not working?

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 burnt_casadilla   Members   

443
Like
0Likes
Like

Posted 19 April 2014 - 05:03 PM

I've been looking over this problem for days now and I can't figure out why this class isnt drawing.

 

https://www.dropbox.com/sh/x2k1qsjuymvpu5p/NwIFVbAXAk

 

Thats my whole project so far, easier than pasting. I've set breakpoints and every method is being called and every variable initialized. This one has got me stumped :s 

 

 


If you see a post from me, you can safely assume its C# and XNA :)


#2 exOfde   Members   

838
Like
0Likes
Like

Posted 19 April 2014 - 11:27 PM

Instead of posting a link to your project you could post the code of your class where you think the error occurs !!!

Because you did not even tell as the name of the class. How ćould someone know which class you mentioned

without any information...


Edited by exOfde, 19 April 2014 - 11:28 PM.


#3 burnt_casadilla   Members   

443
Like
0Likes
Like

Posted 20 April 2014 - 05:40 AM

I had a few too many beers when i posted so ill try to elaborate more. I have two classes, cube and chunk. The draw methods for eeach class are practically the same. The cube class draws fine, but the chunk does not. Im on my phone so i cant post code right now unfortunately 


If you see a post from me, you can safely assume its C# and XNA :)





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.