Syazanie's Recent Forum Activity

  • Yeah literally the title. I can't seem to find any expression that retrieve the text's colour value. Any help? :\

    Thanks!

    Tagged:

  • You should be able to open that demo even in trial version of C3.

    Ah I see. Thanks for that info! And thanks for even helping me!

  • > But how you make textbox can change the radius? I can't figure that out.

    I told you it's not going to be an easy task.. Not extremely difficult, but tedious. You can use my C3 demo as a reference, but of course some expressions will be different with Canvas.

    Well yes and I also told you that I don't have C3. But apparently C3 have a full version for free now! So thanks!

  • Oh and by the way, your website is really cool! I found many fun and great things there!

  • No, I never heard about Canvas plugin being slow.

    Here is a demo:

    https://www.dropbox.com/s/0edm67m11iibco9/RoundedRectangleC2.capx?dl=0

    Oh my god, that's super great!!! I'll make a backup in a minute. But how you make textbox can change the radius? I can't figure that out. I thought just make a simple Variable but then I don't know how to change the radius without creating a new Arc (Is that term right? xd)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Oh I have a really stupid request... can you upload a screenshot of the events of that Rounded Rectangle using Canvas? That would be really, really helpful! Because I don't even know how to use Canvas nor Paster as of right now huhuhu

  • Sorry, my mistake - you can't do it with Paster, but it's possible with Canvas. (You are using Construct 2, right?)

    https://www.construct.net/en/forum/extending-construct-2/addons-29/plugin-canvas-41782

    It's not an easy task - you will need to draw a path with 4 arcs and 4 lines between them.

    I have a demo, but it's for C3 and there I used circled for corners:

    https://howtoconstructdemos.com/draw-a-rectangle-with-rounded-corners-c3p/

    Hey, thanks for that! I'm using C2 unfortunately. But, I just followed your initial advice, which make without Canvas/Paster plugin and just make a rounded-corner on Figma or something and then import it to Construct 2 using 9-Patch. I just made multiple rounded corner :D. I realized I do not need dynamic corner radius. Thanks though!

    And I also found out Canvas plugin make the device slow? I'm planning to release my game into mobile. So that's also half a reason on why I don't want to use that plugin :p. If it's not that slow, I will though!

  • OK so I tried the Paster plugin by Rojohound... and I don't really understand how to use it. Is there any guide/documentation or just straight up on how to make a rounded corners? xD Sorryy

  • Or do you mean you want to change the corner radius? (amount of roundness)

    Yeah, this what I meant. I'll take a look into the Paster plugin! Thanks! Although, will it be like HTML element? Which will be always floating on top of everything? If yes, I don't think I can use that now :(

  • You mean rounded corners? It's easy:

    Ah. I know how to do that but I don't know how to do it WHILE IN GAME (In real-time). I really hope I can do it in-game and not need to import square-rounded corner image and put in 9-patch (It works but not what I want unfortunately :c)

    I hope my explanation is not too weird :p

  • Literally the title xD! I want to make my box (default) sprite (Or 9-Patch) to have border radius.

    I used the HTML_Div by Pode but because it’s a HTML element, it’ll stay on top forever. So I scrapped it and make a simple square using 9-Patch. Can anyone tell me how to do border radius?

    Thank you! Merci beaucoup!

  • Tada!

    https://dl.dropboxusercontent.com/u/161279569/construct2/forum/mimic_layer_mask.capx

    This is a very quick example of applying a "dream like" effect to the top and bottom portions of the screen. It uses Construct 2's built-in autorunner demo.

    Steps to reproduce:

    1. Create a new layer with a parallax of 0,0 and place it above the layer(s) you would like to change. This will effect all layers underneath this "layer mask."

    2.) Create/import a new sprite on this new layer or tiled background that fades from white to transparent.

    3.) First apply the "Divide" effect to the new layer and the add any other effects you would like after that.

    That's really all there is to it. The whiter the area, the more of the effect you'll have and the more transparent the area, the less of the effect you'll have.

    I plan on using it to create a tilt-shift effect in a future game, but I can also see this as a way to create patchy fog, fuzzy line-of-sight by pinning the image to the player, etc. This method should work with all effects so you should be able to do things like apply a wave effect just above the ground to imitate a hot sunny day, etc.

    Pretty cool!

    6 years ago but still very good!!! Thank you! If you want to do the translucent blur effect, this'll make it happen! Thank you! I got it working!

Syazanie's avatar

Syazanie

Member since 30 Jan, 2017

None one is following Syazanie yet!

Trophy Case

  • 7-Year Club
  • x2
    Coach One of your tutorials has over 1,000 readers
  • RTFM Read the fabulous manual
  • Email Verified

Progress

10/44
How to earn trophies