Has anyone got the documentation for the editor?
It wasnt in the file I downloaded
It wasnt in the file I downloaded
Select alphamenuget$() ; what menu is active ? Case "Aim" Select alphagetactive$() Case "Aim button" Text 10,130,"Hello" end select
AppTitle "AlphaGUI Example #1 (c) Jeppe Nielsen 2003" HidePointer Include "../Include/Alpha_Include.bb" ; include the functions ;set graphics size Graphics3D 800,600,16,2 ; AlphaInit 100,100,100 ; initialize the gui system; create the camera used throughout the system. AlphaGuiLoad("button2.gui") ; load the gui in, set to fill the whole screen alphapointer("Gfx\Pointer.png",2) ;load mouse pointer as a 3d quad ;camera camera=CreateCamera() CameraClsColor camera,128,128,128 ;grey background AlphaToFront ; bring the gui camera to front, in front of the previously created camera Repeat AlphaGui ; update the gui RenderWorld ;make it show Select alphamenuget$() ; what menu is active ? Case "Aim" Select alphagetactive$() Case "Aim button" Text 10,130,"Hello" End Select End Select ;write some useful information about the gui to the screen Text 10,0,"Gui state :"+alphaguistate() Text 10,20,"Gadget touched:"+alphagettouched$() Text 10,40,"Gadget pressed:"+alphagetpressed$() Text 10,60,"Gadget released:"+alphagetreleased$() Text 10,80,"Gadget active:"+alphagetactive$() Text 10,100,"Active gadget value:"+alphagetvalueactive$() Text 10,120,"Active menu:"+alphamenuget$() Flip Until KeyDown(1) Or alphagetreleased$()="quit" End
AppTitle "AlphaGUI Example #1 (c) Jeppe Nielsen 2003" HidePointer Include "alphagui/Alpha_Include.bb" ; include the functions ;set graphics size Graphics3D 800,600,16,2 ; AlphaInit 100,100,100 ; initialize the gui system; create the camera used throughout the system. AlphaGuiLoad("alphagui\button2.gui") ; load the gui in, set to fill the whole screen alphapointer("alphagui\Pointer.png",2) ;load mouse pointer as a 3d quad ;camera camera=CreateCamera() CameraClsColor camera,128,128,128 ;grey background cube=CreateCube() AlphaToFront ; bring the gui camera to front, in front of the previously created camera MoveEntity camera,0,0,-3;Makes GUI move! Repeat AlphaGui ; update the gui RenderWorld ;make it show Select alphamenuget$() ; what menu is active ? Case "Battle" Select alphagetactive$() Case "Aim" Text 10,130,"Hello" End Select End Select ;write some useful information about the gui to the screen Text 10,0,"Gui state :"+alphaguistate() Text 10,20,"Gadget touched:"+alphagettouched$() Text 10,40,"Gadget pressed:"+alphagetpressed$() Text 10,60,"Gadget released:"+alphagetreleased$() Text 10,80,"Gadget active:"+alphagetactive$() Text 10,100,"Active gadget value:"+alphagetvalueactive$() Text 10,120,"Active menu:"+alphamenuget$() Flip Until KeyDown(1) Or alphagetreleased$()="quit" End