Crak0011's Recent Forum Activity

  • Thanks a lot :)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Please Help

  • How do i click and drag a line of sprites to make a word, as shown on the below image and video.

    Subscribe to Construct videos now
  • Maybe I confused myself by thinking that the same logic could work here. Nonetheless, thank you for your time and input. I've learned so many concepts of C3 through this interaction. Thank you.

  • Hi dop2000, Thanks for the C3P file. It is definitely useful, but I believe I somehow failed to make you understand what I wanted to achieve with that C3P, now I've made some further changes to the C3P file to enhance its readability, I hope it will make sense now.

    It is now identical to the code you provided earlier, with just a few edits here and there on variables or some other parts to make it compatible for text. Additionally, I added a bit of code:

    System: Every tick
    -> Set size of TextMain to (TextMain.TextWidth, TextMain.TextHeight)
    

    This ensures that the text size is adjusted dynamically based on its text content.

    Please take a look at the updated C3P file here.

    I believe I'm now even closer to achieving the desired result, with just a few expert modifications needed.

  • Hi dop2000

    If you want to change font size with the sprite size

    No, based on your pervious suggestion, I already did it, here the c3p. It working as expected. However my question is, it would be simpler if it could be achieved directly using the text without the need for a sprite, So for that I believe I'm almost there; just a few expert modifications are needed to make it work.

    I'm not sure what's going on in your code.

    I've been attempting it through make it work based on The C3P file you provided earlier (which works great) However, it won't work for this text object, obviously because there's no scale option for text objects. So, I'm using font size instead. If you click the resize button for the text, it's working to some extent, meaning it's changing the text size based on touch input, but not correctly. (The issue is Similar to what you solved previously the only difference is, it is text instead of sprite).

    Please check this c3p where I modifyide your previous code to work with text instead of sprite using font size.

  • Now I have updated the c3p. I'm almost there, please check.

  • Then when the parent sprite is resized, the text will be resized as well.

    Thanks Dop for your suggestion. I created it based on your advice

    However, my question is, the above method you proposed works, but it would be simpler if it could be achieved directly using the text without the need for an additional sprite.

    So for that I believe I'm almost there; just a few expert modifications are needed to make it work.

    Please check this c3p.

  • Hi, dop2000

    I'm struggling to make that logic work with the text object, could you please help. How to make that resize logic works same with text?

    Here the attached c3p.

  • Thanks a lot Dop2000. Really appreciate your help !!

  • We tried the suggestion shared by you.

    The same issue arises when we click the resize button, now the zoomed state is max clamp limit. Please find the new attached video and c3p.

    (I hope the response will be published right away unlike last time which took 3 days)

  • Thank you, it was my bad, with Family it is working.

    Still, don't you think this is just a workaround for a bug?

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