Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Help me , please

Author
Message
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 2nd Jan 2006 22:38
Can someone write me a simple : click on button (image) script ?
for db classic , please..


Link102
20
Years of Service
User Offline
Joined: 1st Dec 2004
Location: On your head, weeeeee!
Posted: 2nd Jan 2006 23:23
search the forums

Don't look at my sig!
John H
Retired Moderator
22
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 2nd Jan 2006 23:23
Nope, but I'll give you a hint how to do it

First of all, find where the image is positioned. This uses the upper left hand corner of the image. Then, to find the other sides, just use the width and height of the image.

Top left = Image Position X and Image Position Y
Top Right= Image Position X + Image Width, Image Position Y
Bottom Left = Image Position X, Image Position Y + Image Height
Bottom Right= Image Position X + Image Width, Image Position Y + Image Height

Then check if your mouse is past the left side of the image, before the right side of the image, passed the top of the image, but above the bottom of the image.

There you go Give a man a fish and feed him for a day, teach a man to fish and feed him for his life, good motto right there


Join Our Forums and get game updates faster!
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 3rd Jan 2006 01:48
thanks , it works...

to be honest , i`m trying to make something like quickly game studio in it..


The crazy
20
Years of Service
User Offline
Joined: 20th Jan 2005
Location: Behind you
Posted: 3rd Jan 2006 02:23 Edited at: 3rd Jan 2006 02:25
check out tdk's app. its amazing

[edit] went to look for it, but I'm lazy and only looked for like not long. I downloading it somewhere on these forums...

Your signature has been erased by a mod because it's larger than 600x120...
Dodic
19
Years of Service
User Offline
Joined: 6th Nov 2005
Location: SNM (Serbia&Montenegro)
Posted: 4th Jan 2006 05:45
Quote: "check out tdk's app. its amazing"



i did , i now use it in each of my projects , its GREAT


Login to post a reply

Server time is: 2025-05-23 02:11:08
Your offset time is: 2025-05-23 02:11:08