Crak0011's Recent Forum Activity

  • I suggest you start by reading the official documentation and studying some tutorials.

    Trust me, before asking it to the community, I went through many tutos, but everywhere I looked, it was only possible with distinct sprites. I couldn't find a way to make it work with the same sprite, so I tot it must be a bug, so I landed on the community.

    Here the c3p.

  • The result showed that construct3 has a problem with comparing objects to themselves.

    So, you also proved it in detail.

    Are you guys agreeing that it's a bug?

  • a common workaround is to use a family. Then you pick 1 instance of the sprite and 1 instance of the family, and compare Sprite.animationFrame=Family.animationFrame

    It's still not working, What I'm doing wrong?

  • This is just two experiments.

    First: With two instances of a sprite, but each instance having different frames.

    Second: Two completely different sprites, each having different frames.

    What I'm trying to say is, if you compare both event blocks, you can see that the first block, if the condition is satisfied, still gives me the wrong result (which is not expected). And for the second block, if the condition is satisfied, it gives me the correct result (which is expected).

    The result of this experiment leads me to think that it's a C3 bug.

  • I have attached a small video. Basically, the issue arises when we click the resize button while the sprite is in a zoomed state.

    Also, please guide us on the clamp logic: how precisely we can restrict the maximum and minimum zoom levels.

  • Sprite1 Animation frame[1] compared with Sprite1 Animation Frame[3]- Results always true- issue?

    Sprite1 Animation frame[1] compared with Sprite2 Animation Frame[3]- false Working as expected

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Thanks dop2000 for the solution. However we tried the clamp expression, the scale option is getting reset, ealier the initial touch on the SpaceShip always triggers the object to scale to 2 times its size before allowing further resizing, but now one time.

    Please find the attached c3p.

    drive.google.com/file/d/1mC0rnjHZjmcjlfdVgqVZLSeWolmRe4Mp/view

  • Thanks dop2000. We first went through the example you shared unfortunately that didnt helped in achieiving requirement. It would be really helpful if you please guide us or giving some hints how we can fix it

  • I'm experiencing an issue with the zooming behavior of a sprite called "SpaceShip." I've implemented a resize button that enables the player to zoom in and out the "SpaceShip" based on touch input.

    The code does exactly this, but the problem is that the initial touch on the SpaceShip always triggers the object to scale to 2 times its size before allowing further resizing. If we move it/scale in around a bit, a weird effect also coming. This behavior is undesirable, and I want the object to start resizing immediately without the initial jump to double scale.

    Please help me fix the code. I'm a developer myself and still in the process of learning Construct 3 by reading other questions and answers. I've come this far, but this time I'm stuck trying to figure out how to use touch input for scaling. So, I asked for help before and received an amazing piece of code (Thanks to that user for providing the code).

    drive.google.com/drive/folders/1GMGL7lDOz2LVptZfa0Mh20ekYWLpWvVB

    Tagged:

Crak0011's avatar

Crak0011

Member since 23 Jul, 2023

None one is following Crak0011 yet!

Trophy Case

  • 1-Year Club
  • Email Verified

Progress

2/44
How to earn trophies