dop2000's Forum Posts

  • You probably need to do the same with the Random function - pick Respawn instance by UID.

    I don't really understand why you need those functions. You can spawn new monster directly in event #1

  • Then setting a random value to a variable should definitely work.

    On start of layout:
     Set r to random(sprite.animationFrameCount)
     Sprite set frame to r
    
  • Or maybe try spending more than 5 minutes looking for a solution before giving up :)

  • You probably need to make a bigger layout. Or change the expressions.

  • 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 can add both objects to a family.

    Or just modify event #4:

    set minX to min(player1.x, player2.x)

    set minY to min(player1.y, player2.y)

    etc.

    Obviously you won't need the "for each" loop since you only have one instance of each object.

  • 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

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

    What do you mean by that? Personally I hate ads and wouldn't add them in my games, but looking at the IAP plugin, if this plugin would be working on web, and not just mobile, I would already be very happy. Or am I missing something?

    The official plugin still doesn't support subscriptions. It's lacking some other features, which are present in Chadori's Billing addon - product verification, receipts, promocodes etc. And yeah, both plugins are for mobile only.

    I don't know if it's feasible to support all those AD networks. But none of the publishers we were working with used Admob for ad mediation.

    I totally agree that Scirra should collaborate with big addon creators like Chadori or Mikal - perhaps give their addons an "official" or "recommended" status, provide support and ensure compatibility.