• Content count

  • Joined

  • Last visited

Community Reputation

350 Neutral

About Azalrion

  • Rank
  1. C# array question

    Thats not what rip-off was trying to suggest. He was saying if you use an array you have to keep track of whether the sprite should be visible (i.e has been hit or not) in a list when its hit you just remove it from the list and no longer need to check whether it needs to be rendered, updated or have collisions for hits against it  etc anymore. 
  2. Can't create texture from raw data

    As far as I can tell it might be because you're never actually using subres (at least in the snippet), the following might work: HRESULT result = device->CreateTexture2D(&desc, &subres, &texture2D);   You can find a small example at the bottom of the documentation:
  3. [quote name='anye3000' timestamp='1350904199' post='4992724'] I encounter a question about how to change the size of font [irrlicht-1.7.3], need a function like SetScale(f32 scale), the size of font change over time. I just touch with IrrLicht less a week. so what can I do? inherit some class or ?in detail, Thanks in advance. [/quote] You can't directly, the standard way in irrlicht is you use the font generator tool provided and create the different sizes that you need and then load the instance you need for the correct size. If you don't want to do that what you can do is use the class for multi byte font rendering [url=""]http://irrlicht.sour...pic.php?t=37296[/url] that can be used instead and with ttf fonts which allows you to set the size when creating the font.