Skvor's Forum Posts

  • 9 posts
  • It works perfectly thank you guys!

  • Thank you,

    I will try this... somehow

    but I fear the invisible sprite might again follow the wrong desynchronised position. Or perhaps not, will see.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hello, I'm having last shot at this

    The game looks nice and is almost completed except this:

    I have a moving monster in background that should be able to detect the player. It has line of sight behaviour. Problem is it moves in paralax scrolling layer (set to 65). But the actual line of sight acts like if the layer had 0 scrolling effect ( like if it was set to 100). This causes de-synchronisation.

    Here is what i tried so far:

    the line of sight is behaviour of the player and the player detects the monster. No change

    tried the bullet movement and custom movement. no difference

    Here is capx so you can see what's wrong if you're interested in helping me

    Red ball is in layer that has paralax scrolling set to 100 and represents the actual position of line of sight

    capx:

    www

    .dropbox.com/s/le9nrk2a74wiizt/a%20problem.capx?dl=0

    edit:

    also I would like to add that any help would be most welcome... or suggestion how to make the game work even without paralax layers. I'm rather hopeless. Thanx

  • oh, haven't notice... fixed

  • The field is the cone of view

    dropbox.com/s/x496uir5b3o6few/roadside%20bloom.capx?dl=0

    thanks!

  • Thank you ossy,

    I've thought about this.

    However, i know the approximate position of the actual line of sight position. I have the idea of where it is and where it should be. It creates a field under the creature and my character gets transparent when he steps into that field. But when I take the creature layer and set lower paralax value, lower than the value of the layer my character is in, the field moves in different speed than the creature. My character is seen somewhere else than the creature is present, and the distance eventually changes as I move around the level. As the displacement caused by the paralax scrolling messes with the position more and more.

    Does this make sense?

    Should I upload capx?

  • Hello, just now I ran into this problem with distortion and wonder if there even is a solution.

    I'm using several layers of paralax background, and in one of the background layers I have creatures with line of sight. Problem is, the paralax movement doesn't apply on the center of their view, nor their actual presence at all in fact. When my player has line of sight, it again notices the position of the creature on place where it would be if it weren't in the paralax layer

    Im using a "bulet" function for the movement of the creatures.

    I tried this. I turned off the paralax effect and I assigned different moving speed of the bullet to the left and right movement keys. But this did not gave me satisfactory results. And The bullet of course behaved differently when I got to the end of the level and camera stopped scrolling.

    thank you in advance for any help

  • You are great guys. This is big help. Thank you both so much for quick response !

  • Hello,

    I am completely new in this program And I have never done coding so I might ask silly question.

    I'm making short hiding game.

    For some time I was unable to find any similar project or topic regarding this problem. Perhaps i was asking the wrong questions.

    I wonder what would be the best way to make these big bushes and other object, so I can go around. I would be behind if above, and walk over when being below. There should be a lot of these object, each functioning also as a protection against line of sight.

    I'm trying to achieve something like this famous game done in GM, except there are no working game mechanics in that one.

    youtu.be/pHAJi8kAPsY

    I would be glad for any direction.

    thank you

  • 9 posts