part12studios's Recent Forum Activity

  • yea a peer to peer chat would be fine. this is very causal.. i just thought it would be fun if anyone pops in devs could chat or potential fans might be able to chat as well.. i don't see a need for a permanent IRC style chat room that is persistent.. but the example i got working is this multiplayer example. how easy would it be to migrate the same logic to a peer to peer approach?

  • ok so its $20 to buy the software.. scirra is hosting the one channel.. could we purchase a separate channel? i have a website that's a kind of BBS simulation and I thought it would be fun to have a light chat room (just whoever happens to be on at any given time, nothing permanent) and i have it fully working using the tutorial, but it's pointing to that public one which as a bunch of weirdos on it who i don't understand.. you'd almost think they were bots, but they don't appear to be.. just weird internet people.. lol..

    but if wss://multiplayer.scirra.com is a thing

    could they have/sell a wss://mychannel.multiplayer.scirra.com?

    I know my chat room will be largely unused so there would be virtually no cpu consumption most of the time.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Good to know. i'd hope if scirra is offering the option they'd make it fairly easy to configure. i've emailed them directly to find out more, but haven't heard back yet. i'll read up on this! thanks so much.

  • Regarding the chat server that exists.. where would i go to make my own independent server? what would be involved with that?

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

    this server is ran from

    wss://multiplayer.scirra.com

    I want to have one for my projects chat room that's obviously not this one. :)

    Thanks!

    Caleb

  • ooooo ok i found the issue. in a different group i had left another back key reference.. the approach mentioned by savvito123 did work perfectly! Man this is awesome. Thanks sooooo much. I think this is going to really work. I'll post my final thing once i iron out all of these conditions

  • Shift 2 key

  • OK did manage to work out the shift thing. for anyone looking to do it.. this works:

    Normal 2 key

  • also I'm noticing that there doesn't seem to be a way to do symbols like say.. ~ or ! with the keyboard input mapping. i may try seeing if nesting might work like.. shift key pressed and then a sub key like "2" equals the "@" symbol..

  • Here's what i have currently. it's on backspace pressed.

  • for me i'm getting the same result. backspace wipes all

    left(ChatLogin.Text,len(ChatLogin.Text)-1)

  • oh that's cool, that did kinda work but in this case it clears the whole text field not just the last character..

    in my case the chatbox is called ChatLogin (this is the login screen, but a chat text box will come next)

    left(ChatLogin.Text,(len(Chatlogin.Text))-1)

  • I have a chat program i'm working on and to fully customize the look i'm making my own chat window and this requires each key to be mapped, this includes space and delete. the keys working to add characters is pretty straight forward, but i'm a bit stumped on how i would create a delete key to effectively remove the last character of the text string in the text box.

    I found an older C2 forum post that had some solution that was similar, but dealt with newline.. i feel like it's something like.. maybe the total character count - 1 would be right, but i can't figure out how to express it correctly.

    right(ChatLogin.text, len(ChatLogin.text)-find(ChatLog.text,newline)-1)

    this was my attempt to adapt the example to mine.. but can't figure it out.

    Thanks!

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