MultipleChoice's Recent Forum Activity

  • Vaidd

    I made this for another thread, mixing up letters of a word and mixing in "fake" ones. Check it out, it might help you too...

    The randomizing principle can be exactly the same in your case.

  • It is way simpler if you do "Pick Nth instance" (System expression) then in your case pick 2nd (your limit).

    You can say "if pick second is not true" > "spawn" (a second) object

    thus never having more than two instances in the first place.

    If you need them to be there first, but then destroyed, do the same with "pick 3rd instance" > if true destroy. So you will always keep two instances of your object.

    I hope it helps.

  • Allardje:

    I made you a simple demo of the principle...

  • Hi,

    can anyone help me to understand, how to use "set return value" and then "if function return value is"?

    I don't exactly get, how that works. is it like a waiting state? I imagined, you can call a function, an then use the return value in the following code, (like await signal or as a variable) but that does not seem work the way I thought at least. I also don't understand, how the code knows, which functions return value I mean and so on... I'm quite sure it is easy, but sometimes your mind takes a wrong twist.

    I could not find any lecture on that, please give me a link or some advice or an example.

    Thanks in advance!

  • @Vanz: Do infinite scrolling e.g. like this

    Then Spawn the Floortiles limited to the screen height, random in size - similarly, as I did with the presents, then spawn the random objects.

    Of course you need to do it infinitely, ahead of your current players screen. But I would not spawn them, just move them from behind to the front, avoiding too many objects and spawning.

    If you have a rough capx of your idea, I can take a look. Don't just let us do the work...

  • Try Construct 3

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

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

    A very great plugin, definitevly should be developed more - it is performance and quality-wise a great tool.

    I have problems with changing any attributes though, can you please take a look? I just want to change the circles size and color, but I don't manage anyhow.

    Anyone who can help me out there, please take a quick look.

    Thanks

  • Vanz

    All right man, after your PM I took a quick attempt. Obviously, there are many many different ways, this is just an example... difficult to know, what you exactly need -- that might be the reason, why not many people started to help you, I guess.

    But there you go bro, have fun, I hope it helps you out!

    Good luck.

  • blackhornet : ok man, I got it... thanx

  • No there you have to count too much.. I now think of len(), i tried that, but that also needs a loop to fill up each missing character at the end with a 0.

    Still looking for a more effective solution!

  • Still, I just came to an idea: It might work if I do it for each digit! If no other solution comes up, I will try that. But maybe there is a simpler way?

  • blackhornet

    Thanks, but that does not help, as I described:

    "The clock-solution does not work here, since there you always fill up zeroes from the left."

  • Hi,

    I'm looking for the simplest way to display a constant number of digits on the display, also decimals.

    "Zeropad" does the trick before the dot, but I need to fill up the decimals from behind. (The clock-solution does not work here, since there you always fill up zeroes from the left.)

    Examples:

    00.00 (= Returned Value: 0)

    01.00 (= Returned Value: 1)

    01.10 (= Returned Value: 1.1)

    01.11 (= Returned Value: 1.11)

    BEST would be a solution, where no calculation is needed (like Zeropad) to save CPU.

    Grateful for some advice

MultipleChoice's avatar

MultipleChoice

Member since 25 Oct, 2013

None one is following MultipleChoice yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies