Try This:
Sync Rate 60
Create Bitmap 1,200,200
Set Current Bitmap 1
Ink RGB(255,255,255),RGB(0,0,0)
Get Image 1,0,0,199,199
Set Current Bitmap 0
Make Object Box 1,400,400,2
Texture Object 1,1
Position Object 1,0,0,110
Point Object 1,Camera Position X(),Camera Position Y(), Camera Position Z()
Do
If Mouseclick() and Pick Object(MouseX(),MouseY(),1,1)
bbx#=Object Screen X(1):bby#=Object Screen Y(1)
cx#=100+(MouseX()-bbx#):cy#=100+(MouseY()-bby#)
Set Current Bitmap 1
Circle cx#,cy#,1
Get Image 1,0,0,199,199
Set Current Bitmap 0
Texture Object 1,1
Set Cursor 0,0:Print cx#
Set Cursor 0,15:Print cy#
Endif
Sync
Loop
And This:
Sync On
Sync Rate 60
Dim Text$(5) as String
Autocam Off
For i = 1 to 5
Create Bitmap i,90,30
Read Text$(i)
Set Current Bitmap i
Center Text 45,8,Text$(i)
Get Image i,0,0,89,29
Make Object Plain i,60,20
Texture Object i,i
Position Object i, 0,100-30*i,400
Next i
Set Current Bitmap 0
Make Object Plain 6,65,25
Color Object 6,RGB(255,255,0)
Ghost Object On 6
Hide Object 6
Make Object Box 7,200,200,1
Position Object 7,0,0,402
Color Object 7,0
Set Object Ambient 7,0
Set Object Light 7,1
Do
Menu_Item = Pick Object(MouseX(),MouseY(),1,5)
If Menu_Item>0
Position Object 6,Object Position X(Menu_Item),Object Position Y(Menu_Item),Object Position Z(Menu_Item)-.1
Show Object 6
Else
Hide Object 6
Endif
If MouseClick() Then Test$=Do_Menu_Command(Menu_Item)
Set Cursor 0,0: Print Test$
Move Camera (Upkey()-Downkey())*2
Turn Camera Left (Leftkey()-Rightkey())*2
Sync
Loop
Function Do_Menu_Command(Item)
Select Item
Case 1
Temp$="This"
EndCase
Case 2
Temp$="Is"
EndCase
Case 3
Temp$="A"
EndCase
Case 4
Temp$="Test"
EndCase
Case 5
End
EndCase
Case Default
Temp$=""
EnDCase
EndSelect
EndFunction Temp$
Data "This", "Is", "A", "Test", "-Exit-"
The first example is a deffinate work-around. You would have to make sure the blackboard was in the correct place and the correct angle (straight on).
The second shows some simple menu commands done in a format similar to the previous post. I understand that on the Pick Object command, having it check for a lot of objects can really slow you down. Work-around: have more tiers in your menu hierarchy.
Hope this helps.
Edit: Oh, almost forgot. In the second example you can use the arrow keys to move the camera around.
"Droids don't rip your arms off when they lose." -H. Solo
REALITY II