mongoose665's Recent Forum Activity

  • Hey everyone, I'm stumped by something that's got an insanely easy answer, I just can't seem to find anyone answering it.

    Basically I have four boxes, when you click each one you add 1 to an instance variable, meaning you need to click all four to get to the next event. However, if you click the same box four times, it gets the same result, how do I make it so that a box will only add 1 and after that will not contribute any more to the instance variable? Thought the trigger once while true would help but I guess not.

    Sorry for such an amateur question

    Thanks!

  • Try using the System>for each. so it affects one instance not all of them. Had the same issue the other day

    How would I go about using this? I assumed this would work: postimg.org/image/ei0jmihyt

    But it just makes it so none of the boxes become visible at all?

  • Hey everyone, I'm pretty new to Construct 2 and have ran into a problem.

    Basically I'm duplicating a blue square, and I want it so that every time you hover over one it appears visible. This is fine, until I drag the cursor quickly over more than one making multiple become visible at once. This is because the cursor runs over Square1, making it visible, then runs over Square2, which, being a duplicate, is still the same object, meaning they both stay visible. I want it so individual ones are affected. I'm not sure how this works, as I'm sure if I put them into a family then all squares would become visible once I go over one, so I'm unsure of what to how to progress.

    Any thoughts?

    Thank you

  • Did you set default controls to 'No' in the 8Direction/Platformer properties for the objects that you don't want the player to control with the keyboard?

    Edit: I downloaded the capx. There is something weird going on there.

    It took a while to spot the problem. Make your swordselect sprite visible and you'll see what's happening

    Thank you so much, wow! That's some great detective work. Really appreciate it. Is there any way I can give you a medal

  • I've only just started working with Construct 2 and ran into a huge problem that has basically halted the progress of my entire game. Whenever an 8Direction or Platform behaviour is attached to another object other than my player, it has some very strange movement behaviour, moving with my player's camera when it hits the edge of the frame and usually stopping completely.

    Seriously have no idea what's going on and close to giving up as I've tried everything

  • You don't have enough rep to link stuff yet so I can't see anything you posted, unfortunately. This is just a guess and I'm probably way off base, but are your camera controls mapped to the arrow keys? If so, you'll want to make sure default controls are turned off on your 8 Direction object's properties, because that's also on the arrow keys. That's the only thing I can think of without seeing anything.

    Have enough rep now, posted links in original post. Realised today that this also applies when I put a platform OR 8direction behaviour on an object other than my character, very very odd, still can't get my head around it and it's pretty much stopped all progress I've made... Ready to give up

  • You don't have enough rep to link stuff yet so I can't see anything you posted, unfortunately. This is just a guess and I'm probably way off base, but are your camera controls mapped to the arrow keys? If so, you'll want to make sure default controls are turned off on your 8 Direction object's properties, because that's also on the arrow keys. That's the only thing I can think of without seeing anything.

    Ah damn, I didn't know about the rep thing! Unfortunately I don't think so, as my camera is scrolling to my character, which is using the platform behaviour (and using WASD instead of arrow keys). Is there any other way I could get a video link over to you or download link on here? Thanks for getting back so quick.

  • Hi everyone, I'm very new to Construct 2 and only just getting the hang of things. Basically, whenever I apply the 8Direction behaviour to an object and make it move every tick e.g. simulate move left, it all works fine, but then suddenly seems to move in a really odd manner in the same way my character's camera moves... No idea what's going on, tearing my hair out... You can see it in action here with an object that simply goes left (and wraps around the layout). youtu.be/5SZB0Vrz_aQ

    Here's a download link to the capx file, with the problem being with level 3 and event sheet 3:

    bit.ly/1PJS02N

    Many thanks, guys

  • [quote:c9uhxeii]

    Hey friend, you can't put URL's in here because you're new... Try to break the link like site(.)com

    mega(dot)co(dot)nz/#!PQ0DyIpT!FtEEl8VR0-dXtLPCxmC03xTXjWEiVBMJ0aUL8tWV_Wo

    Hopefully that works, thanks!

  • [quote:2myrcdin]

    Here my friend a solution for you... I've made right now and worked like a charm, maybe this can help you!

    and the .capx

    Hey, thanks for that, it has helped a bit. If you can open my project, there's a copy here- The whole reason I'm trying to do this is because if you use the A attack in game and move side to side with the arrow keys, the whole sprite continues to accelerate, even though it should come to a stand still when the animation ends... I've tried everything, setting speed to 0, acceleration to 0 at end of animation etc...

  • there is an action "set ignoring input", which might be of use here?

    Thank you . I tried implementing it but it doesn't seem to work. Basically what I need it for is I'm adding acceleration via custommovement when a certain attack animation happens, this makes them fly forward. But if I happen to press in the opposite direction mid attack, the character acceleration continues even after the animation, making my character slide off in one direction.

    Here's what I've got for the attack, with the implementation of set ignoring input seemingly doing nothing:

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • [quote:2pzxoow2]Simple mode... You can create a variable called "canMove" with value = 1... Then add to change direction controls (On press) AND (canMove=1) moves the character.

    Then (On Press Key) to your animation that blocks the movement, canMove=0.

    OBS: To add another condition for an event - RIGHT-CLICK it>add>add another condition>system>compare variable

    You can improve this... Just an idea friend. bye!

    Hey, thanks for responding! This is what I had in mind, unfortunately I can't seem to find the change direction controls for the character as seen here - [http://tinypic.com/view.php?pic=2qda7fq&s=8#.VX47UvlVhBc]

    The current controls are copied from Scirra's tutorial on making a platformer, so I don't really know how to alter them into usable keyboard controls to place the CanMove variable on them?

mongoose665's avatar

mongoose665

Member since 12 Jun, 2015

None one is following mongoose665 yet!

Trophy Case

  • 9-Year Club
  • Email Verified

Progress

10/44
How to earn trophies