Thanks a lot! I used the latest svn version and applied that minor fix, and now GRRLIB and the "lesson1" demo compile and run perfectly. You were probably right about that bug fixed in r180 being the problem, since I was in fact loading homebrew over wifi without an SD card inserted.by Couchy - Coding
After taking a break from Wii coding, I decided to return by making a clean install of devkitPro r19 and GRRLIB 4.1.0, but I can't seem to get it to work right, and I was hoping someone here could help. Here's what I did: 1. Copied the lower-case "grrlib" folder and "grrlib.h" to my devkitPro "includes" folder. 2. In the grrlib and pngu makefiles, changed this: CC := $(DEVKITPby Couchy - Coding
I'm at the exact same stage as profetylen right now; I just set up the ogg player successfully (Ran into the same linking errors too, but found the fix after a bit of googling. Wish I had stumbled upon this thread sooner.) Anyway, I'm also working on sound effects now, and I was just wondering if anyone has had any luck in using Audacity to convert sound effects. I'm pretty sure Iby Couchy - Coding
Ok, I created another variable for the dot positions that's the same as p1rot with the conversion lopped off, and it works beautifully now. Kudos, you guys are life savers! (game savers?) Anyway, it looks to be all downhill from here. :)by Couchy - Coding
I know this would be better suited for the GRRLIB forum, but that place is dead, so... while(1) { if (wPadp1->ir.valid) { GRRLIB_DrawImg(wPadp1->ir.x - 24, wPadp1->ir.y - 24, 48, 48, tex_p1crosshair, wPadp1->ir.angle, 1, 1, 255 ); float p1rot = (atan2(p1y - wPadp1->ir.y, p1x - wPadp1->ir.x) * 180 / PI); float ldotx = cos(p1rot - 1.5707964) * 33; // 1.5707by Couchy - Coding
Thanks for the tips. I changed those static ints to floats, and it's working much better now, at least enough so that I can see what else is going wrong and take steps toward fixing it. I had assumed equations involving decimals would be fully calculated out and THEN truncated to an integer if necessary, but apparently, that's not the case. This is my first coding project, so I guess siby Couchy - Coding
/*=========================================== GRRLIB (GX version) 3.0 alpha Code : NoNameNo GX hints : RedShade Template Code (Minimum Requirement) ============================================*/ #include #include #include #include #include #include #include #include #include #include "GRRLIB/GRRLIB.h" #include "gfx/p1body.h" #iby Couchy - Coding