If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Mouse selection with picture
40 posts
• Page 2 of 4 • 1, 2, 3, 4
Re: Mouse selection with picture
That is a cool technique billv.
Thanks for doing that ... I just learned something new!
Thanks for doing that ... I just learned something new!
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Mouse selection with picture
nice one billv, but when resizing the bitmaps you always need to fit the móuse areas which is not needed when you use the bitmapareas for mouseareas, like this you just load ( or rezize ) a bitmap and you automaticly get the mousearea for it...
- Attachments
-
- mousearea_bmpsize.fsm
- (6.82 KiB) Downloaded 739 times
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Mouse selection with picture
...and here a ruby approach for a picture array.
Edit: Sorry there was an little error in the first attempt. Upped a new version
Edit: Sorry there was an little error in the first attempt. Upped a new version
- stw
- Posts: 111
- Joined: Tue Jul 13, 2010 11:09 am
Re: Mouse selection with picture
Nubeat7 wrote: load ( or rezize ) a bitmap and you automaticly get the mousearea for it...
Yeh..much better...
Note in your example this dosn't work cause I've got the area floats dis-connected
in the bitmap loaders.
Here's a quick adjustment.
Also an option(via properties) to resize bitmaps to view area of module.
I did try some ruby approaches....but got stuck controlling the mouse areas.
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Mouse selection with picture
Hello !
Thank you for your help guys !! It's perfect
If i use the first picture for the background and the second picture for to be in front all (button etc...)
It's difficult ?
Thank you for your help guys !! It's perfect
If i use the first picture for the background and the second picture for to be in front all (button etc...)
It's difficult ?
- rustyou
- Posts: 93
- Joined: Sat Jan 04, 2014 10:55 am
- Location: France
Re: Mouse selection with picture
oh yes i just used your example to show the mouse logic and because the pictures have same size i let like it was... (with your hack to get different picture size)billv wrote:Note in your example this dosn't work cause I've got the area floats dis-connected
in the bitmap loaders.
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Mouse selection with picture
It's possible to change the color of picture before of clicked ?
- rustyou
- Posts: 93
- Joined: Sat Jan 04, 2014 10:55 am
- Location: France
Re: Mouse selection with picture
Yeh,bitmap colour changes can be made with the colour matrix prim.
Inside the bitmap, replace the 'draw prim' with the 'draw transform prim' and add
a 'redraw' prim. Then add colour matrix prim.
The tricky part is all the math needed, to change the hue, saturation and brightness.
This has all been done by someone back at SM, so it's real easy.
Inside the bitmap, replace the 'draw prim' with the 'draw transform prim' and add
a 'redraw' prim. Then add colour matrix prim.
The tricky part is all the math needed, to change the hue, saturation and brightness.
This has all been done by someone back at SM, so it's real easy.
BV MUSIC SYDNEY AUSTRALIA..Songwriting and Software development
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
Headquartershttps://www.bvmusicsydneyaustralia.com/
Spotifyhttps://open.spotify.com/artist/7JO8QM40mVmHb7pAwKPJi0
Donatationhttps://www.paypal.com/donate/?hosted_button_id=HEUR8R7K8GZ4L
- billv
- Posts: 1157
- Joined: Tue Aug 31, 2010 3:34 pm
- Location: Australia
Re: Mouse selection with picture
Hi !
Great thanks you,
And in the example joint, if i to want changed the color of guitar logo to white before click...?
Great thanks you,
And in the example joint, if i to want changed the color of guitar logo to white before click...?
- Attachments
-
- test color buttoninvisible.fsm
- (155.93 KiB) Downloaded 728 times
- rustyou
- Posts: 93
- Joined: Sat Jan 04, 2014 10:55 am
- Location: France
40 posts
• Page 2 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: Google [Bot] and 63 guests