c++cnintendo-ds

Alpha blending sprites in Nintendo DS Homebrew


I'm trying to alpha blend sprites and backgrounds with devkitPro (including libnds, libarm, etc).

Does anyone know how to do this?


Solution

  • As a generic reference, i once wrote a small blog entry about that issue. Basically, you first have to define which layer is alpha-blended against which other layer(s). Afaik,

    For the sprites, specifically, you then have 3 ways to achieve alpha-blending depending on what you need and what you're "ready to pay" for it: