Computer Science Canada How to make buttons??? |
Author: | moon15 [ Thu Apr 02, 2009 7:42 pm ] | ||
Post subject: | How to make buttons??? | ||
Well as some of you know i'm making a game so now I have everything down except for difficulty levels( which I will be working on) and the buttons.When I say buttons I mean when a character comes down the screen I need to click w for witch, m for monster and g for ghost any one who knows where the tutorial for this is please do tell.
|
Author: | moon15 [ Thu Apr 02, 2009 9:01 pm ] |
Post subject: | RE:How to make buttons??? |
could some 1 assist me by chance???? |
Author: | BigBear [ Thu Apr 02, 2009 9:12 pm ] |
Post subject: | RE:How to make buttons??? |
buttons are pretty simple if you know how to use the mouse just check to see if the x and y position of the mouse are in the certain area and if the button > 0 Meaning they click on the button then call your procedure or w/e look into Mouse.Where |
Author: | Tallguy [ Fri Apr 03, 2009 8:03 am ] | ||
Post subject: | RE:How to make buttons??? | ||
try like
so you have a 'spot' on the screen and waiting foe the mouse to be pushed |
Author: | leafs23 [ Wed Apr 08, 2009 3:25 pm ] |
Post subject: | RE:How to make buttons??? |
you need to post the pics for it so i can help |
Author: | Siavash [ Wed Apr 08, 2009 4:51 pm ] |
Post subject: | RE:How to make buttons??? |
google it first before you ask. go to: http://compsci.ca/v3/viewtopic.php?t=3583 |