delgado's Recent Forum Activity

  • You can either duplicate the play sound action to every place you set the text:

    every 1 second

    --- set text

    --- play sound

    or you could make a function to set the text and only use that:

    every 1 second

    --- function call "set text" ("foo")

    on function "set text"

    --- set text to function.param(0)

    --- play sound

    Rojo I appreciate you try to help but i need to see this on capx example

    but before you decide to do that

    this is better example

    i make two way to change text but only one works

    https://dl.dropboxusercontent.com/u/447 ... xtbox.capx

  • ok thanks, i trying 1 hour change all events from text to global variable but no good result

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You can't, not with the textbox object. You could search for a plugin that might be able to do it.

    ok but no idea which other plugin?

  • As per the manual:

    "On text changed

    Triggered whenever the text in the field is modified, by typing, backspace/delete, cut/paste etc."

    You have to manually change it by adding input, like R0J0hound said. It's not intended to work if you are simply setting text via events.

    You can probably get around that by updating a variable along with setting the textbox text, and then play the sound when the variable changes.

    Thats easy to say when you see simple capx example

    hard to implement in ready project

    If you know how do it without manually typing im rescued

  • Ashley i think its not possible to repair this via events. Can you look at this issue and fix this? Will be great because this bug is blocking my path to develop further

    thanks

  • under on text changed condition and Play sound, i put set text to "P" and dont work too

  • I thought on changed is only triggered when the user types something in the textbox. If it would be triggered every time the text is set then we'd run into other issues such as an infinite loop if we made a condition like:

    on text changed

    --- set text to ""

    Well condition is 'on changed' not 'when typed' soo

    I try that now,

    I use to rescue this bug Rexrainbow 'simulate KeyEvent' that dont help too

  • hello i try simple experiment with textbox (and advanced textbox too) plugin

    I add text box object, audio object and add sound to blank layout

    In event sheet:

    every 1 second set text to choose("K" , "L")

    Condition:

    when textbox 'on text changed' play sound

    I run preview and every 1 second text is changed but without sound

    i cannot run events in my game because of that

  • Did as you said, but it doesn't work. Textbox just says 1 no matter what I try. Also the events and actions are very confusing for a store listing that said "easy"

    You have few capx demos do you try all ?

    Also

    download rex plugin tool and update all listed in example plugins & behaviors (rex very quick update his plugin so every day plugins might be out of date)

    http://c2rexplugins.weebly.com/my-plugi ... ry-v2.html

    Also did you register your server on backendless?

  • i take look at my old project with projectiles,

    PS i open well working my old project but new relases prabably change a lot in engine mechanics because my multiplayer game dont work well now

  • Spawn bullet sprite and on colission projectile with host/ peer and execute existed events for damaging oponent

  • new version is avaliable in store

    with bugfixes

    enjoy

delgado's avatar

delgado

Member since 20 Sep, 2011

Twitter
delgado has 14 followers

Connect with delgado

Trophy Case

  • 13-Year Club
  • Entrepreneur Sold something in the asset store
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x8
    Popular Game One of your games has over 1,000 players
  • Famous Game One of your games has over 10,000 players
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

22/44
How to earn trophies