SpiritOfCarrot's Recent Forum Activity

  • Must be the same issue as in this bug report:

    https://github.com/Scirra/Construct-3-bugs/issues/5155

    Ashley says it's by design, but it feels like a bug to me.

    Thanks for the help, the solution to this problem looks like this

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • animation options

  • Hello, there is a sprite with a fast animation of 50 fps, I need to change the animation speed as in the event with the comment "1".

    Unfortunately, calling the function in the first event doesn't change the animation's playback speed.

    But the call in the function in the second event changes the animation playback speed.

    What can be done to make the function work in the first event?

    Tagged:

  • I want to say thanks to dop2000

    Helped solve the problem using the replace expression

    If anyone will be interested write an example:

    In the array we write:

    text1 <br> text2

    After receiving the text from the array, use replace for the <br> tag:

    replace (localizationfamily.Text, "<br>", newline)

    We get:

    text1

    text2

  • It depends on how many math operations you need to support. If it's only "A+B", then it's easy. Use tokenat() expression:

    int(tokenat(text,0,"+"))+int(tokenat(text,1,"+"))

    However, if the text can contain other operations like "A+B*C-D/E", then it will become really difficult to do with events. You can use a JS library though, for example this one:

    https://mathjs.org/docs/expressions/parsing.html

    Thanks, what if I want to use the newline expression in a large text?

  • Good day

    Is there a way to use expressions in array cells?

    For example:

    In the cell, the value is 5 + 5, when loading this value from the array, get 10.

    Or use the system expression - newline?

    Sorry for the bad english and thanks

    Tagged:

  • You do not have permission to view this post

SpiritOfCarrot's avatar

SpiritOfCarrot

Member since 20 Aug, 2018

None one is following SpiritOfCarrot yet!

Trophy Case

  • 6-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • Lightning Draw First person to up-vote a new Construct 3 release
  • Email Verified

Progress

11/44
How to earn trophies