UltraLion's Forum Posts

  • Thank you, I was able to correct the problem by inserting empty frames, and setting the instance frame first and then recalling the image from the url!

    Now I just have to figure out if having so many empty frames when creating an object is still heavy

    edit

    I have seen that even with empty frames when the object is created the memory occupied is less but still a lot

  • Thanks for the valuable advice, but I have a problem, I have multiple instances of the same object to which to assign different images, so each instance has a variable with the name of the image to assign, if I have only one instance on the screen it displays it correctly, but if I have multiple instances on screen, each instance will change image as if there was a looped animation with all the variable names. Can it be corrected?

    edit I tried to put generate only once when it is true as condition, now the image stays still, but loads the same in all instances ..

  • Now it works perfectly, but I always use every tick to track the position of the object, are there any problems with using every tick? How else can you keep track of an object? Would it make a difference every second?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I changed with

    wait for the previous actions

    now the object disappears for a thousandth of a second and reappears in the desired position, I see it for an instant appear at the top left: D

  • I tried like that

    Every Tick touch touching sprite

    set oldX to selfX

    set oldY to selfY

    set offsetX to oldX

    set offsetY to oldY

    but I did not get the desired result

  • They don't actually go to position 0 0 but move to the offset position that remains in memory, but the problem remains, can't it be corrected somehow?

  • I am trying to move an object with the touch using an offset, it seems to work, but when I release the touch, it is teleported to the top left of the screen, I don't understand why, it is as if it ends up in the offset coordinates, what can i do to prevent it?

    Touch Touching sprite ->

    sprite offset X - Sprite X

    sprite offset Y - Sprite Y

    Sprite Set position ->

    touch X - Sprite offset X

    touch Y - Sprite offset Y

  • The important thing is that when I create these files on the screen it is immediate and does not slow down the game

  • Exactly it would only change the image depending on which one is used, it seems to me smarter to have some objects on the screen with thousands of frames each, more than creating thousands of objects, but I wanted to understand whether to have 10 objects on the screen for a total of 30000 possible frames could create problems for their creation, if it is imperceptible it is excellent

    (I shot high numbers at random just to understand how construct works)

    Thanks for the clarification!

  • Hi everyone I would like to know if there is a performance difference between creating on screen an object with one frame or an object with 3000 frames on one or more animations, but the animation speed set to 0.

  • It seems to me the best solution, I'll try, thank you very much!

  • Thanks dop2000, yours is a good idea, but I would have liked to actually touch only the parts of the character and not the adjacent empty area, in your opinion is it impossible or too difficult to do? I've been using the construct for a few months now

  • Hello everyone, among the models that can be downloaded from the Construct site there is "Skeleton Hierarchy"

    I would like to create a similar character but be able to move it with the touch, but I noticed that if I move the body everything will move, if instead I try to move it from any other piece, only that piece will follow my finger, detaching itself from the body, there is a way to make sure that wherever I take it everything always moves?

  • I understand, unfortunately I don't know how to use javascript, I approached construct because I find it difficult to write codes but I really enjoy creating games, thanks for the explanation!

  • Hi thanks for the answer, I played a minute with this fluid simulation, it looks different from the classic slime games found on the playstore, it's a similar concept but I'm not sure they are made the same way.

    In theory, is a game like this on construct still possible?

    youtube.com/watch