






But I want one of thoseFel said:The video was so funny, poor robot though, to be bullied though.



google "solarbotics" (not to be confused with the game Solatorobo) and/or "most useless machine", and links to how to buy one/make one should appear. btw, you guys should also check out the Itazura Coin Bank. same principles, except when the lid opens, a cat pops out and paws a coin (trigger, instead of switch) into the box. so awesome. XDWiiBricker said:This is a useless homebrew.
yes, you're getting the hang of this thread.![]()
But I want one of thoseCannonFoddr said:QUOTE(Fel @ May 18 2011, 07:34 PM) The video was so funny, poor robot though, to be bullied though.- it'll keep the kids amused for ages![]()
(well it amused ME especially when it went 'mental')
is beyond me. I'm sure it made sense at the time...Rydian said:I'm seriously working on it right now.
CODEÂÂÂÂÂÂÂÂif (touchXY.px > strtol("7B", NULL, 16) && touchXY.px < strtol("8A", NULL, 16) && touchXY.py > strtol("53", NULL, 16) && touchXY.py < strtol("62", NULL, 16) && v_switch == 0) {
ÂÂÂÂÂÂÂÂÂÂÂÂv_switch = 1;
ÂÂÂÂÂÂÂÂÂÂÂÂv_pushed = v_pushed+10;
ÂÂÂÂÂÂÂÂÂÂÂÂframe = 0;
ÂÂÂÂÂÂÂÂ}
I've got the main functions done, now I just need to code in what happens when the homebrew gets pissed off at you.
I see your logic and raise you code I don't even understand anymore. How the hell I managed to come up with:
CODEÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂif (((p1.col < (SCR_HALFWIDTH - p1.width/2)) && (p1.col >= (-SCR_HALFWIDTH + p1.width/2))) &&
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ((p1.row < SCR_HALFHEIGHT) && (p1.row >= -SCR_HALFHEIGHT)))ÂÂ{ÂÂ//ensures only on-screen pixels get drawn
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂdrawRectDMA(p1.row + (SCR_HALFHEIGHT - p1.height/2), p1.col + (SCR_HALFWIDTH - p1.width/2), // keep entire thing centered
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂp1.height, p1.width, drawColor);ÂÂ//shift to center of screen
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ}


hrrm, i just compiled it myself and it runs fine... maybe no$gba just hates the version of devkitpro you have installed...mercluke said:"the rom image has crashed" when trying to launch in no$gba![]()
edit: nice source commenting, though ;p

