What I'm working on now, is writing something that returns the red, blue, and green hue values of a pixel. Or something (like an algorithm) that returns that returns a pixels hexadecimal color. EDIT: I just remembered; don't Direct3d and Directx only work on the xbox, xbox360 and windows operating system?by Arikado - Coding
So would I need to bother with its hexadecimal equivalent (FF00FF)? That was what I thought I needed to use to perform the "check". That or its binary, at least. Actually, my brain has been running around in circles all day. I'm this close to blowing out the little lightbulb in my brain. The function you showed me looks a little complex, but it can't possibly be worse than what Iby Arikado - Coding
Really? I'll take a look at it thank you. EDIT: Oh, and I e-mailed chaosteil what I've got so far. I'm hoping for some friendly correspondance and maybe a word or two of advice. Actually, I'm really just hoping he sends me the source for libwiisprite.by Arikado - Coding
Actually, I did. I looked at DragonMedia Player, MiniMp3 Player, and MPlayerWii. MiniMp3 Player used GRRLIB, which I know nothing about. DragonMedia Player used libwiisprite, which I know quite a bit about. Unfortunately I didn't understand its loading technique. I sort of just quickly skimmed MPlayerWii. I've been able to figure out that the function needs 3 parameters to pass. Tby Arikado - Coding
Mp3 converter tool I haven't tried it myself but I've heard good things about it. Plus its free. Check out the page first however. No guarantee, but I'm 99.9% sure it will work perfectly. You'll need devkitPPC properly installed to do the following: Add -lfat -lwiiuse -logc to the LIBS directory in your makefile. Add a folder called data to your .pnproj file. Put youby Arikado - Coding
I believe if you want to play the .ogg file, you must write the function to do so yourself. An easier method may be to convert it to an .mp3 file and use libogc to play it.by Arikado - Coding
I like the idea behind your previous reply, but I don't see a function for it in libwiisprite. Unfortunately, I believe the method you described would also be rather tedious for large sprite sheets. Having said that, it may just be easier to just delete the pixels if the color checks out. If I can get my function working properly, you need only call it once and you can make any color of pixeby Arikado - Coding
//Function Prototypes void MakeTransparent(Image* image, int r, int g, int b); bool CheckPixel(Image* image, int x, int y, int r, int g, int b); //Actual Functions (or most of them anyway) void MakeTransparent(Image* image, int r, int g, int b){ int width = image->GetWidth(); int height = image->GetHeight(); for(int y = 0; y <= height; y++){ for(intby Arikado - Coding
To do that, you'll probably need to find a way to draw onto the data source. May I reccomend a library to help get you started? libwiisprite GRRLIBby Arikado - Coding
QuotetonaWii64 is the name given to the Wii builds of the mupen64gc project. Source is hosted on Google Code. It won't let me access the soure.by Arikado - Homebrew Applications
WiiPhlex: Thank you once again and I'll do some more research. If I write a working function for this purpose I'll post it here. UPDATE: I found Allegro's source code here I'm surgically picking through it and attempting to port its transparency functions. UPDATE 2: I just finished making a test program in which you guide a sprite over a multi-colored background. So fby Arikado - Coding
svpe: Where can I find the source code so I can contribute?by Arikado - Homebrew Applications
I believe that once you have devkitPPC properly installed it comes with some documentation. I include the libwiisprite library in my wii programs to make it easier to program. For the record, libwiisprite comes with very extensive html documentation.by Arikado - Coding
WiiPhlex: Thank you for your help. I was wondering if you were implying that I can use your equations to make one color in a sprite rendered completely transparent when drawn. For example, back when I used to program with the Allegro game engine, all of the Pink (255, 0, 255) pixels in a sprite were drawn completely invisible. While I don't really care which color is used to achieve the sby Arikado - Coding
I originally used the book C++ in 21 days.by Arikado - Offtopic
I'm working on my first game for wii. So I've decided to work with the libwiisprite library. So far I've got the menu for my game working. Anyways, I was wondering about how to implement the transparancy for my sprites. I know that there is a SetTransparency() for each sprite in the Sprite class but I can't figure out how it works. Is there just a color I can use in my png imaby Arikado - Coding
When is a version with a better frame rate coming out?by Arikado - Homebrew Applications