Sandftw's Forum Posts

  • 11 posts
  • If this is not possible then I'll delete this post. I was just wondering if it was possible to have the layout restart at a different position rather than recreating the character itself.

    The reason why I can't create a checkpoint that spawns the Player in a different area, is because I have different player instances pinned to the player and once it is spawned, the game glitches out.

    I should also mention that the player has other players pinned to it, so again once the Player is created, the other players glitch out.

  • I have an issue to where whenever a Player is crouching, and then they are moved left or right, they begin to slide.

    Since it's a Platformer, I have the Player on a Platform behavior.

    Right now I'm using the D-Pad to move the player.

    I added a crouching animation, and it is simulated when the d-pad down button is pressed down.

    However, if the d-pad buttons left or right are pressed while the d pad down button is down, then the Player begins to slide back left or right on the Crouch Animation.

    I tried having it to when the D-pad down button and left and right buttons are pressed, it will ignore the platformer behavior but it doesnt work.

    This is what it looks like!

    Help would be very much appreciated, I've been struggling with this problem for a bit.

    -Dell

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I can't get my enemy to stop flipping upside down?

    i thought if I set it to mirrored he would flip to the other side as he follows the player, however, he stays flipped to one side when the player is to the left of him, and when hes to the right, the enemy flips upside down completely.

  • For those that are more visual learners and need it, I made a capx .

    Once again thanks GenkiGenga!

    https://www.dropbox.com/s/qyfdlmoct78d6sy/MultipleCharacterSwap.capx?dl=0

  • THANK YOU SO MUCH.

    Ah, I forgot about the invisible player pinning method. Gosh, Construct is simple to use but if I don't keep working at it, then I'll forget behaviors and actions.

  • Hey Sand.

    Still can't see your links but what I recommend is to have 2 global variables "PartyTotal" and "PlayerSelected" and an instance variable on your characters : "Player".

    On space pressed -> Add 1 to PlayerSelected and pick the player that is equal to this number to focus on. If the player selected number is greater than the total, you can set it back to the lowest number instead before picking.

    While this does solve the ability to pick another character, is there a way to just press the spacebar and then have another character change places with the first spontaneously?

    I tried a different method of spawning and then destroying, but when I try to go to the first character, there are duplicates.

    Thanks.

  • I found a solution, but I will also try this!

    Links aren't showing up because my rep is very low.

    Thanks yo!

  • crap, nevermind, I dont have a high enough reputation to post urls.

    Here's what I did.

    So again, I can go through each character, but I cant go back to character 1

  • hmm I tried it, but then I'm unable to cycle back to character 1

    here is my file: For time's sake, I am using the tutorial from above, and I tweaked the behavior's to spawn the new character and then destroy the old one.

  • Hello! So, what I would like to do is have the ability to toggle between three characters with a click of the space bar.

    So, it would be like switching between weapons, but instead, it is alternating different character sprites each with it's own animations.

    I found this tutorial and it is a great way to switch between characters but all the characters are in different areas of the layout and are visible.

    What I would want is being able to switch characters and always have them in the same position, but only seen when you toggle between them.

    I hope my question makes sense, and sorry if this is a question that was already answered.

    I am currently still trying to solve this problem but new to construct still.

    Thanks!

  • Hello! I'm Dell!

    I'm a student currently working on my Senior thesis, a short game demo!

    I found out about Construct through my mentor who is working on a project of his own, and decided to play around with the program and actually make a short demo.

    Let's see how this goes!

    Also, since I am using a shared computer at the moment I'm working really hard to save up to get a laptop for school. Bills suck.

  • 11 posts