Asmodean's Forum Posts

  • Maybe your graphic card is blacklisted in chrome. You can test if you're using webgl. Make a Text-Object and set Text to Renderer (without ").

    + System: On start of layout -> Text: Set text to Renderer

    If you don't get webgl your gpu ist blacklisted. In this case type: chrome://flags and set Override software rendering list" to enable.

    Now it should work.

  • Tom can you please at least change the red font color? It's aversive and very irritating.

  • too much whitespace..

    too much scrolling..

    everything is too big..

    too spread out..

    I have the same in Chrome. I have to set the scaling to 90% otherwise everything was way to big and I got critcal errors if I try to post something.

    Edit:And this captchas are a no go.

  • I made a text2speech plugin, that should work on Android (I never tested it). Have a look if the voice quality is sufficient enough for your purposes.

  • The caproj file is only a small part of a Construct 2 Project. You need either the whole folder with all files or a .capx file.

    With only the caproj there is nothing much you can do.

  • I like it, thanks for sharing. It would also be nice, to have all the text from the bot in an xml or json file, for easyier editing but it is ok for me to edit it via notepad. Keep up the good work!

    Thanks. I've done that more as a joke for someone. I thought that maybe someone else have interest in that plugin.

    The problem to make an extra xml or json file for the text is the structure of the program.

    I has to be practical completely rewritten to use xml, json and for a joke that was to much work for me.

  • ELIZA is an early natural language processing computer program created from 1964 to 1966 at the MIT Artificial Intelligence Laboratory by Joseph Weizenbaum or in short is an early ChatBot.

    https://en.wikipedia.org/wiki/ELIZA

    I found a Javascript implementation here : http://www.masswerk.at/elizabot/ and made a plugin for fun. It's maybe possible to alter this ELIZA implementation to make your own ChatBot, more in the link above. I didn't tried it.

    It has two actions 'input' and 'reset' and and three expression 'output', getInitial and getFinal. With getInitial you got an Initial message, with getFinal you can force an end message that you also got if you type in one of theis key words: bye, goodbye, done, exit, quit.

    There is an example capx in the zip, that should be self explaining. Eliza is a plugin and should be put in the plugin folder (Construct 2\exporters\html5\plugins).

    Edit: I implemented getInitial and getFinal and updated the example capx.

    https://drive.google.com/uc?export=down ... Xg-uku5htu

  • It sounds like a race condition.

    Could you call "final_score" from "score_words" after is done? Or use a (boolean) variable and when "score words= is done, set it to true. In an extra event when the variable is true call "final score". Then when that function is done set the variable to false again.

  • the Mnk

    The Formula for braking distance is Sb=V²/2*a with V for the velocity and a for the deceleration

    The velocity over braking time is:

    v(t) = V - a*t

    The distance over time:

    s(t) =V*t-0.5*a*t²

    Now you have to know how long the braking takes :

    v(t)=0

    => 0 = V-a*t

    <=> t = V/a

    with s(t) =V*t-0.5*a*t² and t=V/a

    => S= V*V/a-0.5*a*V²/a² = V²/2*a

    (speed^2)/(2*deceleration)

  • This should work:

    array_all_words -> For each x element

    • array_all_words.CurVal = "orange" -> my_text = array_all_words.at(array_all_words.CurX,1)
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Here is how it could work, but it's more a dirty hack.

    Im using mersenne-twister.js from here https://gist.github.com/banksean/300494 and use Browser.executeJS.

    It seems to work with a seed. I get every time the same value.

    Example:

    https://drive.google.com/uc?export=down ... d3rk87HXUs

  • Look here, korbaachs example. It's for C2 but I think i should also work in C3.

    https://app.box.com/s/9y3912jdztpt03zw7vpvfffcehsxt292

    Thread : how-do-i-simulate-a-terminal-cmd_t184345

  • unfortunately it does not work for me as I would like. It works for me only when I'm on the top.

    As soon as I go down, the enemy is crazy. I only changed the enemy's speed.

    As I wrote. The movement of the enemies are hard coded positions, if you change the position it won't work.

    I changed the example this should work better:

    https://drive.google.com/uc?export=down ... 9Ga5Ifxim1

    I recommend that you try to understand how this works, otherwise it will break again when you adapt it to another setting. I put a little explanation in it.

  • Does that mean that all existing C3 3rd party add-ons have to be adapted to the new runtime? No backwards compatibility?

  • My try:

    https://drive.google.com/uc?export=down ... ChIjxlEols

    I turned the enemy sprite 90° in the sprite editor to use move forward. I turned pixel rounding of for smoother movement. You have to look with the absolut positions if that is OK. The enemies react only every 3 seconds. I recognized that was in you video the same. If that is not what you want change the time or delete it.