21tmccauley wrote:
I tried to make it highlight the text that your cursor is over but it only works for a second after enter is pressed. I know right now the code is very redundant, but I was trying to see that method would even work. (It doesn't)
Code:
Code:
1->C
36->B
ClrDraw
For(A,1,36,1
TextColor(Black
Text(1,100,"School
Line(0,238,180,238,Black
Text(1,170,"Days Left: ",B
Text(17,1,"Activites:
Text(32,1,"Play tag (athleticism)" //c=1
Text(47,1,"Study math (intellegence)" //c=2
Text(62,1,"Flirt with girls/guys (charisma)" //c=3
Text(77,1,"Play with some dice (Luck)" //c=4
Repeat K=105
getKey->K
max(1,min(4,C+sum(DeltaList(Ans={25,34->C
End
If C=1
Then
TextColor(Blue
Text(32,1,"Play tag (athleticism)"
TextColor(Black
Text(47,1,"Study math (intellegence)"
Text(62,1,"Flirt with girls/guys (charisma)"
Text(77,1,"Play with some dice (Luck)"
Else
If C=2
Then
TextColor(Blue
Text(47,1,"Study math (intellegence)"
TextColor(Black
Text(62,1,"Flirt with girls/guys (charisma)"
Text(77,1,"Play with some dice (Luck)"
Text(32,1,"Play tag (athleticism)"
Else
If C=3
Then
TextColor(Blue
Text(62,1,"Flirt with girls/guys (charisma)"
TextColor(Black
Text(77,1,"Play with some dice (Luck)"
Text(32,1,"Play tag (athleticism)
Text(47,1,"Study math (intellegence)"
Else
If C=4
Then
TextColor(Blue
Text(77,1,"Play with some dice (Luck)"
TextColor(Black
Text(32,1,"Play tag (athleticism)
Text(47,1,"Study math (intellegence)"
Text(62,1,"Flirt with girls/guys (charisma)"
End
End
End
End
If max(K={1,2,3,4
B-1->B
If C=1
//Run tag program
If C=2
//Run Math program
If C=3
//Run Charisma program
If C=4
//Run Dice program
End
I’ll check it out when I get home but it seems to me your problem is the getkey repeat loop put the end for it st the bottom of all the if statements