igortyhon's Forum Posts

  • To my shame I couldn't do it in one event.

    I manage to generate either top and bottom or left and right.

    Then the enemies fly to the center.

    I must be getting old :(

    x=random(ViewportLeft(0),ViewportRight(0))

    y=choose(ViewportTop(0),ViewportBottom(0))

    -----------------------------

    x=choose(ViewportLeft(0),ViewportRight(0))

    y=random(ViewportTop(0),ViewportBottom(0))

  • I'll rewrite it now. I didn't immediately understand the question.

  • x = ViewportRight("game")+random(10,150)

    y = ViewportBottom("game")+random(10,150)

    Instead of "game", substitute the name of your layer.

  • Example file dropmefiles.com.ua/en/KDwvTfG

    You can do validation before uploading.

    This will reduce the number of unnecessary downloads.

  • You can store not the key itself, but the hash of the key. Then the attacker will have to brute force the key.

  • I see, so the topic starter was talking about the system where we save the scene state, I don't use it at all, it's only good for something primitive.

    Only local storage and it works fine.

  • The native System | Save Game is pretty bugged, but for small project it works well.

    Maybe you just don't know how to use it properly?

    Local storage allows you to delete an individual record or clear the entire storage.

    Why go down to the file system level and meddle with browser files. Not all users will be allowed to do this by the operating system without additional settings.

    I will say more, I as a user do not want games to be able to delete or change anything in the files of third-party programs, especially the browser, through which now comes a large flow of personal data.

  • Example file

    https://kibaga.org/c3-example/file_uploads/index.php?file_name=../button-switch-on-off-r358.c3p

    I recommend using hierarchy in conditions so the code is easier to read and understand.

    Here are two variants of the switch.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • "Mesh distortion" - you can see it clearly in this example.

  • Sure wish Construct Forums would let me edit my posts... This is the second time I have to delete a message. Here is the new world I'm trying to build the new movement on to make sure that it isn't interfering with anything else.

    https://pixeldrain.com/u/ajdWvmQB

    Here is a screenshot of my version of your suggested code which I cannot get to function (neither idle or mirroring is working). Thank you so much for being patient and working me through this!

    Can't you see that you've broken the hierarchy and you've got everything checking 60 times a second again.

  • Check plugins. Sometimes there is an error during their initialization at startup.

  • Hi, you have a cool style of graphics, I love it!

    Let me tell you about your screenshot first.

    If an event doesn't have a green arrow, it is already repeating constantly and you don't need to add "every tick" to it.

    And wait for "0,1" you added in vain this event will run about 60 times per second and constantly it will try to wait.

    Now for my suggestion. I believe that the change of animation of movement can be carried out not so often to save resources.

    Variable "AnglHero" I added that in the debugger it was convenient to see the angle of rotation. You can check the angle without it.

    pixeldrain.com/u/ZGSEhRDx

  • Maybe there is a game where such a joystick as you want or there is a video or drawing. The task is unclear.

  • 1-You can put an invisible physics object on top of a tile map and the box will hit it.

    2-You can create a fall using bullet behavior.