dop2000's Forum Posts

  • Press F12 in preview and check errors in Browser console.

    The most common error with AJAX is related to CORS. If this is the case, try searching the forum - there are many posts about how to fix it.

  • It's a very bad idea to mix Physics with other movement behaviors. Especially if you are using joints. You need to pick - either do everything with just Physics, or remove Physics behavior and use Pin/Sine/Tween etc.

    Also, consider posting your project file, it's very difficult to troubleshoot issues like this with screenshots.

  • You can call Construct function from a script:

    runtime.callFunction("FunctionName");

    or

    runtime.callFunction("FunctionName", parameter1, parameter2);

  • When I collect the item it appears as "Player.ObjectCount" maybe because I listed it as a string?

    Appears where? Please post a screenshot of your event sheet.

    I also was wondering how to create another scene to transition to once I reach a certain part of the map.

    You can compare Player.X or Y to check when that certain part of the map is reached. Or add a sprite (it may be invisible) and use "Player on collision with FinishSprite -> System go to layout Level2"

    .

    These are very basic questions, I suggest you start by studying a few templates that are included with C3.

  • Create a Text object. Add "TextObject set text to Player.varName" action into the event where you change this variable. Or you can do it on every tick.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If all diggers are moving simultaneously and arrive at the same time (after 2 seconds), and if there are no "Waits" inside the loop, you can simply do this:

    If diggers finish moving at different time, you need to use "On tween finished" trigger. With multiple instances it's a bit tricky:

  • Hey, it's great to see you made so much progress with the game! Would love to see it released one day.

  • luckyrawatlucky I posted a new version where you can move pieces with mouse:

    howtoconstructdemos.com/chess-game

  • Happy New Year everyone!

    There are a few new demo projects on HowToConstructDemos.com:

    LINK Tilting platform (seesaw) in a platformer game

    LINK Simple camera scrolling in a top-down view game

    LINK Chess game for two players! This is an implementation of chess.js library, which supports chess move generation/validation, piece placement/movement, and check/checkmate/stalemate detection - everything but the AI.

    LINK Physics ragdoll (paid)

  • robit_studios You can simply generate a sequence of random numbers in advance and store it in an array. Say, generate 10K numbers. Then your "seed" will be an offset position, starting from which you'll read numbers from the array.

  • If I understand your problem correctly, Mouse.X and Mouse.Y coordinates don't work when your screen starts scrolling, is this right?

    If you have layers with different parallax, use Mouse.X(layer) and Mouse.Y(layer) to get cursor position for a specific layer.

  • Unfortunately, there is no C3 version of this addon.

    I'm not sure what tag filters are you referring to. If the line needs to be in Physics world, then you should avoid using other behaviors like Pin or Solid.

  • You need to somehow create rigid joints between all pieces of the line. I tried to do it with physics (created joints in triangles, used an invisible block to join to), but nothing worked. The line was not rigid and easily broke when collided with an inmovable object.

    I managed to do this only with Box2d+ addon in Construct 2

  • Pretty much the same. But if these dangerous tiles are solid (player walks on top of them), you need to pick the tile which is below the player, so use something like ... PositionToTileY(Player.Y+10)