git clone http://xvicario.us/git/rott-rpg.git
It says other open source license, but I may change it. I kinda wrote one of my own. I might just add an SVN repo to my website for simplicity, and kill the project on Google Code. Nothing too impressive right now.DwBtl() -- Draws the battle screen.
BtlSl() -- Menu selection for battle screen.
.MENU
1→I→M
"**Ro|pRPG**"→Str1
"*Engine*"→Str2
Fix 1:FixFix5
Repeat getKey(15)
If (M=1)
If getKey(1) and (I<3)
I+1→I
End
If getKey(4) and (I>1)
I-1→I
End
If getKey(54)
If (I=1)
1→I+1→M
End
If (I=3)
Goto Exit
End
End
End
If (M=2)
If getKey(1) and (I<6)
I+1→I
End
If getKey(4) and (I>1)
I-1→I
End
If getKey(54)
If (I=6)
1→I→M
End
End
End
.Start drawing the menu
ClrDraw
If (M=1)
Text(18,8,Str1)
Text(24,16,Str2)
Text(36,32,"Play")
Text(36,40,"Help")
Text(36,48,"Quit")
Text(30,(I+3)*8,">")
Text(60,(I+3)*8,"<")
End
If (M=2)
Text(36,8,"Sav1")
Text(36,16,"Sav2")
Text(36,24,"Sav3")
Text(36,32,"Copy")
Text(36,40,"Kill")
Text(36,48,"Back")
Text(30,I*8,">")
Text(60,I*8,"<")
End
End
Lbl Exit
Fix 0:Fix 4
ClrHome:ClrDraw
Generated by the BBify'r (http://clrhome.tk/resources/bbify/ (http://clrhome.tk/resources/bbify/))
Except Runer112, because it has to be readable by humans.lol readable by humans :)
Noone? :(Instead of I+1->I, use I++
Well I have started the process of merging the menu and stuff... So expect more monday!
Wow! Thanks!
Could you give another example on the Text( thing and the !If M-2 will that work with !If M-1 and M-3 etc?
"Hello"[00]->Str1
"Worlds"[00]
Text(0,0,stdDev(Str1,0))
Text(0,7,stdDev(Str1,1))