TinyCrocodile's Recent Forum Activity

  • Thank you for your reply. I know that, for example, webpages have to be designed in a certain way to be recognized by a screenreader. I would like to know if a project made in construct can be set up in a way, that the screenreader app of a phone can be used to control it.

    I guess the answer is no, since I opened a webpage that contains one of our construct projects with the screenreader and it could not recognize anything in the game, it just gave an error.

    I will have to see what I can do with the text to speech feature then. One thing that breaks my mind is how a blind person can activate that feature on a web hosted game, but maybe I care about that once I got the rest working.

  • Hey folks, I try to make my projects more accessible and I am wondering if anyone here does the same and has some good tips to share. For example if its possible to make the game accessible to be played by a blind person and if yes, if you have some good tips on how to do that.

    Accessibility for blind people is the most urgent thing right now, but other tips are welcome too. I know about the general tips (e.g. use good contrast and give options for key rebinding, etc.) but I am looking for what construct offers on a technical base.

  • Thank you very much for your answer!

    Can I do the replacement multiple times when I want to put multiple variables into the text, or can I only have one replacement action per text?

  • I'd like to include the value of a variable in a text. I already found out that it is usually done by "text " &variable, but this does not work if the text comes from a json file.

    Text in json file:

    Result:

    Variation without quotation marks:

    Is there any way that I can include variables in the json file text snippets? If it was just one variable that is at the end of the text, I could include it after the text, but I want to include several variables in one text snippet.

  • Thanks to winstreaks video I was able to figure out how to put the check for my instance variable into a function that I only call when I need it. Thank you!

    This is how it looks right now:

    It checks all instances of the buttons and compares their button number to the number of buttons that are supposed to be shown.

  • > You don't need "For each" in this case.

    > Note, that this event will run on every tick (~60 times per second). If you have lots of instances and lots of event like this, it may be bad for performance.

    > C3 comes with tons of templates and tutorials, I suggest studying a few of them. This should give you an idea of how events work.

    I know that "for each" runs with every tick, thats why I created this thread in the first place. I looked for forum entries on how to use instances with events, but I could only find examples with "for each". Is there a specific tutorial that covers instances in events that you can point me to?

    thanks I'll check out the video

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You don't need "For each" in this case.

    Note, that this event will run on every tick (~60 times per second). If you have lots of instances and lots of event like this, it may be bad for performance.

    C3 comes with tons of templates and tutorials, I suggest studying a few of them. This should give you an idea of how events work.

    I know that "for each" runs with every tick, thats why I created this thread in the first place. I looked for forum entries on how to use instances with events, but I could only find examples with "for each". Is there a specific tutorial that covers instances in events that you can point me to?

  • I've read the manual entry, but I do not really know what to make of it. Is there a way to pick a specific instance in the visual coding? I now created this:

    It works, but I feel like this can't be the way its supposed to be used. I have just used the visual coding up until now.

  • Hey folks, I am a bit confused on how I do use object instances correctly.

    I created 4 buttons in my layout by hand. The buttons are instances.

    When the game is running, I want to make some buttons visible, and some invisible when something in the game changes. But I don't really see how I can pick a specific instance (e.g. button instance 2) in a function.

    I already read about the system command "for each". I could check if a button instance should be visible with that, but that would run all the time in the background, right? I only want to change visiblity when a certain event or function is called. Is there a way to do that? Am I using instances wrong? Should I make 4 distinct separate buttons that are not instances?

TinyCrocodile's avatar

TinyCrocodile

Member since 18 Oct, 2021

Twitter
TinyCrocodile has 1 followers

Trophy Case

  • 3-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies