oosyrag's Forum Posts

  • Collision filtering with tags is not available in construct 2.

  • You can with tokenat, tokencount, and loopindex fedca. But OP didn't want to name all of them.

  • The solid behavior has a 'tag' property you can set, or you can use the 'set tag' action.

    Then use the 'Set solid collision filter' action on the sprite you want to be affected only by that solid with the same tag.

  • Z-level is a pseudo 3d feature, allowing objects to appear closer or farther from the 'camera'.

    You may be looking for z-order or layers, to have them on the same plane, but appearing in front of or behind each other. There are system and common actions to all objects to work with z-order or layer.

  • On click, create sprite at Mouse.X, Mouse.Y.

    You can add a fade or timer behavior to the sprite object to have it automatically fade or destroy itself after a set time.

  • It's not a big deal in this situation, but as a general good practice don't let any event run every tick if it doesn't need to (event 5).

    Basically your objects don't need to change unless sprite.cows changes, and sprite cows will only change on user input.

    So in this case I'd probably make it a function that gets called as an action in events 9 and 10.

    Normally though, I would put the whole thing as a subevent of a trigger if I could, similar to what I did in my example.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If it's greyscale, you can loop through each snapshot pixel again to apply the conditional clamp. Use any of red/blue/green since they should always be the same in greyscale. Set snapshot pixel SnapshotRedAt(x, y)>50?100:0 for each color, or set an intermediate local variable to make it cleaner.

    Alternatively, you can simply use the blackwhite layer effect.

  • Make an account and give them the password.

    Or contact supporttgo@construct.net with your request.

  • Sounds like you already know how to do it?

    Change the set value action in event 4 to:

    Set Value to AdvancedRandom.Classic2d(x1,y1)>0.5?1:0

  • 'Initial Frame' in object properties.

  • This information would go well in a small tutorial, otherwise it will probably be difficult to find in the forums in the future

  • Your issue isn't clear to me. What do you mean by clamp colors?

    Perlin noise is a gradient by nature, why are you drawing a gradient instead of the actual value at each coordinate??

  • Is there a particular reason you have to create and destroy your interface objects? Based on your requirements only, here's how I would do it.

    dropbox.com/s/wm6xq42irqgakks/buttonstates_example.c3p

  • There will always be an arrow. Every time you click, the old one will be destroyed and a new one created in the correct direction.

  • Your scroll to object might be on a layer that has some parallax set. Try removing parallax from all your layers and see if that helps.

    Or you might just be using lerp very wrong.