i need help with a desktop
Blitz3D Forums/Blitz3D Beginners Area/i need help with a desktop
| ||
im currently making a blitz desktop program. i need help with programing a mouse for a full screen program. please help. if would be nice if some one could give me the basic model of a desktop and then ill add on to it. my email is malicnite@... so you can send me the code. thanks for your time. |
| ||
basic model of a desktop? Not sure what you're talking about. It's easy to have a mouse in fullscreen mode, simply use a bitmap for the mouse, eg: mymouse=loadimage("thingie.bmp") ;... while keydown(1)=0 ; draw other graphics, then finally: drawimage mymouse,mousex(),mousey() flip wend |
| ||
I think he might be talking about a GUI?? |
| ||
maybe, yes. he should try this one: http://www.melog.ch/dl/blitzui_130.zip |
| ||
hey thanks for the help. ok new problem. i got the mouse to work and the backround to gather. here is the code for you to see. i made in about 5 mins to it does not look good.Graphics 800,600,0,1 SetBuffer BackBuffer() mouse = LoadImage("C:\Documents and Settings\chris.BILL\My Documents\uaeq2\sever\pics\mouse.png") back = LoadImage("C:\Documents and Settings\chris.BILL\My Documents\uaeq2\sever\pics\back.jpg") bar = LoadImage("C:\Documents and Settings\chris.BILL\My Documents\uaeq2\sever\pics\bar.jpg") While Not KeyDown(1) Cls DrawImage back,0,0 DrawImage bar,0,0 DrawImage mouse,MouseX(),MouseY() Flip Wend the question is how can i make an event that activates a line of code when i click a button on screen, like start. and make a menu come up. malicnite |