LittleStain's Recent Forum Activity

  • Great example! LittleStain

    The Dictionary is sure a nice tool. For functions like this I would have to use REGEX in Unity. Ashley made some nice things for us. He has saved us from making a lot of common mistakes like typos.

    Using a loop instead of repeat would have actually been a lot easier, haha..

    Would have saved me two local variables..

    (BTW: If you'd rather use REGEX, you can, ofcourse.. )

  • I'd suggest adding the timer behaviour, could be usefull for many more features

    Then you could make these events:

    on timer "changeback"

    set the face to default

    on collision

    set face to whatever

    start timer "changeback for 2.5" seconds

    Something like this should work..

  • I'd suggest using Particles..

    You are going to have to play a little/lot with the settings to get the effect you want..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • without seeing the actual events/actions we can only guess..

    Are there any conflicting events?

    Is the event set up properly?

  • In this case I would set a text-variable to: Browser.ExecJS("Date()")

    Then use mid(text-variable,4,3) to get the desired part..

  • easiest ways would be using a triggered event that is only called once..

    Seeing as you use Ajax, using the Ajax on complete event sounds right..

  • like the author of the tutorial says using system expressions left, right, and mid

    https://www.scirra.com/manual/126/system-expressions

    example

    mid("thu apr 03",4,3) would give the text "apr"

  • This is what I had in mind for creating a simple list:

    List-Add-Dictionary-Function

  • >

    > > Sorry again, the Function Plugin :p

    > >

    > > My English.... I just cant!

    > >

    >

    > I thought you meant the function plugin, but I don't understand why it's not possible to use "complex expressions" in it..

    > I do it all the time..

    >

    Make a "How do I : Make a function with complex expressions", and I will make you an example when I get home from work. I will also show you how to use an array with a dictionary so you wont have to cast , and use tokens like you where suggesting to this new user.

    Maybe Ashley or someone else can answer before i am done with my work.

    Really surprises me how many people on the forums do not know about array. They are the backbone to programming. Most people learn about them the same time they learn about Str, Int, and Float.

    Don't worry, I know how to use arrays..

    I also know how to put them inside a container, so you can use them like instance variables..

    For something as simple as a list I prefer using the dictionary object with the possibility of adding to the string by append and creating a visual list with a simple function using tokencount and tokenat..

    I guess that's just personal preference..

  • Sorry again, the Function Plugin :p

    My English.... I just cant!

    I thought you meant the function plugin, but I don't understand why it's not possible to use "complex expressions" in it..

    I do it all the time..

  • You also can NOT do complex expressions in a function like grabbing tokens, you need to have global/instance variables set for the function to be able to access them.

    Could you explain this statement?

    Why wouldn't you be able to do this?

    Maybe you mean something else with "function" and/or "complex expressions", but I haven't run into this limitation..

  • What are the settings you used?

LittleStain's avatar

LittleStain

Member since 26 Apr, 2011

Twitter
LittleStain has 4 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies