oosyrag's Forum Posts

  • + System: Pick 9patch by evaluating 9patch.Width<1
    -> 9patch: Set width to 1
    

    Put this event at the end of your event sheet.

  • An index is the number position of a value in a list, usually starting with 0.

    So the first item is 0, second is 1, third is 2 and so on.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • developers.google.com/identity/protocols/oauth2

    developers.google.com/identity/protocols/oauth2/javascript-implicit-flow

    Sorry for just referring you to documentation, but this is pretty out of the scope of these forums (and my experience). That said, if you learn how to read and follow documentation, you'll be able to do pretty much anything.

  • Thank you for the info, but the thing is. For my 3d game im not using custom movement. I am using 8 direction behaviour.

    In your original post you said you were using the "custom" behavior, and also mentioned push out solids. Push out solids is a custom movement behavior action, 8 direction doesn't have that.

    If you can't describe your situation clearly or consistently, it will be very difficult to give you help or advice.

  • You need to add the part parameter "snippet" to get the snippet data. Use the second link to see how it should look when adding parameters in get request. Similar to how you added the livechat Id parameter.

  • > This is a bit off topic..

    > I see you are creating a random deck of cards. This can easily be done by the Advanced Random and Permutation table functionality, without any JS. Just fyi

    That sounds great, could you share a tutorial or the documentation on how to use that?

    The manual has everything well documented. Here's an general example dropbox.com/s/rq28y5pqhdh143b/Advanced_Random_Permutation_Example.c3p

    The permutation table size would be your deck size, and the value would be the ID of each card.

  • Figure it out in 2d first. For things like buildings where the "vertical" portion of the object is perpendicular to the ground, 3d doesn't matter.

    I don't recommend using the custom movement behavior unless there is something very specific you need that isn't covered by the other movement behaviors and you really understand how the custom movement behavior works to implement your solution.

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

  • EDIT: Am I wrong in thinking a Layer with its scale rate set to 0 shouldn't scale? It still scales down when I resize the window?

    Scale rate affects the system scaling at runtime, not the canvas/window scaling.

    I feel like I had seen a solution to this before in the forums somewhere, I'll try to see if I can find it.

    Scaling is still usually superior though, since the dpi of mobile devices can vary quite a lot, and using a fixed resolution/'crop mode' style layout can result in possibly unreadably small or overly huge text. It is usually much better to define a set dimension either horizontal or vertical to fit your content, and then allow the other dimension to get cut off (scale inner) or extend(scale outer) depending on the aspect ratio of your device. Then you set the size and position of your content based on viewportwidth and viewportheight at runtime. Even for apps.

    So basically you want something like how a the C3 website displays in different size windows?

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

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

    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.

  • Verbosity is fine, lack of detail is usually worse. In this case though it was an xy problem, where you were asking questions about your attempted solution (pin), but pin wasn't really the relevant tool to use in the first place for your situation. So unfortunately the effort you put in to describe your issue was mostly wasted.

  • Upon triggering ledge grab state, moveto might be a better alternative, basically lerp with more options and precision.

    And then once in the hanging position, you would enable context specific controls/animations/movement until you're standing or falling again and re-enable platform behavior.

  • I'm lost before finishing the title. What exactly are you using pin here for? Try just disabling platform behavior/default controls when you enter a ledge grabbing situation and move the sprite accordingly.

  • They can both be used as a timer to trigger an action. The tween behavior has additional features, settings, and options for tweening values over time, because that is what it was made for. If all you need is a countdown timer, use the timer behavior, because that is what it was made for.

    There is likely no measurable difference in performance between the two. If you do manage to measure a significant difference, use the better one, and let us know too, thanks.

  • Without any familiarity with the issue in detail, this sounds like an issue with your OBS browser and their forums would be a better place to ask.

    Does this happen in Chrome?