brunnomendes's Forum Posts

  • 10 posts
  • Ok, i get it why the sprite moves during motion, but why does it have to change when it stops? Its annoying...

    I'm working on other things so i don't get mad about it and give up.

  • So if I understand it will always do that no matter what?

    Sorry but english is not my first language, i don't know if i got it right...

  • Hi.

    I'm trying to create a 8-direction character and I'm using the 8-direction movement that comes with C2.

    The problem is that when I leave the character between angles, for example, between 0º and 90º, the character turns right when I release the movement keys. It happens with all between-angles. In the end, my character can only stop facing 0º, 90º, 180º and 270º.

    I've tried creating my own movement and it works, however I can't create acceleration, deceleration, friction...

    It there a way to fix this?

    Thank you!

  • I had a little trouble to understand the arrays, but i got it to work! Thanks guys!

  • I don't have time right now, but tomorrow i'll check it out.

    Does it fix the problem where you can't change the variable twice using the same button?

  • Hello! I'm working on a shooter and got stuck with something simple, I hope you can help me.

    --

    The character have 2 weapons, one called buster and the other a homing attack.

    I created 2 global variables (Buster level (1-3), and Homing level (1-3)).

    So if the buster is set to 1 and above and homing to 0 it will shoot the buster. And if the homing is set to 1 and above and the buster to 0 it will shoot the homing.

    When I press A to change the values it works on the first time, but not on the second time.

    For example:

    1)Press A;

    2) If buster is set to 1, change it to 0 and change homing to 1. <<--- Ok, it works;

    3) If homing is set to 1, change it to 0 and change buster to 0. <<--- The same thing, but don't work.

    --

    The strange thing is that if i change the order of the events, only the first one works. I'm getting frustrated here, trying to solve this thing.

    Can you guys help me out?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Now i've got it!

    But still i have to make the canvas larger to spawn the enemies inside of it, they don't move if spawned outside. The pathfinding target can be outside, but not the enemy.

    Its a good plugin but i could do that with a larger canvas and centering the camera in the middle of the "screen rectangle". But its faster this way.

    Maybe they should look to add that support, it's really annoying to know that you can't do that.

    Sorry for my english.

  • I thank you for the help, but i'm new here, i didn't understand how it works. I've installed the plugins and read the example but it is mixed with the screen-shake thing.

    Can you make a capx with just the basic to make the pathfinding work outside the layout?

    Thanks again.

  • Hi everyone, happy new year!

    I'm working on a top-down shooter and i'm trying to make the enemies spawn outside the layout and then move along paths on the screen but i'm having problems.

    When i spawn the enemy inside the layout it moves along the path, but if i spawn then outside the screen they dont move.

    Can you guys help me out?

    Thanks

  • Hey there!

    I'm starting a project now, i think it will be a good game for the Wii U.

  • 10 posts