[SOLVED]How do I increase the bullet speed after created it?

Get help using Construct 2

Post » Sun Feb 26, 2017 5:41 pm

Hi guys, I'm making a game like Megaman, and I create a bullet to serve as a plataform that you can stand above it.
I want to increase it's speed to serve as bullet as well. I've tried to increase Set Speed, but it doesn't works.
Anyone know how to make it?
Last edited by ruannmelgaco on Sun Feb 26, 2017 11:22 pm, edited 1 time in total.
B
5
S
1
Posts: 3
Reputation: 331

Post » Sun Feb 26, 2017 7:19 pm

You have an animation speed and a bullet speed.

You have to change the bullet speed and that should work.
Banned User
B
28
S
7
G
58
Posts: 1,229
Reputation: 34,830

Post » Sun Feb 26, 2017 11:20 pm

Hi, I've solved the problem, the layer was blocked, then I can't make any changes even at code.
Thanks!
B
5
S
1
Posts: 3
Reputation: 331

Post » Mon Feb 27, 2017 1:16 am

Have you tried on an "On Created" condition?
You may also want to pick by UID and using int(Object.UID) and storing it in a variable, like this:

>Spawn project
>In the next action, set IDVariable global variable to int(Bullet.UID)

Then in any events where you want to act on it, pick by UID and use the variable that stores the UID.
Zelda Gamekit (my project)



Example capxs:

Zelda-Style Inventory

Zelda Health

3-saveslot system

[url=https://www.dropbox.com/s/d4396pwak0oh7q6/ZeldaDialogueSystem.capx?dl=0]Zelda-like Dialogue[
B
52
S
24
G
30
Posts: 537
Reputation: 19,651

Post » Mon Feb 27, 2017 2:56 pm

Yeah it works too, I've tried to use On Created but without setting any variable, thanks a lot!
B
5
S
1
Posts: 3
Reputation: 331


Return to How do I....?

Who is online

Users browsing this forum: kurtbal, Seruza and 7 guests