Text based family with Behaviors and Instance Variables?

Discussion and feedback on Construct 2

Post » Thu Apr 13, 2017 1:35 pm

It is almost as if the ability to access them was partially disabled.

I have a family with text objects in it.
I add Pin and Fade behaviors to the family.
I can't seem to access it in 'Properties Bar', it doesn't exist.
I added instance variables and effects as a test and can't access them as well.
I can access all of them on sprite based families though.

If I use events I can set up almost everything, I seemingly can't set if the text object is 'Destroyed' or 'Active at Start'.

I have 5 text objects that I need to Pin and Fade when created.
Do I have to do 1 by 1?

I was planing to add more to the text family to reduce events.
B
58
S
33
G
13
Posts: 223
Reputation: 12,080

Post » Thu Apr 13, 2017 7:32 pm

Text objects are form elements. They float above the game canvas.
They do not know 'opacity', the fade behaviour has no effect on them.
B
33
S
18
G
27
Posts: 2,431
Reputation: 20,326

Post » Thu Apr 13, 2017 10:47 pm

Well I found the issue. It was user error. :P

It turned out it wasn't showing in properties because I didn't have any of the text objects on a layout.
:cry: ... :ugeek:

Also turns out I didn't even need a family. I didn't think of just making an instance of a Text object... :roll:

'Fade' and 'Pin' is working now. :D
Last edited by Unconnected on Fri Apr 14, 2017 11:51 am, edited 1 time in total.
B
58
S
33
G
13
Posts: 223
Reputation: 12,080

Post » Fri Apr 14, 2017 7:28 am

Is 'Fade' working for a 'text' object ? Can you show me that plz .?
B
33
S
18
G
27
Posts: 2,431
Reputation: 20,326

Post » Fri Apr 14, 2017 11:28 am

Turns out I had a very old DropBox account from when it was new.
B
58
S
33
G
13
Posts: 223
Reputation: 12,080

Post » Fri Apr 14, 2017 12:07 pm

Hey, thx so much. Another hiccup in my brain that got out.
B
33
S
18
G
27
Posts: 2,431
Reputation: 20,326

Post » Fri Apr 14, 2017 9:28 pm

It's fine. I have quite a few.. :geek:
B
58
S
33
G
13
Posts: 223
Reputation: 12,080


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 1 guest