The Daily Click ::. Forums ::. Klik Coding Help ::. A counter question...
 

Post Reply  Post Oekaki 
 

Posted By Message

en kerro



Registered
  21/10/2004
Points
  578
20th February, 2006 at 17:50:54 -

Is it possible to make bring to front/back events to counter & lives objects? Because I have some bring to front events and sometimes you can't see the counters... I hope there is a solution for this problem!

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
20th February, 2006 at 17:58:01 -

Nope, isn't possible with Lives or Counter objects.

 
a/n

en kerro



Registered
  21/10/2004
Points
  578
20th February, 2006 at 19:40:23 -

ARGH! So I must delete all bring to front events... and then gameplay goes shit! Hmm... I must invent something...

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%

David Newton (DavidN)

Invisible

Registered
  27/10/2002
Points
  8322

Honored Admin Alumnus
20th February, 2006 at 19:52:28 -

You can uncheck "Display as background (faster)" in Properties to make the counter display in front of active objects, but I don't know if this works outside MMF1.5.

 
http://www.davidn.co.nr - Games, music, living in America

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
20th February, 2006 at 20:00:14 -

^ yes, that works in TGF too. You can't change the order ingame, though

 
a/n

en kerro



Registered
  21/10/2004
Points
  578
20th February, 2006 at 20:07:53 -

Oh... it didn't help because there was those 'bring to front' events in event editor...

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%

Robbert



Registered
  19/06/2003
Points
  420
21st February, 2006 at 20:51:17 -

Maybe you can replace the counter for a text object or something?

 
Hey mates, I'm Iglo yeah =P!

norfair



Registered
  31/10/2002
Points
  244
21st February, 2006 at 21:36:10 -

wait.
In MMF ther's the layer object.
That can bring front/back whichever thing, and make related layer orders.

http://click.spatang.com/ext/view.php?ext=72



 
Radix says:
It's regrettable that TDC is the arsehole of the click scene, but somewhere has to be.

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
21st February, 2006 at 22:41:50 -

I often use active system boxes for counters instead

 
n/a

Mr. Esch

Stone Goose

Registered
  30/05/2003
Points
  0
22nd February, 2006 at 00:05:52 -

I would just make a custom counter based on an active objects and an invisible counter

 
Do you feel you are being... watched?

en kerro



Registered
  21/10/2004
Points
  578
23rd February, 2006 at 17:36:06 -

Is layer object also for tgf? If it's not, are there any other objects what can be used as counters (for tgf..)???

Image Edited by the Author.

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%

norfair



Registered
  31/10/2002
Points
  244
23rd February, 2006 at 18:25:52 -

sorry, but I think thats an only-MMF extension.

to make an overfront counter with something else you can create an active with direction frames as painted numbers, so they show the direction related to wichever (or its internal) value; to display >32 numbers do another animation and set up the related animation usage via events.

well this is just an example; surely there are better ones...

Image Edited by the Author.

 
Radix says:
It's regrettable that TDC is the arsehole of the click scene, but somewhere has to be.

en kerro



Registered
  21/10/2004
Points
  578
23rd February, 2006 at 19:28:36 -

argh... takes time to do it... I hope there are some better ideas, although that was actually good

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%

DanielRehn



Registered
  18/09/2002
Points
  139
24th February, 2006 at 01:25:17 -

If you are going t use active objects as counter replacements use one for each digit, this way you dont have to ork your ass off..
All actives have direction frames with numbers from 0 to 9 (thats 10 frames per active).
Now set the first active to the first digit

First digit
active dir = val(mid$($str(counter_value), 0, 1))

Second digit
active2 dir = val(mid$($str(counter_value), 1, 1))

etc..

PixElf:
Why use an invisible counter when you have values or the active objects?

Image Edited by the Author.

 
n/a

en kerro



Registered
  21/10/2004
Points
  578
27th February, 2006 at 07:26:48 -

That's how to do it with TWO digits. But how to do it if I have THREE?

 
Current Projects:
The Artillerys 10%
Forgotten Legends 8%
Earth Defender 20%
   

Post Reply



 



Advertisement

Worth A Click