Austris's Recent Forum Activity

  • Either the bullets fly past the target or All the bullets are destroyed when one hits the target.

    Check the capx.

  • So i have 8 direction movements for my characters.

    And Shadows on characters ,enemies and bullets.

    I have a ranged character in my beat'em up game

    and he has a different bug from each side he shoots.

    you can play as player 1 or player 2

    Player 1 controls:

    W,A,S,D - Move

    F - Attack

    Player 2 controls:

    Arrow keys - Move

    Num 5 - Attack(check if num lock is on)

    Capx: dl.dropboxusercontent.com/u/158606470/PublicCapx.capx

  • I added a Capx

  • So i have 8 direction movements for my characters.

    And Shadows on characters ,enemies and bullets.

    I have a ranged character in my beat'em up game

    and he has a different bug from each side he shoots.

    you can play as player 1 or player 2

    Player 1 controls:

    W,A,S,D - Move

    F - Attack

    Player 2 controls:

    Arrow keys - Move

    Num 5 - Attack(check if num lock is on)

    Capx: dl.dropboxusercontent.com/u/158606470/PublicCapx.capx

  • <img src="smileys/smiley19.gif" border="0" align="middle" /> I want to make my character move with only "W"A"S"D" and disable the arrow keys controls.<img src="smileys/smiley19.gif" border="0" align="middle" />

    If it helps i'm using 8 direction movement, on the shadow of my character..

    Thx in advance <img src="smileys/smiley2.gif" border="0" align="middle" />

  • ;D i knew its something as simple as that.feel so sily for not thinking of it.thx man

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I had the same problem when i made my first game and i fixed it somehow

    here are some things that could fix this :

    -Add the HUD to another layer (if you haven't allready)

    -Set the initial visibility for the layer to visible

    -Set the layer transparent to yes

    -Set the HUD objects Initial visibility to visible

    -Place the HUD somewhere in the windows sight(top left corner has a square)

    OR

    -Place the HUD close to the player (if you have the scroll to behavior)

  • I don't know if i get your problem.

    Buut I think you could do this

    Every tick > set objects position to touch.x+*number* and touch.y+*number*

    This will set the object where you touch but slightly lower(plus y) and slightly to Left(plus X)

    Hope this helps

  • So i'm making a beat'em up game with the 8 direction movement applied to the shadow of the player.

    I have events that make the player animation go mirrored on key "A" pressed,and not mirrored when key "D" is pressed.

    So i want to make him shoot on "F" key pressed.

    What i did:

    -I added an image point at the end of his gun in the attack animation

    -I made 4 events like this for this to work:

    On F key pressed > player Set animation to attack

    *cond1*On F key released

    *cond2*Player is playing Attack animation > Player spawn bullet on layer 2 at image point 1

    Player is mirrored > Bullet set angle to 180 degrees.

    Player is NOT mirrored > Bullet set angle to 0 degrees.

    <font color=green>I'm not stupid and see the problem here</font>

    When i turn the bullets turn their angle and fly in the opposite direction.I need the bullets to keep flying in their direction when i turn.

    It could be a cool attack but i don't have that in my mind right now

    Now my question is what alternative event(s) can i use to make the bullet shoot left when i'm facing left and right when i'm facing right, and keep flying in that direction and not change every time i turn?

Austris's avatar

Austris

Member since 21 Sep, 2013

None one is following Austris yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies