chromaticcodex's Forum Posts

  • 5 posts
  • Thanks for the replies! I went and combed every bit of my event sheet and found it was some mixed up events that were stirring the pot. Cleaned them up and solved those problems.

    keroberos- I almost have everything working at a basic level and plan on posting what I have soon.

    Andreyin- I haven't messed with loops yet, I will definitely give them a try soon.

  • Hello, I am currently working on making a 2D fighting game in Construct and have come up to the issue of having two controllers control two different sprites. I am using mostly platformer behavior and state machines to control attacks. I currently have invisible sprites under Player 1 family and Player 2 family. I have all the different character sprites repeated in two different families (Character 1 and Character 2).

    I thought it would work using the Gamepad index numbers, having P1 set as 0 and P2 set as 1, and have alittle bit of repetitive programming listing out commands for each player. It has malfunctioned in different ways depending on what I tweak around, but I feel like I'm missing something.

    Is there something with the Gamepad that makes this easy(easier)?

    Thanks,!

  • Unnatural20 - Your fellow there has really helped. For the first time I was able to set where exactly the player loaded on a layout change. The capx is a great starting point. Making it work all on one event sheet is the only adjustment I will need to make, but I think that should be relatively easy but again this is a huge step forward. From the looks of it all I need to spend some time learning more abut expressions. Thanks, both of you!

  • fisholith- thanks! I haven't quite figured it out yet, but using what you wrote has gotten me closer, I just don't think I am using the global variables correctly yet. You're awesome though!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am working on a side-scrolling game and have been stuck on controlling where my character appears when I have sprite change layouts. Ideally I am going to use the borders as well as "doors" or exits on the layout and so the player will have multiple locations they can appear depending on which exit they came from.

    I've been trying the method of using using a sprite box as the trigger to load the appropriate layout. On layout load I am using "set PLAYER to POSITION X and Y". I also tied "set PLAYER to POSITION of object" and placed an object where I want the player to spawn.

    Any ideas on how to set where the player loads on layout change?

  • 5 posts