dop2000's Forum Posts

  • As I know Bullet behavior doesn't work without turret?

    Of course it works by itself.

    The difference between Bullet and MoveTo is that Moveto will stop at enemy position, but Bullet will continue flying.

    .

    Turret can shoot at multiple enemies, but it needs time to turn to each of them.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't know what all these errors mean. Are you running the project in preview mode, or is it exported? I would try a different browser.

  • A big update - 9 new examples on HowToConstructDemos.com !

    LINK Auto-fill Collision Map for top down games

    LINK Bend a sprite using three control points. (Credit: R0J0hound)

    LINK A simple puzzle template where your goal is to move all blocks into green slots.

    LINK A circular progress bar made with mesh distortion

    LINK Cut an image into irregualr shaped pieces

    LINK Push multiple boxes in a top-down view game

    LINK Filter typed characters in a TextInput box

    LINK Prevent multiple enemies from overlapping when they are chasing the player

    LINK Asteroid Belt made with Orbit behavior

    I also released a new paid template - Multi Language Support for C3 Games,

    where I compiled all the different mechanics I use for localization of large Construct 3 projects.

    Try this demo in the Arcade to see it in action.

  • You still have mistakes in your screenshot - the second action should be "Set Y" and there is still wrong layer name in it.

  • You made a mistake in layer name - it's "Layer 0", not "layer0"

    Also make sure that ScrollTo behavior is added only to the camera sprite.

  • Try changing your code like this:

    Every 0.5s
    System For Each spr_R
    spr_R is overlapping Enemy
    
    ... spr_R pick parent spr_tower
    ... For Each Enemy
    
    ...............
    

    Also you should probably use Bullet behavior for bullets, unless you want them to work like guided missiles.

  • It may be browser limitation. Try playing the audio in "Touch on Tap" event instead of "On start of layout".

    Also press F12 in preview and check if there are any error messages in the browser console.

  • When dealing with strings in expressions, you need to wrap them in quotation marks - viewportwidth("sfondo2")

  • It's a weird thing about OR-blocks in C3 - they still pick instances. So in your case, when the first condition (Player hitCount) is false, then no Player insteances will be picked. If the second condition is true, the event will execute, but because the picked scope for Player is zero, "Player set animation" action will have no effect.

  • 1200 is not a lot, the project should not take more than a several seconds to save. (Unless you have a slow HDD drive in your PC)

    If it takes 2 minutes, the problem may be with something else..

    I would try a different computer, to see if the issue is hardware or OS related. Also try removing that large JS file from the project, just to test.

  • It depends. If you have hundreds or thousands of sprites, replacing them with a single tilemap will be much better for performance.

  • Check the number of files in Images and other folders.

    Each animation frame is saved as a separate file. And if there are many thousands of them, the project will take a long time to load and save.

  • It's better not to use Trigger Once at all, than adding it "just to be safe". It's very often used incorrectly and can cause difficult to fix bugs.