justifun's Recent Forum Activity

  • Can you show some more screenshots of how it looks setup ? Do you simply call it by pressing a button? or does it embed some sort of widget into your game?

  • I put a copy on my dropbox

    https://dl.dropboxusercontent.com/u/403 ... sprite.zip

  • rexrainbow - awesome behavior!

    I also like how if you are moving the boundary that the objects stay locked inside.

  • sounds cool jayderyu

  • Is there a way to tweak this effect so that it keeps how its showing the background through the particles, however it doesnt make everything else black?

  • So i'm having troubles trying to recreate a specific look that you sometimes see in animations.

    The effect i am going for is that of a watercolor painting, where the character act's as the mask for the paint layer below it.

    This is a bit different than simply coloring the sprite like a watercolor image.

    The desired result is a look of the character moving through the image of paper.

    I've been playing with all of the different layer style with no luck.

    When i create a layer with a full image of watercolor like paint, then put another sprite on top of it, and use destination out for example, I can see through the image mask, however the transparent parts of the player sprite show up as a black negative space.

    Any ideas?

  • ovirta - can you add a trigger such as "on spline path finished"

    thx

  • Lets say you are making a bullet hell shoot em up, and you are making your ship fly through an environment (instead of simply scrolling the background art).

    If the ship and enemies are shooting, the bullets all drag behind, because they arn't taking into consideration the forward momentum of the movement through the environment. Is there a way to add that forward velocity to the bullets so that the shoot straight at the player?

  • So upon further investigation it appears its related to the difference in parallax between layers and needing to dive into using LayerToCanvas

    Here's an example tutorial / capx that really helped me understand it better.

    https://www.scirra.com/tutorials/1167/l ... er-example

    I dont know if its the easiest/cleanest solution but heres one workaround for my setup.

    Create a dummy object on the 0,0 parallax layer and position it overtop of the target using the code from the example. eg:

    set dummy target position = CanvasToLayerX("UI",LayerToCanvasX("level", Player.x, Player.y) ,LayerToCanvasY("level", Player.x, Player.y))

    this creates an object for the turret to aim and shoot at on the same layer as itself, but it follows the position of the object on the layer below.

    again, if anyone knows an easier or cleaner way around this, please let me know.

  • Here's an example capx

    https://db.tt/QmP6yRL7

    I have an object on layer 1 with no parallax that is acting like a turret.

    Its target is an object that is moving through the scene with a scroll to behavior on it.

    The turret object successfully tracks and shoots at the target but after the target starts to move away and the scroll to starts tracking , while "visually" it appears within range of the turret, the actually X.Y of the target is outside of it, and therefore can't shoot at it anymore.

    SO..... is there a way to keep the turret object able to keep aiming at its target with a 2 layer system like this? or do i just need to put them on the same layer and keep them parented to the camera so that all objects update together and therefore never get to far apart?

    Thanks

  • There's also a plugin called "Tiled Sprite" which combines the power of a sprite and tiled BG together. Allowing you to have cool things like animation frames in a tiled bg. check it out.

    But to scale it, you'd probably have to do as colludium suggested and scale the layer instead

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There was a new "Double Jump" and "Jump Sustain" property added to the platform behavior

    Setting "Double Jump" enabled will allow the player to jump twice. easy and simple

    setting Jump sustain is how long the player will continue to jump higher while still holding down the jump button.

    from the window "The new Jump Sustain, in milliseconds to sustain jump velocity for"

    just add them to your jumping parts of your game.

justifun's avatar

justifun

Early Adopter

Member since 9 Oct, 2012

Twitter
justifun has 3 followers

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

19/44
How to earn trophies