piuuu's Forum Posts

  • OK, I just can't seem to let this 1 go. Here is a way to do it. Use a "ShowCursor" variable and when the cursor should be shown, append "|" (the pipe symbol). See the attached edited version. Use a timer to define when the ShowCursor is set to true.

    [Edit] added a basic version. The first version has some functions that may not be clear but only uses 2 events instead of 5.

    thank u so much for capx.

    but i am not able to open it since m having 173 version.

    can u please save this project in 173 and post it again.

  • need a help.....

  • You can't really affect a flash to a single letter inside a text object.

    Either you could cheat and add a sprite on top of the text object, moving it along and having it flashing, giving it a kind of "prompt" look like on old computers (basically a flashing square) but it is a bit involved to find out exactly where to position it.

    As far as I can think of at this moment, I don't think there is not an easy solution out of the box.

    thanks for replying my post

    sure i will try this out.

  • Now that I understand the question, have you tried changing the Text object with a Textarea object? If you use a Textarea object, it displays a cursor at the end of the text.

    One thing to remember, you will have to set the Textarea focused to see the cursor and if it ever loses focus, the cursor will disappear.

    I edited your example with the suggested change and attached it.

    I hope that helps and good luck with your project.

    thanks FragFather.

    thatz exactly what i am looking for.

    but i can not used textbox object as user having can edit or delete the text.

  • any help?

  • here is capx.

  • You could give your cursor the Flash behavior and use the event in the image below:

    [attachment=0:2915xwmp][/attachment:2915xwmp]

    Simply put, the cursor flashes for .5 seconds on, .5 seconds off for 1 second, then repeats.

    Thanks for reply

    but i want cursor should be append at end of each letter while writing like happen in notepad.

  • hi every one.

    I want blinking effect for cursor while writing in text object like does in ms-word or note pad.

    how to do that?

    Is any one knw?

    Thanks for reading.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I just gave you one general technique. You need to work out how to display them in the places you need them. Just calculate the X and Y for your requirements. Happy to help out more if you can't get it working. Maybe post another capx that you have tried.

    sure

    thanks

  • codah

    need more help

    now as per your code only one text get displayed for ever textbox.

    i am trying to do few update in your code but m not succeeded.

    i want different text for each and every text box & their positions should be one after another not in single line.

    Thanks

  • without a capx, I'll ignore the above.. if you just want to "create X number of textboxes for X size of an array" then see below

    [attachment=0:13m5qt2l][/attachment:13m5qt2l]

    Of course you could also have some pre-created text boxes and just move them into place, etc.

    hi codah

    thank u for capx

    it helped me a lot

  • What have you tried so far? Can you show a sample?[/quot]

    currently i have no capx ready.

    i have created array like shown in below image

    according to length of array , text box should created dynamically.

    if length is 15 then 15 textbox on screen.

  • hi

    i want to create textbox dynamically based on array no.

    if i am having array length 15 then 15 textbox should create.

    Thank u

  • There is no good solution (@piuuu - if that succeeded wouldn't it cause the canvas to fail to display at all? IE8 has no HTML5 support at all). Currently there is no good way to identify software rendered vs. hardware rendered WebGL in IE. We already use the "failIfMajorPerformanceCaveat" attribute in Chrome to avoid their software WebGL renderer, and I heard from an IE team member that the next version of IE will also support that, so it will avoid this problem. However until then sometimes IE11 WebGL mode will just be slower.

    sure itz not proper solution.

    but my client want my game should worked on IE 8.

    So i applied it and i worked for me.

  • Sventevith

    I faced similar problem with button cursor.

    put this code in head tag- <meta http-equiv="X-UA-Compatible" content="" ie="8">

    My button functionality wasnt work when it set button css as background -none .

    R u try to invisible ur button?

    if so then do it as opacity-0.

    Then all button functions will work.

    Hope it help u a bit.

    Thanks