Counter Object?

New releases and general discussions.

Post » Fri Feb 13, 2009 12:59 pm

Forgive me if i am being dumb but i can't see a counter object?
B
3
S
2
G
5
Posts: 301
Reputation: 2,302

Post » Fri Feb 13, 2009 1:02 pm

Exactly what is counter object?
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Fri Feb 13, 2009 1:07 pm

A number counter you can show on screen, add to it, subtract from it, etc.
B
3
S
2
G
5
Posts: 301
Reputation: 2,302

Post » Fri Feb 13, 2009 1:11 pm

I believe that is easy enough to do. You can use any variable - Private or Global variable - to store the value, and a Text Object to display it.

Simple enough to do would be a Text Object with a Private Variable "Counter":

+Always
>Set Text to Counter

+On Action
>Add 1 to Text.Value('Counter')
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Fri Feb 13, 2009 4:16 pm

It's very simple at the mo to do it via the text object, but bitmapped numbers may prove difficult.

This should be solved via a Bitmap Text object rather than a Counter though, I think.
B
3
S
2
G
5
Posts: 1,777
Reputation: 5,529


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 4 guests