How to Order Numbers Each Shoot One

Get help using Construct 2

Post » Sat Jun 30, 2012 8:54 am

Hey all, i needed a help how to order the numbers.

There an example HTML, click red box with numbers title, it shoots 4 bullets each shoot one, it's wrong, it must be ONE bullet, it can be ordered 1, 2, 3 and 4.

You can click bullets when they are collisioned on number box, it goes reverse to red box, but it's unordered too. You can click any bullets in following orders 2,1,3,4, not as 4,3,2,1. It should to disable click at 1,2,3 until you click 4.

I couldn't to figure out...

http://dl.dropbox.com/u/76227787/Unresolved%20Number%20Order/index.html


There a .capx file
http://dl.dropbox.com/u/76227787/Unresolved%20Number%20Order/UnresolvedOrder.capx

Would you help me? Thanks!
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Sat Jun 30, 2012 11:20 am

we can't download the capx it says error...
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Sat Jun 30, 2012 12:19 pm

Do you mean like this?

With family: ResolvedOrder.capx (r97)

No family: ResolvedOrder_NoFamilies (r97)
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Sat Jun 30, 2012 11:37 pm

[QUOTE=Nimtrix] Do you mean like this?

With family: ResolvedOrder.capx (r97)

No family: ResolvedOrder_NoFamilies (r97)[/QUOTE]

Yes that's it!

Do you think custom movement behavior has rare glitch? sometimes i refresh the browser, when i click, it shoots a bullet with faster than current speed, then next time, everything it's fine, sometimes it makes me confused...

Anyways, thank you for helping me!
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Sat Jun 30, 2012 11:55 pm

I don't see any glitches in Chrome, but the speed does sometimes look a bit strange in Firefox. Maybe try the bullet behaviour?
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Sun Jul 01, 2012 12:42 am

[QUOTE=Nimtrix] I don't see any glitches in Chrome, but the speed does sometimes look a bit strange in Firefox. Maybe try the bullet behaviour?[/QUOTE]

Bullet didn't work when i changed Custom Movement to Bullet behavior, it doesn't come like "Set speed towards to position" only it can be affected by angle...

Do you have an idea how the bullets can go towards position without affecting the angle?
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642

Post » Sun Jul 01, 2012 12:45 am

If you turn off the "Set angle" property, you can set the "Bullet angle of motion" in the events without the sprite changing angle, does that solve your problem?
B
27
S
8
G
8
Posts: 903
Reputation: 8,452

Post » Sun Jul 01, 2012 1:11 am

Yes, it solved, well that we need to calculate the angle of motion to targeted numbers, it should to waste of time.

I think custom movement is enough because it has towards to position action. Thanks!
B
96
S
25
G
20
Posts: 3,054
Reputation: 22,642


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Matthew de and 2 guests