Thanks. I knew & was for bitwise I just didn't know exactly when to use it. But thanks again as it makes more sense...by TPAINROXX - Coding
Hey, could anyone answer me this simple question? When I started learning C++ a few months ago I learned that when using a conditional statement that had &&, that this was the correct way to use it: if ( x == 5 && y == 3) But I've noticed that if I don't use just &, then the statements don't work correctly. For example (from my code): WPAD_ScanPads();by TPAINROXX - Coding
Thanks, well I get no errors or warning, but I'll try using GRRLIB 3.0. Or maybe even GRRLIB 4.0.0 and not the SVN version. I'll post later if I get it working.by TPAINROXX - Coding
Well this is the code for my game WiiMoveIt so far, but I'm having issues running it. I either get a blank screen or code dump. My program use to work, other than the game, but after I started using a newer version of GRRLIB 4 (rev101) I can't get nothing to work, but I don't think it's GRRLIB related. Here's my current code as of now: Thanks for any help, ~BKWby TPAINROXX - Coding
Well this is sorta odd..., but if I add a "debug mode" for the IR the cursor works right. This is basically the debug. while(1) { cout<<"ir1.x: "<<ir1.x<<"/tir1.y: "<<ir1.y<<"\n"; GRRLIB_FillScreen(0x0000000F); WPAD_ScanPads(); u32 held1_debug = WPAD_ButtonsHeld(0); if (held1_debug & WPAD_BUTTON_PLUS) {break;} } It doesby TPAINROXX - Coding
Quotespeewavewhy did you subtract by 48 and 45? To center the image on the tip of the finger and not the center of the image. -- Also I already looked at that thread and I'm doing the same thing that person was doing, but the pointer doesn't move at all. I think the IR is not responding. But you also might be right, so I'll mess with it and see if I can get something going.by TPAINROXX - Coding
Hello. I'm trying to get a cursor to display with GRRLIB and I'm having a problem with the DramImg to place the cursor the in the right spot (based off the IR). The pointer displays in the game, but at 0,0 while not moving to the Wiimote's IR data. Everything in the loop works correctly except for the pointer. Thanks for any help in advance. //DECALRED EARLIER BEFORE LOOP. WPby TPAINROXX - Coding