oosyrag's Forum Posts

  • Don't use the solid behavior.

    Set the ball bullet angle and velocity on collision with player. You can get the angle from the player to the ball with angle(player.x, player.y, ball.x, ball.y), which would be the same as the angle the ball gets kicked as well.

    Every tick, reduce the velocity of the ball towards 0.

  • So... what's wrong?

    The event sheet runs from top to bottom. If actions in the first event make conditions in the second true, the second will run as well. Try using the "Else" condition instead.

  • Yes, it is possible. It is not simple. There many rules in chess, and many code libraries already exist for these rules. Making them from scratch is not going to be easy.

    I do not recommend working on anything you can't imagine planning out in your head for anything with a deadline, that you would need to rely on asking random strangers on the internet for the completion of an assignment.

  • Try the set canvas size system action.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You do not have permission to view this post

  • The best screen size to develop for is all of them.

    construct.net/en/tutorials/supporting-multiple-screen-17

    I aim to have all aspect ratios between 4:3 and 16:9. Realistically speaking if your design can accommodate those ratios, it can probably already accommodate everything else too.

  • You could try it and find out.

    Nw.js export allows for running on a desktop OS.

    A web export will work if you run a web server on your localhost. If you have web access you could also upload the web export to a website, or even just use remote preview directly from your project.

  • On the other hand, if you were going for pixel style graphics and used a lower viewport resolution and smaller sized sprites to achieve it (along with Fullscreen scaling), you could indeed have significant performance gains.

  • Google says:

    You can’t send emails using JavaScript code alone due to the lack of support for server sockets. For this, you need a server-side language that talks to the SMTP server.

    There are services and solutions to this, such as mailtrap and websockify, but they don't change the fact that you need a hosted service to do the work.

  • What do you mean by independently?

    To have a specific object be affected by actions, first use conditions to pick the correct object or instance.

    Have you followed the beginners tutorials yet?

  • Did you run into any particular problem when following that tutorial? At first glance I don't see anything in there that you can't do with C3.

  • Try using the object's compare instance variable condition instead of the system one for your second condition and see if it behaves the way you want.

    Also remember conditions are checked in order.

  • Just add 3 conditions to the event.

  • NewA is the amount of A you're trying to add.