part12studios's Forum Posts

  • Ok figured it out. for anyone wanting to do this, the key is using a CSS style sheet. don't let it intimidate you. it's not that bad.. basically:

    1. import your ttf font

    2. add a stylesheet in the file area

    3. past something like this in there (in my case i had a list i wanted to customize and it not be clickable

    #mypeerlist {

    text-align: left;

    font-size: 30px;

    font-family: Perfect_DOS_VGA_437;

    user-select: none;

    cursor: default;

    pointer-events: none;

    }

    4. watch this video, he explains it mostly. the only thing he leaves out is actually showing the font importing part. youtube.com/watch

    5. just make sure the #mysheet matches the tag in the object you want to effect (without the #)

  • I'm trying to use a custom font. these work fine in other things like the text object, but i am trying to get this same font into the peerlist (list) object which has to be customized with CSS properties.

    i'm wondering if that is exposed to the peerlist object.. i tried to just call on the font name but no dice..

    I'm so close to getting this chat room looking totally sweet. thanks in advance for any insight you might have.

  • yes that was a great suggestion! i didn't think of that.. never change orientation.. perfect!

    now to figure out how to apply CSS values to lists..

  • oh ok yea good thought! ok trying that out..

  • origin point with a text object? are you saying somehow move the text box? i know origin points are good for spawning objects..

    maybe you're suggesting to spawn a individual text reply to a new text object with each entry? that might work actually, though i'd like to avoid engineering that kind of work around..

    another thought was just that every new entry adds an extra line (blank) after each entry..

  • oh wait.. i remember now.. i couldn't do this because there is no "return to bottom".. it just goes through the bottom of the text field.. no way to push the text up that i know of. otherwise it's actually what i'd prefer to use.

  • yea maybe that would be better.. i don't mind if there's no history scroll bar.. i'll see if that works better.. i was just sticking as close to the original template as possible as i learn how this stuff works.

  • a few more examples.. see the latest entry is always covered by the "bottom" of the text box.. it's behind it every time by one entry line..

    as is (always something behind)

    this looks right but only because i scrolled the bar down a line

    This is the event stuff.

  • I do.. that's the thing.. the exact same behaviors and rules in the C2 project do not reflect the same in the same project in C3.. it's like the scroll to bottom rule isn't quite firing off properly. i have a workaround idea i'm going to tinker with but i'd really like it to just work without a hack.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I am making a chat room and using the template. the template is a construct 2 template. it uses a "text input" object. however in construct 3 when i use that template the last line of text when "scroll to bottom" is used and compile it.. the bottom line is still hidden.

    construct.net/en/free-online-games/multiplayer-chat-room-3494/play

    this is the example which is a construct 2 project. if you fill the text screen to the bottom you'll see nothing is ever hidden by the box.. the every latest entry is visible without having to use the scroll bar.

    However this same project (game.capx) will open in construct but when you compile it.. try the same situation. the latest entry is hidden below the box and to see it you have to scroll down.. maybe a bug in the input text object in construct 3?

    I'm testing with Chrome on OSX and Windows 10. It's key that you compile the game in Construct 3 to see the problem.

    Example 1 is Construct 2 (this is how it should look)

    Example 2 is Construct 3 (notice how there is a scroll bar and text is off the screen?)

    no matter how i positing the text box in this project it always covers the last entry posted.

    Thanks,

    Caleb

  • You do not have permission to view this post

  • not sarcastic, that's really cool! :)

  • holy crap that's a great find and a badass gif. :).

  • seems like you nailed it in that example dop2000 ! :)

    can this be done in construct 3?

    do you know how to apply tag filters? in my testing it seemed like that's the way. i could see how to make an exclude / include action.. but i couldn't see where to put tags to have it work..

  • awesome good luck.. glad to help a little.