Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,369 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: "shape sensitive" panel buttons... [Re: Puppeteer] #203216
04/20/08 13:52
04/20/08 13:52
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline OP
User
cro_games  Offline OP
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
 Originally Posted By: DavidLancaster
Did you do the pixel_for_bmap checks in a button functionOver? I'm curious as to how you handled the overlapping, ie a panel with a rectangular bounding box over laps another bounding box, how do you determine which one the mouse is over if it's over both bounding boxes at once??? Thanks!


1. You put all buttons on their places.(via code)
2. You create a screenshot of the menu.
3. On that screenshot you set the differtent color to every button.
4. You create the code that read the color from the screenshot.

example:




Last edited by cro_games; 04/20/08 15:00.

Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Re: "shape sensitive" panel buttons... [Re: cro_games] #203275
04/20/08 20:32
04/20/08 20:32
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Great solution! Thanks for the explanation!

Re: "shape sensitive" panel buttons... [Re: Pappenheimer] #203431
04/22/08 03:10
04/22/08 03:10
Joined: Nov 2004
Posts: 862
Australia
DavidLancaster Offline
User
DavidLancaster  Offline
User

Joined: Nov 2004
Posts: 862
Australia
Thank you Crow much appreciated!

Re: "shape sensitive" panel buttons... [Re: DavidLancaster] #203483
04/22/08 12:46
04/22/08 12:46
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline OP
User
cro_games  Offline OP
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
np..thanks! \:D


Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Page 2 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1