Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Daniel_RT

Member Since 24 Sep 2011
Offline Last Active Jun 28 2014 11:16 AM

Posts I've Made

In Topic: Change texture at runtime?

31 January 2013 - 12:04 PM

Where's your code to bind the next texture? I'm not familiar with UpdateSubresource, but you need to bind the new texture to render for that state change, otherwise it'll just use the last one that was bound before you render it.


In Topic: Pointer array sizeof question?[Problem Found](Embarrassing problem)

29 January 2013 - 01:47 PM

Hmm that's weird, only thing different from yours to mine is WORD and that is 2 bytes less than DWORD...

 

unsigned int numIndices = Model.Total.Face* 3
indexBufferDesc.ByteWidth = numIndices * sizeof(WORD);

 

Maybe the number of faces is wrong?


In Topic: Have Solution/Project for both VS2010/2012

29 January 2013 - 01:02 PM

I've not used 2012, but if I want to open a vs2008 solution in my vs2010 then I just open it... Visual Studio does the conversion automatically? Doesn't 2012 not do this?


In Topic: erasing text

01 November 2012 - 05:35 PM

I've never used ID_TIMER, is it called every frame? Anyway just create a bool and stick an if check around your draw text function? The bool becomes false when you don't want the text, I.e. new screen. Also why would you think drawing black text over red would erase it? Did you not think that it would draw black text? If that timer message is called all the time then you might want to re locate that create font code

If ( bSplashScreen )
// draw text

In Topic: image problem

23 October 2012 - 06:38 AM

If you can't find the issue, then I don't see how we can help with just a picture. That could be anything?

PARTNERS