Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Ayumi, 1 invisible), 584 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animated button #328394
06/12/10 21:35
06/12/10 21:35
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
Hello
I did a search with button + animated, and it only returned 200 results.. and none of it had what i wanted.

But the thing is , how do i really animate a button on the over event of the panel button??
Do button_over+20.png work as input? for the bmap??

OR do i have to rewrite a own panel animated struct?

Re: Animated button [Re: MMike] #328395
06/12/10 21:38
06/12/10 21:38
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
why not using pan_setbutton ?

you can modulate the bmap of a button with it wink

Re: Animated button [Re: Rei_Ayanami] #328397
06/12/10 21:52
06/12/10 21:52
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
The forecast says (for more than a year):
"New 2D Features
[...]Panel buttons animate on touch."

It is not implemented, yet. There are several other possibilities, though: Use pan_setbutton, as Rei suggested, or create view (sprite) entities with frames or use a digits element with a font that consists of your button frames covered by an invisible panel.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Animated button [Re: Superku] #328407
06/12/10 23:58
06/12/10 23:58
Joined: Jul 2004
Posts: 1,710
MMike Offline OP
Serious User
MMike  Offline OP
Serious User

Joined: Jul 2004
Posts: 1,710
Superku and Rei , thanks...
perhaps the font trick would be easier... istead of having the bmaps frames on the folder..


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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