Pressing 2 keys

Get help using Construct 2

Post » Wed Jun 04, 2014 2:48 am

TWO keys being pressed

Blz guys, I'm making a shooting game, where the command for me - could press two keys in a row - without interfering with other animation?

- I want the character to shoot (by pressing BUTTON UP and shoot by pressing X).

Problem is that it has an animation only for the command PRESSING UP, is giving conflict.

__________________________________________________________________________________________________
Dos teclas que se pulsan

Chicos Blz, estoy haciendo un juego de disparos, donde el comando para mí - podría presionar dos teclas en una fila - sin interferir con otra animación?

- Quiero que el carácter para disparar (pulsando el botón UP y disparar pulsando X).

Problema es que tiene una animación única para el comando presionando arriba, está dando conflicto.
B
18
S
1
Posts: 89
Reputation: 1,284

Post » Wed Jun 04, 2014 3:21 am

Try to use OR option :

When Up is pressed
OR
When X is pressed ------------ set animation to (Shoot)
B
60
S
10
G
10
Posts: 1,013
Reputation: 9,155

Post » Wed Jun 04, 2014 4:02 am

A0Nasser wrote:Try to use OR option :

When Up is pressed
OR
When X is pressed ------------ set animation to (Shoot)


In that case you just gave the command to change key.

I want to make the same motion shoot for the top (like game Metal Slug)
B
18
S
1
Posts: 89
Reputation: 1,284

Post » Wed Jun 04, 2014 6:34 am

Hola
Mira a ver si te funciona esto:
Cuando se pulse X y un subevento cuando se pulse Up
- When Up is pressed -> acciones
- When X is pressed -> When Up is down -> acciones
B
159
S
27
G
17
Posts: 916
Reputation: 32,666

Post » Thu Jun 05, 2014 7:58 pm

Thanks guys, already solved the problem.
B
18
S
1
Posts: 89
Reputation: 1,284


Return to How do I....?

Who is online

Users browsing this forum: Congrats2u, Darknessed, Magistross, worm1 and 29 guests