Mojobojo's Forum Posts

  • 15 posts
  • I genuinely don't know what I am doing wrong. I use the exact same code with the exact same sprite size and origin point. I at least now know that when I up the edgeDistTolerance to 17 or higher then ledge grabbing while facing left works. The issue with that is that it raises the edgeDistTolerance for both facing left and right and makes everything get confused when I press left while facing left and grabbing the ledge.

    Someone please help I'm going insane.

  • Does it not pull up your file explorer? I’m still confused as to what the problem is.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you send screenshots of what you are trying to click?

  • Hello, I am currently trying to make a 2D platformer racing game and wanted to include some parkour mechanics. One of those mechanics is a ledge grab. When looking for one, I found Foozle CC's video on a platformer state machine, which contained exactly what I needed.

    I watched that video three times to try to understand the code he had before downloading the example project so I could try to recreate it.

    Now I have almost the exact same code on my character as he has on his but for some reason my character doesn't grab the ledge when facing left and when it does grab the ledge when facing right sometimes it will float above the level instead of staying in place next to the ledge.

    I have created a sample project with my character and code and Foozle CC's character and code in the same level to show my problem. Thank you to anyone who can help me.

    Here is the sample project https://drive.google.com/file/d/1YyqaSQoN4wvrE6H_cIyAGTJ57LoqX4TQ/view?usp=sharing

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

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

  • 15 posts