It works now! :) Thank you so much Arikado! And thank you, Matando. :) Now Ican start on a project. :)by XEnterprises - Coding
I'm sure the file is in the right location. Does the image have to have a certain bit depth? Here's the code: // Create the game window and initalise the VIDEO subsystem GameWindow gwd; gwd.InitVideo(); gwd.SetBackground((GXColor){ 255, 255, 255, 255 }); Sprite sprite; Image image; bool imgloaded = false; if(image.LoadImage("sd:/apps/XsTests/cursor.png") != IMG_LOADby XEnterprises - Coding
Sorry Matando, your solution doesn't work. I have it setup so that if it could not load the image, it turns the background color to red. And the background turned red. Any other ideas?by XEnterprises - Coding
Hello, I'm new to Wii homebrew development but not to programming. I have been programming for a few years now. So, anyway, I'm trying to use libwiisprite and it looks pretty simple to me so I use this line: if(image.LoadImage("/apps/XsTests/cursor.png") != IMG_LOAD_ERROR_NONE) { } else { imgloaded = true; } to load an image. I've tried many other path formats and I got it toby XEnterprises - Coding