In reply to: Hmm... -- Colin 21:55:28 08-11-2004
Secondly... Posted by: Tidus 16:22:52 08-14-2004 |
Dont use downloaded Cursor Programs, I find them hard to config instead use this one that I made for my custom menu:
#savescreen() *The Screen is saved to erase old arrow tiles
#y!=1 *Y is a variable so it can be changed and updated
:top1
#graphic$=arrow.gph * For some reason my TK wont load images unless i do it through vars*
#put(17,y!,graphic$)
#wait(a$) *Waits for a key
#if(a$=DOWN) * checks if down was pressed
{
#if(y!>=6) *checks if y! is greater than or equal too 6
{
#clearbuffer()
#y!=1 *if y! is greater than or equal to 6 is it set back to 1*
#restorescreen()
#branch(:top1) *Starts the process again
}
#clearbuffer()
#y!=y!+1 *if y! is less than 6 then this adds 1 to y!, thus pushing it south*
#restorescreen()
#branch(:top1)
}
#if(a$=UP) *same thing
{
#if(y!=1)
{
#clearbuffer()
#y!=6
#restorescreen()
#branch(:top1)
}
#clearbuffer()
#y!=y!-1
#restorescreen()
#branch(:top1)
}
I hope you get the point by now, follow KSNiloc's advice, really learn RPGCode before doing something few can do.
~out
Tidus