Baddiekins's Forum Posts

  • 4 posts
  • I was attempting to make something similar to a DOS prompt, with a text box and a changeable directory. I was hoping for some tips about how I could go about doing this. My current two problems are as follows:

    1. I'm not really sure what to do about the directory and text entry area. I tried just using a changeable text box next to some regular text for the directory, but that has problems with word wrapping and spacing. Is there any way I can get the text box to change width as needed, and keep a constant space between the end of the text and the changeable text box?

    2. What would be the best way to get a more DOS looking font? Construct 2 doesn't seem to support any suitable default fonts. I considered Sprite Font, but I don't know how that will effect my first problem. Also, is there any way to change the font of an editable text box?

    I'm pretty sure I can figure out the rest of it once I get basic text entry/output set up. Thanks in advance for any help.

  • The solid behavior interacts with Platform, 8Direction, Car and Bullet (when bounce off solids is enabled). Two solid objects won't interact with each other otherwise you couldn't have overlapping walls, floor etc. I assume that's what your problem is - that you have the shield and enemy set to solid and think the shield shouldn't overlap the enemy? You'd want to give the enemy 8Direction behavior and remove Solid. Or if that's not the problem, what do you mean when you say it won't work?

    I realized my issue was I never had 8Direction on the enemies. I intended to put it on them, but I seem to have gotten a bit ahead of myself. Thanks for your help.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I've checked and rechecked. I extended the hitbox so it would overlap with the hitbox for the player's body, and it caused it to freak out and bounce around like I expected, I just can't get the shield to otherwise be solid.

  • I've been sort of making somewhat of a Hack and Slash to try to learn Construct 2, and I've seem to run into an issue with the Solid behavior.

    My player model is made up of three sprites, one for his body and one for each of his arms. His left arm only has one 2 frame animation, one for holding his shield up to block, and the other with the shield at his side. When I hold right click, it sets it to the frame for blocking, and changes back to the other frame when I release it. My problem is that I want to make his shield a Solid object, but it won't work despite the Solid behavior I put on the sprite. I initially wanted to make the Solid behavior toggle with the frames, but I've since just started trying to get the solid behavior to work on this sprite at all. I made a new sprite and added the solid behavior to it, and it seemed to work fine.

    I read some places that said something about the objects needing the 8Direction behavior, but even adding that did nothing and I have other objects with working solid behaviors and no 8direction.

    docs.google.com/file/d/0B33EgxAFaaceTmd4S3M0QXR6T3M/edit is the CAPX of my game where I ran into the issue.

  • 4 posts