Couple of Problems

Get help using Construct 2

Post » Sun May 31, 2015 1:13 pm

Hi there guys i hope someone can help me because im coming up blank on why my project isn't functioning like i want it to

Problem 1: ive made an ability which rotates at a constantly growing speed while firing (Spin to Win is name), when i activate my ability in like the first 5 seconds of layout opening it works fine but after that it just's fire once and stops if someone can take a look at the .capx and see if you can help i will be so thankful.

Problem 2: i want my asteroids to rotate and ive set a rotate speed but when they are created they wont rotate

The project is very small atm so wont be to hard to see what ive done.

https://dl.dropboxusercontent.com/u/166 ... Space.capx

Thank You
B
15
S
5
Posts: 134
Reputation: 1,617

Post » Sun May 31, 2015 2:00 pm

Problem #2 is you are setting the angle in event 19.

For #1, you should consider using a Timer behaviour instead of Every X seconds for critical timing. Every X seconds starts running when the game starts, and triggers at that time regardless of when you might think you are starting the countdown. I'm guessing event 25 is triggering at odd times, but you should start the 12 second timer when Ability1 becomes active, not every 12 seconds since the game began. (Also since your cooldown is 60 seconds, it takes a long time to retest the second round.)
ImageImageImage
B
71
S
21
G
220
Posts: 3,646
Reputation: 123,721

Post » Sun May 31, 2015 6:38 pm

yeah i thought problem #2 might of been the angle but i have no idea how to get around that, yeah i thought that might be the case with problem #1 as well but i couldn't find another timer all there was compare time and every x second

But thank you very much for looking at it for me
B
15
S
5
Posts: 134
Reputation: 1,617

Post » Tue Jun 02, 2015 1:41 am

anyone got any suggestions because im having no luck?
B
15
S
5
Posts: 134
Reputation: 1,617

Post » Tue Jun 02, 2015 8:52 am

Like @blackhornet said, add the Timer-behaviour to one of your objects..

If you don't know what that is, there is a link to the manual on top of this page..

In line 19 replace the "asteroid set angle" with asteroid - bullet set angle of motion = Asteroid.direction
Also in the asteroids properties of the bullet behaviour set the set angle to No
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 Jun 02, 2015 11:00 am

thats great thank you for the reply

ill put it to use after work tonight :D
B
15
S
5
Posts: 134
Reputation: 1,617


Return to How do I....?

Who is online

Users browsing this forum: luck1210 and 7 guests