Counter center enable/disable !!!!
Printable View
Counter center enable/disable !!!!
Wait, what is that?
Displaying the score of the counter in a string object with centered text won't do it?
massage to yves !!!
Look this
Ever center counter function
http://www.guniastudios.de/counter.jpg
2 Values = center in the middle
3 Values = center in the middle
.....
i have in my game a normaly counter with other graphics no black !!!!
I'm sure Yves will enjoy this :DQuote:
Originally Posted by Johnny
What yves??
I think your best solution right now is what Daniel suggest.
Set a string centered and such and set its text to the str$(your counter value)
That is all well and good but it is a workaround though so i think it is a good idea to add the same horizontal alignment options as strings have.
If you wanted to use lots of counters and aligned making duplicate strings seems like a bit of a waste and possibly increase file size and cpu also so i think it's a good request myself.
+1 vote
Another workaround:
Code:• Always
- Counter: Set X position to X_CENTER + (X Right( "Counter" )-X Left( "Counter" ))/2
Of course, it's easy to workaround with strings, but in many cases strings just aren't looking good enough. When using graphical counters it gets unnecessary complicated.
Damn... he's right. Just when I was about to suggest that the use of a string really was a more than acceptable work around, he proves his point. Haha, nice.
String is no good for a perfect game !
Oliver Code is no working,
me code is working !
value( "Counter 3" )/2+((X Right( "counter" )-X Left( "counter" )))/2
thx to all !!
Johnny
X_CENTER represents a value. Replace it by whatever coordinate you wish the counter to be horizontaly centered on.
Even solved with strings, expressions workarounds etc i still think thats a bit much and considering it's in other objects already so i figured to just request it as a default feature.
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=169928#Post1699 28