dop2000's Forum Posts

  • Please read the quote from the documentation again -

    You can't directly change object's angle, position or size if you want it to interact properly with other physics objects. You also should not use behaviors like Tween or MoveTo. Use only Physics actions - set velocity, apply force, set angular velocity etc.

  • If one key is created each day, how do I call all the keys on start of layout?

    + System: On start of layout
    -> LocalStorage: Get all key names
    
    + LocalStorage: On all key names loaded
    ----+ System: Repeat LocalStorage.KeyCount times
    -----> Text: Append LocalStorage.KeyAt(LoopIndex)
    

    Would that be too many on a single mobile device?

    If it's an app, it should probably be fine. Unless you are storing huge images in each key. You can run a stress test - save 2000 keys and see if there are any problems.

  • Did you set its type to "Text area"?

  • You need to use raycasting feature of LOS behavior. See this official example:

    editor.construct.net

  • Looks like something has happened to many icons and other images on the website. My avatar disappeared, I had to re-upload it. And now I noticed that the icons on the Manual page are missing too.

    I wanted to upload a screenshot, but it also not working!

  • Physics is not compatible with Solid or other behaviors, see the official documentation:

  • the Greenworks/Steamworks condition "Is running on Steam Deck" doesn't work for me, but I've found a workaround:

    Perhaps a better solution would be reporting it:

    github.com/Scirra/Construct-bugs/issues

  • However, I do know that the dev for Repella Fella was able to get it working.

    Are you sure that the achievements are working in Repella Fella?

    I will try not packaging the assets, thanks!

  • Has anyone managed to get it working? I have the same issue:

    NWjs 75 + Steamworks 1.50 + GOG Steam SDK Wrapper 1.50, the game crashes on startup. This only happens when GOG app is running.

    NWjs 82 + Steamworks 1.58 + GOG Steam SDK Wrapper 1.57 (they don't have 1.58), I get this error:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • No worries!

    You can probably get image directly from AJAX into BinaryData. But this is risky, because the image file may be too big. It's better to paste it on a canvas with fixed resolution.

  • Here is an example of saving one image to Local Storage:

    dropbox.com/s/2ejptq8tlgl57n0/DrawingCanvas_SaveLS.c3p

    If you need to load an image from file, you can load it into a sprite first, then paste on the canvas.

  • Why did you assume the same code should work? If you need to display the left part of the string, you need something like this:

    left(text, find(text,"fish")+len("fish"))

  • Object.AsJSON returns a string of text. You can store it in an array as any other text.

  • Arrays can store numbers or text, they can't store objects.

    If you want to store a bunch of properties in order to recreate the object in the future, there are two ways to do this:

    1. Use a 2D array and save each property in a separate cell. For example, set array height to 4 and save Player.X, Player.Y, Player.health and Player.armor

    2. Save Object.AsJSON string. Then to restore an object with all properties use "Sprite load from JSON"

  • See this post

    construct.net/en/forum/construct-3/how-do-i-8/rgb-values-colorvalue-157562

    Also it's better to ask JS-related questions in this subforum:

    construct.net/en/forum/construct-3/scripting-51