Shooting/Bullet/Mirroring/Physic questions

Get help using Construct 2

Post » Sat Sep 01, 2012 6:30 pm

I'm back again with loads of questions.
I've been trying multiple things, looking at tutorials, and things never work the way I want to.

For example, I'd like to to be able to shoot in any position (while crouching, running, jumping, etc). Everything I tried failed.

I also tried to add bullets. It works, somehow, but it doesn't mirror!
At some point, I'd like to be able to shoot at physic objects and have an impact on them.

Can you look at this file and help me with the problems above please? (shooting in any position + not mirroring) + (shooting physic objects if possible)

Platformer test

I'm really eager to learn, but nobody around me knows this program.
Doesn't really help...
I want to emphasize on the fact that I've been trying many things before asking for help here, the problem is that the system I'm using that was almost fully made by Nimtrix is too specific for simply being "inspired" by tutorials.
I realize that it's already too complicated for a beginner like me, but that's the way I have to learn.

Thanks! Stampedo2012-09-05 14:07:15
B
6
Posts: 34
Reputation: 643

Post » Sun Sep 02, 2012 6:54 am

Bump :)
B
6
Posts: 34
Reputation: 643

Post » Mon Sep 03, 2012 1:00 am

hello...by any chance do you know how to shoot in both directions...just a simple "contra style shooting", i just can't get it to shoot to the left.
B
3
Posts: 2
Reputation: 304

Post » Mon Sep 03, 2012 1:49 pm

Hello,

Nope, that's one of my problems, I don't understand why it won't shoot at both sides.
B
6
Posts: 34
Reputation: 643

Post » Tue Sep 04, 2012 3:36 am

Maybe you want to delete event 7.

If you want to make the shooted bullet run to mouse, use action: bullet -> set angle toward (Mouse.X,Mouse.Y)

At event 12, you spawned bullet at layer 0 background (parallax 30,100). You should change it to the same layer with the player.
B
34
S
8
G
5
Posts: 174
Reputation: 5,791

Post » Tue Sep 04, 2012 2:51 pm

Thanks 01lifeleft, works better!

Any idea how to be able to shoot in both directions?
For now it only shoots to the right.

Cheers.
B
6
Posts: 34
Reputation: 643

Post » Tue Sep 04, 2012 2:59 pm

Have you checked the how do I FAQ ?
Section "Sidescroller/Platformer genre"

[quote]Get character to shoot right and left - LINK[/quote]

Also may I suggest using DropBox for hosting your files freely and without captchas or annoying clicks for the end user ?
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 7,000
Reputation: 57,795

Post » Tue Sep 04, 2012 3:27 pm

Hi Kyatric,
Sorry, I don't have a dropbox account, I'll get one ASAP.
Yes I've seen this topic, and it didn't help me much as the system I'm using is more complicated than this one. I've tried multiple things, believe me, but I feel lost at this point.
B
6
Posts: 34
Reputation: 643

Post » Tue Sep 04, 2012 6:25 pm

When you mirror or flip a sprite it's angle doesn't change, just it's appearance. If your character is facing right with an angle of 0, then when you mirror it, he appears facing left but the angle is still 0. So you need to take that into account when setting the angle of the bullets.
B
54
S
28
G
18
Posts: 1,520
Reputation: 25,020

Post » Wed Sep 05, 2012 2:05 pm

Updated the link after Kyatric's comment.

Platformer test

ramones > I've tried different things, it didn't work because the system I'm using is using variables and something always prevent it from being triggered...Stampedo2012-09-05 14:07:30
B
6
Posts: 34
Reputation: 643

Next

Return to How do I....?

Who is online

Users browsing this forum: Google [Bot] and 34 guests