Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 16,232 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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