yapiiiii's Forum Posts

  • I don't understand what you don't understand

    I will try to explain the condition you was talking about:

    Value at (Array.CurX,0) = figures.whatIam :

    • Array.CurX is the position in the loop, it takes the values 0, then 1, then 2, then 3.
    • 0 (after the coma) is the Y : the values we search are situated in (X,0) in the array, with X from 0 to 3.

    in the condition, we search at these positions

  • and what is the grey square in the middle?

    I think you should add a variable to differentiate all the instances of pelvis, then you could use this variable in the function to place them at different positions.

    An other way to do what you want is the "pin" behavior, which is designed exactly for these situations, I don't know why your pins was lagging.

  • 1. The next time, post the capx instead of a picture, it helps to understand better

    2. don't bump before 24h, personally, I answer at first to topics without any answer

    3. I don't understand the "box is rotate" event, maybe there is an error here.

    4. It seems you have a lot of things called "rotate" : a variable, a behavior, and the action of rotating the box. A capx instead of a picture would really help understand this...

  • that's only a maths problem:

    at first, the scale of your layer "UI" is 1

    then you multiply it by 1.2

    then you multiply by 0.8

    ==> 1*1.2*0.8 = 0.96 different from 1 !

    instead of multiplying by 0.8, you should multiply by 1/1.2 (ie 0.83333333...)

  • You understood well! now you just have to make the pause button work

  • your functions seems well defined.

    Actually, I don't understand what you want to do. How should be the character? how should it move?

  • 3. you can delete the "for each player" condition, the other is enough

    4. at first, I don't understand why your array is 4*4*1, an array of 4*2*1 is enough if you need only to store the name and the number of pickups. But it's not a big deal...

    The variable "collected" is useless, you should put a variable "num_id" instead, to store the column corresponding in the array (0 for triangle, 1 for circle...).

    Instead of "for each XY element", you should put :

    for each X element :

    Array : Value.at(Array.CurX , 0) = figures.whatlam ==> Array : set Value.at(Array.CurX , figures.num_id) to Array.at(Array.CurX , num_id) + 1

    blue is condition, red is action

    I hope you understood, I can't upload a capx. Tell me if you have questions or if it's not working

    [edit] you shouldn't bump your topic to fast, personally, I answer at first to topics that haven't any answers.

  • you just have to create two layers : one for the game, and the other for the pause button and/or other control buttons.

  • I don't have any very pertinent solution but I hardly suggest you to avoid physic behavior when you can. This behavior request a lot of performances and it is hard to make it work well on mobile devices.

  • Actually, I think your code is correct (however, i don't understand the "add 1 to index" action)

    You just have to change the flash values: write "random(0.1,0.3)" instead of "0.2" in the flash parameters.

    The sprites will flash at random speeds.

  • when you create a sprite, you can define its coordinates in the left menu, here you can put integers.

    In the event sheet, you can also define sprite's coordinates by creating an action for this sprite, and select "set position".

    Tell me if I haven't really answered your question, I'm not sure I understood it well...

  • cool!! Thanks a lot!!

  • I had the same issue : I made a pixel game with a HD interface, i still don't have found a solution, then I put it aside

  • I've just tried it! it seems a great software, but it seems there is only rotations animations, right?

    For my project, I need to distort my picture, not to rotate it.

    I guess I will let bushes and grass static, if I don't find a solution...

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • thanks for the reply, I will try