UltraLion's Forum Posts

  • Hi I don't have construct 2, but if the fade is like that of construct 3, set the first 2 parameters to 0 and the third to X seconds, depending on how long you want the fade to last

  • UltraLion

    Can you tell how I can do it using physics?

    Hi, unfortunately I don't have the ability to use the behavior of physics, it's not something you can find examples of, I don't know how to handle it.

    But with the method I suggested, the movement is always perfect at the same height. Do you want to create a game like Pang?

  • Hi, if you don't need to use physics, but just want the ball to bounce, you can use platform behavior on the ball, simulate right control to make it go right and jump control when it collides with the floor

  • Hi, these Christmas days I've been a little busy, but thanks for the example

  • Thanks, why do you say it's better to make one with sprites? What's missing from the Construct bar?

    With sprites I know I think I could easily create the movement, but how can I say that as I move the sprite it increments the value variable?

    EDIT Maybe I can use the distance to understand how far the sprite has traveled and assign a value to the variable

  • I have not found any example to personalize the scrollbar, can anyone post one please?

  • In both cases they will be different images on the sprite sheet.

    In the second case, you don't have to make a second animation, but just mirror the first one.

    Yes, I know it can be mirrored, but I wanted to know how Construct worked, thanks for the explanation!

  • In these 2 cases, does Construct understand that it is the same image and will it count as one in the game, or does it see them as 2 different images?

    1) I have 2 sprites in the layout, both with the same image, but one has it in its animation while the other takes the same image but imported into the game as a File

    2) In a sprite I put the same image in 2 different animations, but in one the image is reflected

  • Ok I did it, thank you very much!

  • Thanks for the accurate explanation, unfortunately as I imagined I lack the notions of mathematics and I only understand the theory a little. XD

    Sorry if I take this opportunity to ask you one last thing, I noticed that if I reflect the sprite and then try to enlarge it, it is reflected again as it was originally, is there a simple way to avoid this?

    edit actually in the second way I can understand everything better, I will try to create one like this too, but to keep it in a code the most compact one is better

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Like I said it's perfect, but I tried to understand the code and I couldn't, could you explain to me what's happening? It's probably a question of mathematics that I don't know?

  • Absolutely Epic! Thanks so much R0J0hound!

  • I did an example like this for someone, you can scale the sprite there.

    I think this will show you the way.

    File c3p

    Thank you very much, it's not exactly how I wanted but it's a good start to work on it, I ask you one thing, at the moment when I release the touch the object remains enlarged, when I go to change the size again but it goes back to how it was originally to start editing from how I left it, do you know how this could be resolved? I can't find a way to see the actual scale value of the sprite, or to pass it into a variable to keep it stored

  • Hi, I would like to resize the sprites in game by dragging the corner of the sprite while maintaining its proportions, as you do in the editor by holding down Shift, does anyone know how to do it?

  • Thank you very much for sharing the tutorial, yes if you drag the images they become frames of a single sprite, I meant that if you go to the File folder, right click import images, it makes you import more than one as separate files, but they are not created as well sprites automatically, so I don't know if you could have used them for what you needed anyway