eli0s's Recent Forum Activity

  • Can you better describe your problem? I don't get this blurry and jagged thing... Perhaps share a screenshot or a capx file..?

    (And why you are using the 8direction behavior and not the Platform behavior?)

  • The Particle object (plugin) doesn't allow for it's individual particles to have rotation nor collisions. This is by design in order to have less calculations and better performance.

    If you want better control over your "particles" you can use a sprite and make it behave as a particle. Of coarse, this will tax your game and add to the calculations. If you don't overdo it it will not be a problem I think... See the attached example.

  • damjancd ,

    Magistross already gave as the solution and a practical example. I can't test if the AJAX method is faster in CocoonJS and Ejecta, I believe that in huge texts it will be.

    Looking around on the "how to" thread, I've found this topic , and in it Yann provides a great example that uses a txt file (and AJAX).

    There are other examples too, although I am still skeptical if the glitchiness that you describe is really caused by the text loading method or the text object it self. On an other topic Kyatric mentions that hundred, perhaps thousand lines of text won't cause loading/performance issues. I am sure that I've read somewhere that the text object is causing a hit to performance though.

  • Thanks Magistross , I will look into it!

  • LittleStain thank you!

    Magistross WOW! First of all, thank you very much for your example! Very funny dialogue there Secondly, I'd hopped that it's easier to pull something like this in C2. Never the less, your capx provides a solid foundation to understand the logic, so thank you again!!!

  • Magistross , thank you in advance for your help!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Magistross , I thank you also for your instructions

    I would like to stretch the topic a bit and ask you something else too:

    Is there a way to stream separate lines of text (or paragraphs) from the same txt file? You know, for building dialog systems or create cut-scenes that each "balloon" has its own paragraph of text. I am sure that having multiple txt files loaded with AJAX for each line is not the way to do dialogs...

  • damjancd , although I don't know if json is the way to do it (I believe you're right though), I suspect that the Text object is responsible for the low frame rates on your tablet and phone.

    Have you tried the Spritefont object instead? It's supposedly much faster than the regular Text object.

  • I am sorry, you'll have to be more specific. What are you trying to achieve exactly? Can you post a capx file for us to see?

  • You should make an action for the text box object and pick the "set text" action (double click on it). Then choose the variable (I'm guessing that you have a global variable) from the "System object".

    eg: (for a variable named variable)

    Every tick ----> Text | set Text to variable

  • I am guessing that you want to load the text from an external file, like txt document..? If yes, I would also like to know.

  • Use an instance variable and set the CurrentSpeed+200 to the existing instances with the "for each" condition.

    On the spawning event, after the creation action use an other action that sets the default CurrentSpeed for the newly spawned instance.

eli0s's avatar

eli0s

Member since 24 Apr, 2013

None one is following eli0s yet!

Trophy Case

  • 11-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers

Progress

13/44
How to earn trophies