dop2000's Forum Posts

  • Your original code doesn't need Paster at all. You use System action "Take Snapshot", which copies the entire window. That's why you have to resize and scroll it first.. It's messy and difficult. Much easier to make a snapshot of the area with Paster.

  • You can change Paster resolution (Set Resolution action), then paste objects or layers on it, then save Paster image. It will be saved with selected resolution.

  • I don't understand what are you trying to do, and why you are changing canvas size and scrolling to Paster object?

    You want to make a snapshot of the grid area? Then simply do this:

  • link Limit the angle of view for Turret behavior

    link Use containers with families - two methods of picking objects from the same container when using families.

    link Create a realistic chain or rope with Physics

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • game takes a snapshot on mobile - it is not automatically saved to the album as screenshot

    No, when you use "Take snapshot" action, the image is not saved in the album.

  • New demos!

    link 3D Star Field Effect

    link Create Non-Linear Plot and Alternative Endings in your adventure game

    link Create a reflection with water effect

  • Run the project in debug mode, check position of the Paster object there.

    If it doesn't help, please post your capx.

  • removed......

  • You need to post your project file and a sample of JSON that you are trying to load.

  • You can load multiple snapshots into one sprite, you just need to create lots of empty frames in this sprite, and change the frame before loading a new image. This will allow you to easily replay the whole animation.

    This will use a ton of memory thought and may be quite slow on mobile..

  • Add an image point, and spawn a bullet from that image point.

  • If you don't have hundreds of objects like this on the layout at once, you don't need to worry about collision polygons being too complex. Simply ignore the warning and add more points to the polygon.

  • arturosanz I've never used Layouter plugin, I thought it spawns all instances at once, but looks like it creates them one by one, so only the last instance remains picked. So yeah, in this case you need to use Pick All, and a Wait 0 before that.

    Also, you don't need a loop, you can do this:

  • Objects are pasted at the end of the tick. It may not be needed, if "Save" also starts at the end of the tick, I don't know, you can try without the wait.

  • If you still want to aim at shielded targets, but not shoot, add these conditions to "On shoot" event:

    Turret on shoot
    Enemy pick by unique ID = Turret.Turret.TargetUID
    Enemy Touched<=0 
    

    If you don't want the turret to aim, then don't use "Add target" action, because your turret will always try to aim at these objects, no matter if they have shield or not. You will have to use "Acquire target" action for each object instance that has no shield.