dop2000's Forum Posts

  • Press F12 and check error messages in the console, it should tell you what exactly is wrong with the file.

  • There are quite a lot of problems..

    Events 2-5 should be done with Timer behavior on the projectile.

    NEVER use "trigger once" with objects that have multiple instances. "Ray intersected" should be nested in the same event where you cast rays.

    Instead of using 4 copies of LOS behavior, you can use one and cast a ray 4 times.

    In the functions 11-17 you need to pick the correct projectile instance by UID, otherwise it won't see the newly created instance. It would be easier to just move dots creation loops to "On space pressed" event.

    It also may be easier to use an invisible Line sprite - create 20 dots on it and add them as children to the Line sprite. Then you can just adjust the position, angle and width of the Line sprite, and all dots will re-position automatically. Or use a single TiledBackground object :

    dropbox.com/scl/fi/cdvnhadvcocu207w2g4ei/Dots.c3p

  • If an ad is shown once, this tell me that everything is working correctly. Maybe Admob just doesn't serve you more ads. Have you tried waiting a few minutes, maybe even 10-30 minutes?

    You can also debug the app in xcode and collect the console log. If there are any messages/errors from Admob, you'll find them there.

  • alastair This is great, but could you tell what exactly it patches? Is it possible to do these changes manually?

    Edit: I didn't realize this tool was by Skymen.

  • What behavior are you using? Many of the things you described are handled by 8direction/platform behaviors.

    I suggest using "simulate control" action, because setting velocity vectors directly doesn't always work as you think it should. Here is an example:

    github.com/Scirra/Construct-bugs/issues/6323

    Platform behavior has the same issue afaik.

    Acceleration/deceleration is handled by the behavior.

    Direction Change: you can detect when it happens (use a variable), and briefly increase Platform deceleration on the character. Say, set deceleration to 400, start a timer for 0.2s, on timer set deceleration value back to 200.

    Extended Jump: again, this is already implemented in the behavior - jump sustain setting.

  • This is strange, the code should work. Have you tried a different phone? Have you tried other Construct examples that use touch on this phone, do they work?

  • Use audio tags. Play all music with "music" tag, all effects with "effect" tag.

    You can use multiple tags, for example, "explosion effect", "battle music".

    Then you will be able to mute/unmute all music or effect sounds:

    Mute "music"

    Mute "effect"

    When I use the mute action, it only mutes audio that is currently playing, not any new sounds that play afterward.

    Yes, you will need to repeat mute/unmute action for all new sounds. I suggest using a function to play audio.

  • You can select multiple objects with Shift or Ctrl and drag them into the folder.

  • "On Tap" is a gesture, it requires lifting the finger.

    Try "On touched object" instead.

    ..

    Wait, are you using mouse?

  • Use anglelerp() expression. Or Tween behavior.

  • I was looking over the Terms and Conditions page and I had a quick but strange question to ask. It revolves around this: "Not promote ******** explicit or p*rnographic material..."

    I believe this only applies to the content you publish on Construct website - Construct Arcade, Construct Store, this forum.

  • I don't see the problem. Check which key is being held and simulate this control.

    Key Right is down -> Simulate Right

    Key Left is down -> Simulate Left

    Key Up is down -> Simulate Jump

  • Use "Sprite has tags" condition.

    SpriteA on collision with SpriteB
    SpriteA has tags "69"
    SpriteB has tags "69"
     -> Go to another layout
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I assume that IIDs don't change unless you switch layouts and create a bunch of other objects. How else would I be able track objects?

    Lots of ways - by instance variables, by tag, by animation etc. You can add the slider to the hierarchy, and then pick its parent/child WID_USE object. Or you can use containers.

  • Ah, you are adding ▐ symbol to the end of the string. So you need to change the condition:

    System: right(Message.Text,2) = ".▐"