Parallax(0,0) + Aiming Bullets?

Get help using Construct 2

Post » Thu Feb 16, 2017 9:48 pm

Hello again. I'm trying to make a vertically scrolling SHMUP game, and I've found that the way I have the game set up seems to cause some issues with bullets that aim at the player.

Image

The player is put on a layer that has (0,0) parallax scrolling above a playfield that is moved via a camera. Presumably, the bullets are searching for the literal X and Y position of the player as opposed to using where they are screen-wise. Question is, is there a good way of circumventing this (or maybe using another camera system entirely)?
B
27
S
13
G
6
Posts: 29
Reputation: 5,332

Post » Thu Feb 16, 2017 10:21 pm

Kinda same question:

viewtopic.php?f=147&t=187369
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Fri Feb 17, 2017 12:32 am

I've been trying to get that to work, but I run into a bunch of strange issues. Is it possible to use CanvasToLayerX on bullet angles or do you have to physically move the bullets to the player's layer?
B
27
S
13
G
6
Posts: 29
Reputation: 5,332

Post » Fri Feb 17, 2017 9:19 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950


Return to How do I....?

Who is online

Users browsing this forum: ChoosyZerk, lukewasthefish and 14 guests