dop2000's Forum Posts

  • You do not have permission to view this post

  • In NWjs export you can change window title with NW.js object.

    In a web game this may be possible with scripting.

    document.title = "This is the new page title.";
    
  • Can you explain the task?

    Do you need to set one random frame to all instances? (say, frame 4 for all)

    Or random frames to each instance, without repetition?

  • You do not have permission to view this post

  • You need to pick the right spawner instance inside the function. Add another function parameter - SpawnerUID. Pass Respawn.UID when calling the function. Inside the function use "Respawn Pick by unique ID" condition.

    Or you can set "Copy picked" in function properties, then they should inherit the picked scope.

  • You want the frame to be the same for all instances? Then assign it to a variable:

    set r to random(sprite.animationFrameCount)

    Sprite set frame to r

  • You do not have permission to view this post

  • For example, when I pick by IID, if the IID exists then all the sprites will be picked.

    I believe the problem is not with picking. When you load an image into a sprite, all sprite instances receive the same image. If you want to load different images to different instances, you have to use multiple animation frames. Say, if you have 10 sprites, create 10 empty frames and set a different frame for each instance.

    By the way, if you want to pair each canvas with a sprite instance, you can add them to a container. This will simplify picking, creating and destroying.

  • Yeah, the site is construct.net haha

    You can upload your game to the Arcade:

    construct.net/en/free-online-games

  • BaconSwagg Good example! But since tile index is zero-based, the loops should end at Tilemap.MapDisplayWidht-1 and Tilemap.MapDisplayHeight-1

  • You do not have permission to view this post

  • Check z-elevation, it may override z-ordering.

    And make sure there are no other events which can change z-order.

    I can't think of anything else that can cause this problem.

  • So what exactly happens? The page crashes, or the editor displays an error?

    Try incognito mode or a different browser. Try unpacking the C3P file into a folder and opening it as a folder project.

  • No, the mask should have opaque pixels to work. But with the right blend modes it will be invisible to users.