part12studios's Recent Forum Activity

  • you can do probably something like it.. i'm not sure how to do exactly what you did, but i made this game drawing a line with your finger.

    play.google.com/store/apps/details

    basically you have to spawn a dot every tick while finger is in contact in the position the touch is at.

  • because, well yea i didn't know about that one, but this approach worked so i did it. i wondered if there was something more concise.

    I'm using sprite font if that makes any difference. i've found sprite font to be missing some key things (things i'm trying to work out in another question) because the text field is a bit rigid in how it looks.

    Thanks!

    Caleb

  • HI everyone, so I've been working on this for awhile. it's close to being right except i've hit two snags to get it just right..

    1. my sprite font object is being used to log the chat dialog so because its not the "Text" object, when text fills the box it doesn't scroll up.. it just no longer displays the next line of code..

    part12studios.com/games/rd_bbs/rd_bbs_19

    this is an updated more direct to the chat room link than before (_18)

    2. The peerlist object can't be customized just like the text object can't be which is why I'm using the sprite font object. so i'm also needing to figure out how to roll my own peerlist object as well. i think that's really just a kind of array of some kind but not sure if it's special in the multiplayer aspect

    I've been over the multiplayer tutorial and it explains how to use the peerlist is used, but not how it works under the hood so i'm running kinda blind. my concern about the array and such is how a peer who joins an established server would know the name of the host and other users online.. i'm not sure a traditional array would be exposed for other users to access and get the master list.

  • man that worked like a champ! thanks so much. never thought to use a variable to store something like that. great thinking.

  • ok trying it now! yea that makes a lot of sense. :)

  • but a single "? i'll try it out now. great suggestion though.

  • I am rolling my own keyboard for a chat window and i've got all the characters worked out, but i'm stuck on the use of Shift+' to make a ".. because of course a """ doesn't fly with construct.. and i'm sure it's something html5-ish

    I did some googling and i read something like using a \ in front of the quote but that's not working for me.

  • yea that's true.. i learned quite a bit doing this but yea that would have been helpful. I wasn't convinced it would do what i wanted. functions had me worried as well as the function example was different but awesome feedback gave me the help needed to see how to properly adapt it. This example also was well document so it was a good learning experience reading the comments.

  • ooooo there i see it now.. there is name variable.. so cool.. that's perfect! thanks!

  • so you're saying i could point to this server and make my own "channel"? how would that work? as far as I can see i'm pointing to wss://multiplayer.scirra.com and that's it.. is there a way to create or tap into maybe sub channels?

  • Try Construct 3

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

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

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