Kiyki's Recent Forum Activity

  • So after a little bit of research I found that it could be because of the API calling for facebook just after the log out. The only topics I found where related to the API and not the facebook object from construct 2, On those people say you have to destroy the facebook session on your site and that there is no need to log out the user from facebook.

    So I was looking for how to destroy the facebook session but I found nothing, I think the login info could be stored somewhere and that he could be deleted. Anyone know how ?

    I will continue my search but I really appreciated your help if someone knows how to do this. Log out from my web browser game without really login out of facebook.

    Thank you !

  • Si I'm not sure it's a bug more than my poor understanding of code, but I have a problem with the facebook object.

    When I am logged in, all is well I prompt to share...etc but every time I try to logout I have a Javascript Error.

    Javascript error!

    TypeError: response.authResponse is null

    http://localhost:50000/Facebook_plugin.js, line 115 (col 4)

    I'm not really a dev so I don't understand what is the problem. I made sure the player had to be logged in to be able to log out. Is it because I am in localhost ?

    Also unrelated to that error but is it possible to choose where the facebook dialog for login and share is going to appear ? It is always appering one the edge of the screen, which is not really good.

    Thank you for your time and your help !

  • Waaah, thank you very much I will try that. Sadly ryanrybot you formula was as good as mine. Maybe this one will do the trick !

  • I will try that. The pixel rounding was making the platform behavior jump, without pixel rounding it already way better but the lerp as still some issues and it shakes object that are pinned to the player, I guess the player is shaking also but it's almost unseeable.

    I had tried alreayd with a camera sprite but I had the rounding ON so I will try that again. COuld you juste take me through what car.platform.vectorx /0.8 is doing ?

    Thank a lot for your answer and your help

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • So I come here because I have a similar problem. I tested it in 4 different browser and 5 different computer and when pixel rounding is ON the camera is shaky but only when I have a lerp, with the behavior scroll to or the event scroll to object/position: player.x, player.y it does not shake at all even with the rounding on. I even tried with Magicam plugin and it has the same problem as Lerp.

    Even with Pixel rounding OFF and lerp it is still shaking a little bit when changing state (idle to run) and then stabilizes when at full speed or not moving for exemple.

    The Pixel rounding is definitly affecting the scroll or platform behavior making it shaky but it can't only be that because it is still shaking a little bit with lerp (less but still). I'm going to try a few things I saw in this topic but if anyone found a solution or something I would be very grateful.

    Thank you.

  • So after trying more I found some things. First the pixel rounding was On and by putting him on Off it seems it trembles way less.

    It still trembles when the player change state (moving to not moving, vice versa, jumping to falling...Etc), but it become stable when it reach it's peak. I'm still trying to figure how make it so it doesn't tremble at all.

    I'm still taking any advice or knowledge that you would be nice enough to impart me with. I also tried Magicam plugin but it is exactly the same as Lerp expression without as much control on what your camera does, so not a good solution anyway.

  • The lerp without dt, just with a variable for a factor isn't smooth at all, it's way worse, the dt is there to smooth it but it doesn't really smooth it enough. It's onyl really smooth when the camera isn't lerping.

    I'm actually trying to cheat by using lerp only to change direction (left,right), when the player stops moving or starts to move. And when he is moving and he reaches the middle of the screen the camera would stop lerping and follow him (scroll to: player.x). It makes it smooth when he walks but I can't seem to keep lerp for turning and such whithout the camera jumping from time to time.

    If someone has a real solution, please, please, it's been 7 hours of trying things and scouring the web with no result.

  • Hello everyone,

    I'm running into some problems. I created a camera using lerp with that: lerp(ScrollX, Player.X-Xcam, dt*speed))//lerp(ScrollY, ScrollTo, dt*speedY).

    It's perfoming nicely expect that when an object is pinned to my player like a pop up dialog the lerp is causing it to tremble slighty left to right.

    With the ScrollTo behavior it doesn't tremble. I also tried using 1-f^dt instead of dt*speed in my lerp formula but it's still trembling except when f=0 which kills the effect I wished to have.

    I can't keep my camera effect without my objects pinned to the player trembling, is there a third party plugin or a formula which keeps the scrolling steady and not all shaky ? I hadn't see the problem until I pinned object to the player.

    I only have a few days to find a solution so if someone has one I would be very grateful !

  • Oh I hadn't thought of that at all. It's clever. Thank you a lot Lord Shiva !

  • Same problem here. Well I'm the user I am testing my own app, and the login works great expect when a ask for permission which tells me I can't with the same error message. But in the facebook developper account they say we can test publish permission with our developper account. I don't understand. Anyone ?

  • Same problem here. Followed the instruction of three different tutorial and it's still the default loader that loads everything.

  • Hello,

    I'm in a bind. I am trying to create moving platform without Sine. I don't want my platforms to start from the middle, but rather go from point A to point B and stop for exemple. I can't find an easy way to do this. I found a solution with the Custom Movement but it's quite complicated and I can't fathom that there is no better way, easier way.

    I searched all day and found nothing, so I'm posting this. If anybody has a solution, please, please help. Oh also if someone know how to make platforms move in diagonal, I'll take that too.

    Thank you

    Kiyki

Kiyki's avatar

Kiyki

Member since 24 Nov, 2014

None one is following Kiyki yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies