VikasSanstha's Recent Forum Activity

  • I can now see that using the "wait until the correct character is typed before moving on" model would probably be dramatically simpler. I think that's also a fine way to go. So if a wrong character is entered, it does appear - but it's red - then a buzzer sounds, and the character flashes and goes away, leaving the user at the previous state, with the insertion point ready.

    I think this must certainly be a far easier approach. It seems like it would also be less confusing to the user. Downside is it will not provide as much learning opportunity to troubleshoot and fix text, via the arrow keys, backspace, etc.

    I think this route is the more sensible choice.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello friends,

    I'm trying to make a typing practice interface for my students. The user is presented with a word, they type it, and, if correct, a new word is served. If incorrect, the wrong characters are highlighted. I know how to do everything except for the highlighting of the wrong characters.

    Here's a barebones project file.

    dropbox.com/s/r3mllpw3g0ji9q8/matchCharacters.c3p

    It doesn't include the highlighting mechanic because my attempts were so totally fruitless that there's nothing worth sharing in that regard. I suspect that I am supposed to use len to compare at every tick and get the wrong characters, but I couldn't get it working despite prolonged attempts.

    Any help is greatly appreciated. Thanks!

  • I don't see anything in Chrome called "Browser Storage" exactly. Which one of these are you referring to? Where are the plugins kept and where are the settings kept, in terms of the locations shown here? Thanks

  • ccleaner.com/de-de/ccleaner

    you can set this

    Please see my post again. The whole point is that users should be able to do something as common and basic as clearing their browser without corrupting Construct, which is seemingly not possible. Put the plugins and settings somewhere like local>roaming like other software, where they don't get deleted every time. I love Construct but this is not a good design. CCleaner doesn't offer anything more than Chrome as far as I know. I've been using it forever. If keeping the Construct cookies solved the issue, that could be accomplished in Chrome, but it doesn't change it. I've done a bunch of tests.

  • >

    cookies not delete

    account.construct.net

    construct.net

    editor.construct.net

    www.construct.net

    I already have that set. It doesn't do anything to prevent the issue. I think it's in site settings, which you can't make site-specific settings for. Why would something like your plugins ever be in these transient type locations that are always subject to being cleared? Plugins, settings and config files are the essence of what goes into AppData>Roaming. Is there some kind of technical limitation because it's a browser-based piece of software?If not this should really be changed to behave like all other software.

  • Using events to set cursor style when mouse is over a list, although provided as an action, does not work. It's necessary to use an external stylesheet i.e.

    #listId:hover {cursor:pointer}

    which does work fine

  • It's really a pain to have to re-add all the plugins and reconfigure all of the user settings every time the Browsing Data is cleared. There is surely a better way to do orchestrate this. Put these settings in some local folder that is not affected by clearing the Chrome Browsing Data, users/USR/AppData/etc. for example, which has nothing from Construct!

    I work all the time in VSCode and FTP, with projects that require constant clearing of the Browsing Data to ensure that the most current results are being seen live, and then every time I go into Construct I have to set up everything again, sometimes 10-15 times in one day.

  • You do not have permission to view this post

  • If you're launching it from a bookmark, or from a Chrome>Startup Page setting, make sure you update those as well. This is an easy thing to overlook, and it will cause the result that you're describing, which has happened to me as well.

  • Thanks, I did a little reading and it seems like a server side request has to be made to get the filenames. It seems to be fairly easy with PHP, and some posts said it can be done with AJAX. I was thinking that since the files folder is part of Construct and the request would not be cross-domain, there might be a way to do it that capitalizes on the somewhat proprietary design of Construct, but it looks like not.

    In any case, I took the same approach that you've suggested. I used Irfanview, which has a "save filenames to txt file" option, then a couple search replace operations to format it. But it looks like this excel method is another good option. Thanks!

  • If I understood correctly, this will load a random file(png) from project files into a sprite, then set a text box to the choosen file name.

    If you want to get rid of the .png on the end use set text to replace(Variable1,".png","")

    Thanks for this sizcoz, it addresses part of what I am after. The other part though is to load images randomly from the files folder, without having to list all the filenames in a choose action. I have hundreds (thousands actually) of png files that are already prepared with nice simple descriptive filenames. If I have to type all of them into a choose action it defeats a lot of the purpose. Please see this post.

    construct.net/en/forum/construct-3/how-do-i-8/load-random-non-sequential-164100

    Thank you though, this is still helpful.

  • Some expressions take multiple parameters, separated by comma. In this case rgb() requires three numbers.

    You can enter these numbers directly into the event (so called "hard-coding"), or you can use variables, or get them from the array etc.

    But you can't feed to rgb() expression a single string containing three numbers, it won't accept it.

    choose() expression is a perfectly good way to do it, however if you have lots of colors, it may become too long and difficult to edit in the future.

    It will be no more than 10 or 12, so it seems like a good approach. I'm a bit OCD about keeping the event sheets simple, partly due to apprehension because there's still so much I don't understand, I want to try to limit complexity and keep it in line with my abilities. I'm learning every time I work, so that will change over time.

    Thanks again!

VikasSanstha's avatar

VikasSanstha

Member since 24 Jul, 2021

None one is following VikasSanstha yet!

Trophy Case

  • 3-Year Club
  • Forum Contributor Made 100 posts in the forums
  • RTFM Read the fabulous manual
  • Email Verified

Progress

6/44
How to earn trophies