dop2000's Forum Posts

  • Have you tried "Set stepping mode" action?

  • Try running the following script on start of your first layout:

    window.addEventListener('keydown', event => {
     if ([' '].includes(event.key)) {
     event.preventDefault();
     }
    });
    
    
  • Physics has its own collision detection system, which works differently.

    Besides, the ball object has rectangular collision polygon, and in physics properties you set Collision mask to Circle. So "On collision event" may happen before Physics behavior registers it.

    Try using this condition instead: ball.Physics.ContactCount>0

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

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

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey, it's great to see you made so much progress with the game! Would love to see it released one day.