dop2000's Forum Posts

  • This is normal. If you need objects not to be destroyed at the end of layout, you should set these objects as global.

    Note, that if you have a global sprite on a global layer, and you switch to another layout with this layer, you'll end up with two instances of this sprite.

    So you should probably do something like this:

  • Shift+Enter should add a new line.

  • Difficult to tell without your project file. If the car sprite has an animation playing, check that the origin point is set in the same position on all frames.

    Or it may be an issue with scrolling.

  • You can set a very high rotate speed or disable rotation in Pathfinding properties.

  • When these two global variable both reach, only the first action 'set animation frame to 3' can run.

    This event runs on every tick - which is about 60 times per second. That's why animation frame is constantly set to 3, and all other actions after "Wait" never happen.

    You need to add "System Trigger Once" condition to this event.

  • 1280x720 is a bit low for today's monitors, I would choose at least 1920x1080. But if your game is played in a window or on a web page, 1280x720 may be enough.

    The idea is that you choose one resolution and make all graphics assets for it. If the image in your sprite is 300x300 pixels and you have to resize it on the layout to make it 50x50 - you are wasting a lot of memory. If the image is too small and you are enlarging the sprite on the layout - you are losing graphics quality. So ideally most of your sprites should have 1:1 scale.

  • Don't turn off their collisions!

    Use Physics action "Enable/Disable Collisions"

  • Congrats, looks great!

  • Try "On any touch end" with a second condition "Is touching object".

  • You do not have permission to view this post

  • You can ignore it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Check this example:

    dropbox.com/s/thlw3sqw42u9t6y/MoveOnGrid.c3p

    If you need to draw a path on white cells with mouse, and then the sprite to follow it, this will be more difficult.

  • Use Physics action "Enable/Disable Collisions", for example:

    Box Disable collisions with Circle

  • Don't use ProgressBar object for monsters! There are too many problems with ProgressBar, it's not made for such games.

    Use a sprite or TiledBackground, put it into a container with the monster sprite, pin to monster and change its width.

  • runtime.globalVars.textBoard = chess.ascii();

    how can I save chess.ascii() in textBoard directly?

    That was saving chess.ascii() in textBoard directly.

    You don't need Javascript knowledge, I don't have it either.

    few things which I didn't made yet, restricted moves for king, castling and en passent square.

    You think there are only a few things left, but you don't realize how many different rules and restrictions there are in chess. If you look at the chess.js code, there are over 1900 lines of code! It's much easier to use the library, than creating all this logic yourself.