tunepunk's Recent Forum Activity

  • Does anyone know if scripting can be used to achieve what I want? Need to include the cookie data in future API calls after connected to host.

    I'd be happy to pay someone with the knowhow to help me out here :)

  • I'm not sure but it seems like the current AJAX plugin doesn't support it.

    The only thread I found involves modifying runtime for the AJAX plugin, but that's an old post for Construct 2.

    construct.net/en/forum/construct-2/how-do-i-18/send-ajax-request-cookies-133256

    Ashley Is this something that can be requested as a feature, or is it something that can be done, but I don't know how?

  • I'm connecting to a host with ajax and get a response back. So far so good.

    I need to find a way to add credentials to my post to the cross domain server.

    The only thing i could find was that i need to add "xhr.withCredentials = true;" to my request, but I don't know how.

    Any help?

  • I'm making a promo game that will be hosted on a website. The game will be available to everyone, but if you're already logged in on the site (you can be logged in through facebook account, site account, google etc)

    I don't want to have another login inside of the game with credentials. Is there any way to get the user data from the site you're already logged in on, and how?

    Any help appreciated.

  • Ahhh.. I found it in the browser object how to detect changes in viewport size.

  • I'm doing a game kind of responsive to fit various screen ratios. A lot of objects are placed based on viewport size.

    Is there any way to detect the changes in viewport? For example, if someone resizes the game window, or change the orientation from landscape to portrait (on a mobile for example), och click the fullscreen button.

    There doens't seem to be any system condition to detect changes in viewport size.

    Any help appreciated.

  • I'm building a small little promotional game for a client. The game will be hosted on their site and also on appstore/google play. I's a small little game where they will have weekly rewards to customers rank high in the highscore.

    They have their own user accounts which people create on the site.

    What's the best way to handle authentication in the game? Logging in on their user account, and also posting highscore etc via an API.

    When hitting the API how do you define if it's a POST or GET?

    Any help appreciated. If it turns out a bit too complex for me to do myself, I will gladly pay for some assistance.

  • Another thing.. Make sure you uncheck the "use default controls" on the platform object.. Can cause issues.

  • You need to use trigger once on the events that are starting the tween. Otherwize it's kind of like the tween is triggered every tick while the shift key is held.

    Trigger once, or using the "On key pressed" also works.

    Conditions that fire once have a green arrow. Otherwize it will trigger every tick while the conditions are met.

  • If you want smooth animations regardless of game speed I would highly suggest using other means than frame animations.

    Spriter, Spine, or animate parts of your characters with code or timeline feature. As the inbetween frames are calculated in realtime based on curves rather than frame-by frame that is slowed down.

    Of you take a 30fps frame animation and play it at slowmo (10% speed) it will be a view as 3fps animation, and will look like the frames are choppy.

    Timeline based animations will calculate the inbetween frames regardles of speed so will always play at framerate.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If you are using a computer with Windows 10. Just click Win+G to open the built in game recording bar.

    You can record any game or browser window, so should work even if you export an NW.js version of your game for recording, or preview.

    It's good quality and no watermarks.

    A lot of people don't know there's a built in game recorder in Windows 10.

  • > macube Hmmmm tested it in C3 runtime and seems to be working fine.

    >

    > No issues here. Maybe they updated it recently then?

    >

    > Opened an old c2 project with Photon Cloud, and switch to C3 runtime with the latest version of Photon plugin and everything works as expected.

    Hmm, is this the last version/download-link? :

    https://www.photonengine.com/sdks#construct2

    Version 4.1.0.1 seems to be working fine in C3 runtime. Just downloaded it.

tunepunk's avatar

tunepunk

Member since 2 Mar, 2014

None one is following tunepunk yet!

Connect with tunepunk

Trophy Case

  • 10-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
  • RTFM Read the fabulous manual
  • Email Verified

Progress

16/44
How to earn trophies