How do I create balls with canvas

Get help using Construct 2

Post » Mon Sep 22, 2014 10:54 am

I want to create 50 balls with canvas and i want write 1 to 50 numbers on it.
help me pls.
B
6
S
2
G
1
Posts: 17
Reputation: 573

Post » Mon Sep 22, 2014 3:29 pm

Here this is how you use Canvas. I have add (50) Ball with loop. Now using same principal do the numbers
You do not have the required permissions to view the files attached to this post.
B
250
S
39
G
15
Posts: 1,953
Reputation: 40,623

Post » Wed Sep 24, 2014 12:15 pm

Thank you for your help. I create ball and text . But my balls are moving. I want to connect text onto the balls.
can u check my example.
You do not have the required permissions to view the files attached to this post.
B
6
S
2
G
1
Posts: 17
Reputation: 573

Post » Wed Sep 24, 2014 1:02 pm

Give the ball an instance variable loopindex
add the text object to a container with the ball

ball on created
- textobject set position to ball
- textonject set text to ball.loopindex

because they are in a container only that textobject will be affected.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Sep 24, 2014 1:12 pm

Now all you need is to make it look pretty.. :)
You do not have the required permissions to view the files attached to this post.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Wed Sep 24, 2014 1:16 pm

:D super. thank you very much. :lol: :lol: :lol: :lol: :lol: :lol:
B
6
S
2
G
1
Posts: 17
Reputation: 573


Return to How do I....?

Who is online

Users browsing this forum: Fenix18, tarek2 and 52 guests