dop2000's Forum Posts

  • You mean Construct doesn't allow you to change variable type when there are events with this variable?

    You can try copying all events to clipboard, delete them, change variable type, paste the events back.

  • You need to create an image point on the character sprite (in the Animation Editor). If there are multiple animations/frames, this image point needs to be in all of them.

    After that you can pin another object to this image point referenced by its name or number. For example, Pin Dagger to image point "sword"

  • R0J0hound Is this for rgb expression in C2? I don't think this works in Construct 3.

  • Press F12 in editor and check errors in the Console log.

  • If you only need to spawn 2 objects, you can add this sub-event:

    While
    Obj2 is overlapping Obj1 : Obj2 set position to random(....)
    
  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

  • 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.