TamaniDamani's Recent Forum Activity

  • You do that on the YouTube side, when setting up your stream.

    I connect as you said, but it returns this 401 error

    What do I need to do?

  • developers.google.com/youtube/v3/live/docs/liveChatMessages

    https://developers.google.com/youtube/v3/live/docs/liveChatMessages/list#try-it

    Via HTTP, use the AJAX plugin to GET, through the 'Request URL' action.

    > GET https://youtube.googleapis.com/youtube/v3/liveChat/messages?key=[YOUR_API_KEY] HTTP/1.1
    

    Use the AJAX plugin to set headers, through the 'Set request header' action.

    > Authorization: Bearer [YOUR_ACCESS_TOKEN]
    Accept: application/json
    

    The response will be in JSON, which you can load into the json object to parse and use, or you could possibly just grab what you need directly with tokenat.

    Alternatively, you can use the javascript API directly with C3. Documentation and examples also at the above links.

    I don't know where to get ACCESS_TOKEN and how can I specify the exact youtube live stream?

    Still, thanks for the response, you gave me a way

  • I want to integrate youtube live chat into my game. I saw an article online that mentioned that Ajax could be used, but there wasn't much information in the article.

    https://www.construct.net/en/forum/construct-3/how-do-i-8/youtube-api-145889

    I wonder if there is a way to capture youtube live chat messages in construct 3?

  • I tried exporting the game to HTML5, but it didn't work

    please help me

    please

  • I'm making an online multiplayer card game now, and I need to keep the game running to prevent players from going to other tabs and wandering around without receiving messages from other players and unable to continue the game.

    I need a way to set the browser game to always run, or any way to allow the game to be able to receive messages from other players even if the game is hibernated

    If anyone knows how to fix it, it will save my life.

  • You can directly import fonts to Construct, and then use them in the built-in Text object. I'd recommend using WOFF format fonts though for full compatibility across browsers and platforms.

    I want the text input function to also have the font

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I uploaded my own font to the game, in the "text" can be used correctly, now I want to reference in the css, how do I do?

    ---

    "@"font-face

    {

    font-family: '11':

    src: url(fonts/Cubic_11.ttf);

    }

    #Input

    {

    outline: none;

    border: none;

    color: #445469;

    background: transparent;

    font-size: 32px;

    font-family: '11';

    }

    ---

    this is my Css code.

    Everything works fine except the font

    Please tell me what needs to be modified, thank you very much

    Tagged:

  • You do not have permission to view this post

TamaniDamani's avatar

TamaniDamani

Member since 2 Feb, 2022

None one is following TamaniDamani yet!

Trophy Case

  • 2-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

5/44
How to earn trophies