How do I / Agar.io

Get help using Construct 2

Post » Tue Jan 05, 2016 10:27 pm

hi all
Today i want to make agar.io
:)
but i need help
some helps

If i spased =
if eat add to 2 size
thx
Image
B
5
S
2
Posts: 33
Reputation: 604

Post » Tue Jan 05, 2016 10:33 pm

What is your exact question?
Which part of creating this do you have issues with?
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 » Tue Jan 05, 2016 10:34 pm

my english bAD srry
B
5
S
2
Posts: 33
Reputation: 604

Post » Tue Jan 05, 2016 10:49 pm

you cant help me?
B
5
S
2
Posts: 33
Reputation: 604

Post » Wed Jan 06, 2016 12:01 am

If you can't understand my questions, how will you understand my answer?

You probably need something like

on collision
> destroy
> set width : self.width+2
> set height: self.height+2
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 » Thu Jan 07, 2016 10:07 am

Image


i do that but Agar dont fllow my mouse and dont work :D


and i want learn if agar eat small balls add 2 size

per eat add 2 size
B
5
S
2
Posts: 33
Reputation: 604

Post » Thu Jan 07, 2016 10:12 am

On start of layout is only called once..
What you probably want is:

system every tick
> sprite set angle towards (mouse.x,mouse.y)

To add 2 to size use the event I posted before..
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 » Thu Jan 07, 2016 10:20 am

Image


Image





now true?
B
5
S
2
Posts: 33
Reputation: 604

Post » Thu Jan 07, 2016 10:40 am

You have "set angle" property of the bullet behaviour to NO

So instead of setting the angle towards the mouse, you should set the bullet angle of motion towards the mouse..
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 » Thu Jan 07, 2016 5:09 pm

ok!!! worked %100 :)

now how to per eat add 2 size?
B
5
S
2
Posts: 33
Reputation: 604

Next

Return to How do I....?

Who is online

Users browsing this forum: dop2000, Yahoo [Bot] and 10 guests