Mojobojo's Recent Forum Activity

  • The turret behavior is rotating your sprite toward its target. You simply need to uncheck the "Rotate" box in the properties panel.

  • I am currently working on a co-op game using the 8Direction behavior, and I want the two players to be tethered together. I found an old forum post from Construct 2 on this topic, but the image that used to show how to fix the problem is no longer available.

    The gist of what I am trying to do is I have two characters and I have a chain of lightning linked between the,. I want that chain to stretch up to 300 pixels after which the characters should not be allowed to move any further from each other.

    I know I can detect how many pixels away the characters are from each other by using distance(P1.X, P1.Y, P2.X, P2.Y) but I cant think of how I would make it so that the player can only move in a direction that would make the characters closer together.

    If anyone can help me that would be highly appreciated.

  • I was thinking about that but as you can see by my example I'm using a semi-transparent layer to emulate darkness so if I spread out my light sources they won't cut through all of the darkness. I am going to look into sub-layers but I'm not sure if I can use destination out to affect the parent layer or not.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Do you think there could be a way to use the first link to create several light sources?

  • dop2000 Thank you for the response, I'll have a look at those first two links asap I have looked at the stealth game example but I wasn't sure how to use a pasted sprite to replicate what they were doing.

  • Hello dop2000 sorry for the confusion here is an example capx

    https://drive.google.com/file/d/1P026sYQ0khqBo850CfVE5OFP0ifECROm/view?usp=sharing Basically I have a light that I want to cut off when it reaches walls. I am making a stealth game and think it looks weird when a guards flashlight goes through walls. Thank you for the response.

  • Can anyone help me with this?

  • Hello, like I said I have a sprite that is on a black layer that is not transparent and that is set to 80% opacity. On this layer, I have a large circular sprite that has a destination out blend mode so that it looks like a spotlight cutting through the layer letting you see under. What I'm wondering is if there is a way to cancel out the circle's destination out blend mode using another effect or blend mode. I have been trying to use destination atop on a mask but you can still see lighter areas on that mask. All ideas are appreciated.

    Tagged:

  • Thanks I’m pretty sure that’ll do

  • Hello folks, I'm wondering if anybody knows how I can use the pick nearest in a way that only picks the nearest object if it has a Boolean marked as false. My situation is I'm trying to make a fire spread from one leaf on a tree to the nearest leaf that isn't burning as long as its within a certain range. Is that possible?

  • Im trying to figure out Json because I know it'll be a big help to me in the future but im completely lost can anybody enlighten me.

    The text should go in the text box on the right, Ive never worked with Json before so all feedback is good feedback!

Mojobojo's avatar

Mojobojo

Member since 5 May, 2021

None one is following Mojobojo yet!

Trophy Case

  • 3-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies