Aphrodite's Forum Posts

  • Don't have C2 right now so I only rely on the manual

    You need to set the parameter of the bullet behavior "set angle" to no, then you can rotate it as you wish without affecting the trajectory

    Set angle

    If set to No, the behavior will never change the object's angle. If set to Yes, the behavior always sets the object angle to the angle of motion.

  • non Static are reset the next tick, it can change via events or actions, it will simply reset (this can be useful if some cases even though I don't use them much at all).

    Static can change and will keep the new value until being changed again by an event and only then, they won't reset to their default value.

    a constant is useful for organisation, instead of using the number, you use the constant in all the expression that requires it (a speed for exemple) so you just edit the value once and it becomes relevant to all actions that uses them.

  • You should have tags with your sounds and music, doing so you will be able to check if the music is already playing before playing it again, or stopping it before playing it again (heck, it might even solve the issue by itself as I think there can be only one sound playing with the same tag at a time)

  • you can also use the expression Function.Call() which will trigger the function and return its value in the expression

    "Function expressions

    Call

    Call a function directly from an expression. The expression returns the return value that was set in the function, or 0 if no return value was set. Additional parameters can optionally be added after the name of the function, e.g. Function.Call("CreateEnemy", 123, 456)."

    https://www.scirra.com/manual/149/function

  • https://1drv.ms/u/s!AjkoCSebIn9Jhyrw1XSHsxj7TUFH my personnal way of doing it, with maths, and as you guessed, sinus was of use.

  • I would say yes but it would need careful designing.

    As for people making their own levels and sharing it apart from maybe using their own textures I don't see an issue.

    Keep in mind C2 might not be the best program to achieve that though.

  • deleting the offline.appcache also solves it but makes the game not work offline.

    there is a tutorial to support offline mode (and so refresh when needed): https://www.scirra.com/tutorials/70/off ... onstruct-2 .

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't have C2 now, but using the condition "is on screen" to filter instances then retrieve the character.pickedcount should work

    https://www.scirra.com/manual/131/common-conditions

    https://www.scirra.com/manual/133/common-expressions

  • Programmer3000 no, it is just super mario bros. but with other characters from the nintendo franchises.

    http://explodingrabbit.com/games/super- ... crossover/

  • Well one way would be to set linear sampling and to have a pixallate effect of 1 on the background, not sure how efficient it would be though.

  • IIRC It did not get updated in quiiiiite a long time, I am not even sure it works as it should currently, IIWY I'd watch towards third party plugins or the facebook API and execute javascript actions and expressions.

  • "-Object A on trigger

    -- Object A Boo1 = 1, for each Object A, Object A Boo1 = 1, Pick Object B by Object A. Variable"

    a Pick all instances would be needed before checking if boo is equal to one if you want to apply it to all objects, unless I did not understood fully

    https://www.scirra.com/manual/124/system-conditions

    Must admit I didn't understood exactly what you wanted to do though so I may be irrelevant

  • Nothing that I asked in this post can be found in the Manual. I asked for a formula or for a built in expression. It wasn't in the manual so I wasn't sure, plus sometimes someone doesn't know how to look up what they don't know. When rounding 5.5 is in the middle and can technically be rounded up or down. Was asking if Ceil and Floor was hard limit or not. 5.9 and 5.9999 are different. One has 10% missing while the other has .0001% missing.

    Sorry for the quite useless input, but rounding 5.5 will give you 6 for equity purpose

    5.0;5.1;5.2;5.3;5.4 gives 5 after rounding

    5.5;5.6;5.7;5.8.5.9 gives 6 after rounding

    also I think int gets the integer part of a number, which is different from floor for negative numbers.

    also, you shouldn't really use int on strings, it works in the case you described but this is more an "thing that happens" rather than a feature

  • I changed my avatar to a picture of Amaru from the animated series called Lolirock, I know I shouldn't like that show but I like it.

  • Super mario crossover was a fun game I liked when I still was using a computer, basically mario 1 with other nintendo licenses characters (pit, samus, megaman, link, the blaster master vehicle, etc..), fun time