Platformer shooting

Get help using Construct 2

Post » Tue Jun 25, 2013 12:41 pm

Hi!

I`m trying to make sort of arena-platformer game, where player shoots incoming waves of enemies. And i have a problem - character shoots only one direction (lets say from left to right). When i walk with my char from right to left - shooting still goes from left to right (shooting the wrong way, i hope i explained that clearly).
So, how do i fix this? I`m very new with Construct and still figuring things out. I presume its because of "Origin"? Other than that i dont know where to look.

Thanks!
B
2
Posts: 5
Reputation: 160

Post » Tue Jun 25, 2013 1:08 pm

You should provide a sample capx describing your problem for more efficient help next time ;)

To start with, how do you do your shoot ? Did you add a turret behavior on your character ? How does your bullet move ? With a bullet behavior ? If so, you have to change the "angle of motion" of the bullet when you spawn it.
For this, do something like that :
B
17
S
8
G
4
Posts: 461
Reputation: 6,077

Post » Tue Jun 25, 2013 2:20 pm

http://www.scirra.com/forum/platform-game_topic46666.html has a capx file that shows you how to set this up. Also, http://www.scirra.com/forum/topic45416.html is a great page for learning a lot, I know it helped me out a bunch.
B
20
S
3
G
4
Posts: 23
Reputation: 3,354

Post » Tue Jun 25, 2013 7:32 pm

Thanks for your help!
B
2
Posts: 5
Reputation: 160


Return to How do I....?

Who is online

Users browsing this forum: KazaaMafia, Kenthria, QuantumMMX, Yasharitsu and 13 guests