
-----------------------------------
DanShadow
Mon Jun 28, 2004 1:35 pm

questions on graphics, etc.
-----------------------------------
Well, I was wondering what command I would use to set a specific color 
(ie. bright neon purple, 
if key==(KEY_UP_ARROW)
{
y=y+3
else if key==(KEY_DOWN_ARROW)
y=y-3
}

(Sorry if the code is wrong).

If you anyone could help me with these, it would be GREATLY appreciated!!

-----------------------------------
rizzix
Mon Jun 28, 2004 2:46 pm


-----------------------------------

while (true) {

}


-----------------------------------
DanShadow
Mon Jun 28, 2004 7:28 pm


-----------------------------------
Now...am I suppose to put ALL my code, including classes, and public voids all in the while loop? (ps-> tx)

-----------------------------------
Tony
Mon Jun 28, 2004 8:24 pm


-----------------------------------
i'm preaty sure that you don't put your public voids in the loop :? 

the loop is just suppost to be your program's driver

-----------------------------------
DanShadow
Mon Jun 28, 2004 8:52 pm


-----------------------------------
then do I include the public voids as methods (ie. drawTile();) inside the loop?

-----------------------------------
Tony
Mon Jun 28, 2004 9:16 pm


-----------------------------------
yes :roll:
