rbvjr81's Forum Posts

  • Hi - sorry I'm still new to C3 and not much versed with coding either. Is there a way to redirect a user based on his location?

    thanks

  • Hey there, it can but you'll have to design it in specifics ways, and there are a lot of methods, but a good start point is to use AJAX to retrieve the txt content from project files and "inject" it in a variable, then tokenat/tokecount can be used to localise the numbers in the text, with the help of another variable to change the selected token;

    What result are you looking for ideally? Do you have a gif or video example?

    Thanks Tom - currently experimenting with a quiz with sprite. I'm not versed with arrays and I have a template using .txt that's why I asked.

    So let me understand what you've just said - AJAX -> Variable (as an on/off switch?) -> tokenat/tokecount to localize the tag of the sprite frame?

  • Set Animation Frame to Array.At(X)

    Make sure the content in Array.At(X) is an integer value. Alternatively you can add int(Array.At(X)) to ensure that the value is converted to an integer if possible.

    Do you think animation frames can be called from .txt files too?

  • Set Animation Frame to Array.At(X)

    Make sure the content in Array.At(X) is an integer value. Alternatively you can add int(Array.At(X)) to ensure that the value is converted to an integer if possible.

    Appreciate your help! thank you.

  • Hi All - prob a noob question, is there a way to set animation frame from JSON id or from Array?

    tia

  • > > > Anyone knows how to add desktop notification triggered by system time? eg; 4:00PM notifies player to check.

    > > >

    > > > tia

    > >

    > > Web Notifications are sent to desktop aswell as long as the user has accepted it on the web, for native desktop apps im not sure.

    > >

    > >

    > >

    > > But for example, if i accept notifications from C3 website, i dont need browser open to get the notifications, they come anyways. Atleast with Microsoft Edge(So annoying).

    > >

    > > For notifications i use Onesignal, but it only works for web/mobile.

    >

    > Specifically looking for desktop native apps, thank you for replying though.

    Check this out: javascripttutorial.net/web-apis/javascript-notification

    Thank you very much!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • > Anyone knows how to add desktop notification triggered by system time? eg; 4:00PM notifies player to check.

    >

    > tia

    Web Notifications are sent to desktop aswell as long as the user has accepted it on the web, for native desktop apps im not sure.

    But for example, if i accept notifications from C3 website, i dont need browser open to get the notifications, they come anyways. Atleast with Microsoft Edge(So annoying).

    For notifications i use Onesignal, but it only works for web/mobile.

    Specifically looking for desktop native apps, thank you for replying though.

  • Anyone knows how to add desktop notification triggered by system time? eg; 4:00PM notifies player to check.

    tia