part12studios's Recent Forum Activity

  • basically could anyone explain / show how i could "roll my own" peerlist object but have it rely on text object instead to insure it can blend with other webgl effected objects in the same layout?

  • ok good to know about that. so if I need a "peerlist" in effect but one that could be managed with a text input or text object, is that feasible? I really need it to blend stylistically with the rest of the page

    part12studios.com/games/rd_bbs/rd_bbs_24

    i'm using the multiplayer example which relies on the peerlist but i'm not sure i understand under the hood how it works.

    Thanks,

    Caleb

  • what's also weird is that while looking at the peer list object in the developer view, it's effected.. it's only at runtime does it seem to ignore the webgl effect on it.

  • I have a layout with layers of webgl effects that are effecting various text boxes, but for some reason it seems that the peerlist object is unaffected by webgl effects that are affecting the other objects on the same layer fully.

    Are lists somehow excluded? i'm using css stylesheet. maybe this disabled the effect and i need to explicitly enable webgl effects to work on it? if so, how?

    Thanks!

    Caleb

  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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.

part12studios's avatar

part12studios

Early Adopter

Member since 24 Dec, 2012

Twitter
part12studios has 1 followers

Connect with part12studios

Trophy Case

  • 12-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Coach One of your tutorials has over 1,000 readers
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

20/44
How to earn trophies