Hello tatiang, I think that the image of the actor deforms sometimes because the size of my scene is 50000 wide by 768 high, you can recommend me a size of scene for the game go fluid?
tatiangMember, Sous Chef, PRO, Senior Sous-ChefPosts: 11,949
edited December 2013
Wow. 50,000 pixels... that's just shy of 49 iPad screens wide. I can't imagine laying out all of the actors for a scene that large. ~X(
It's possible but unlikely that that is causing the distortion problem. What is it that you are interpolating? Are you interpolating the position of the actor? If so, you should know that interpolate has a bug at the very ends of its range. That is, if you interpolate from 100 to 300, at 300 there will be a little skip or lag. Is that the problem you're seeing? The way to fix that is to over-interpolate, to interpolate to a value past what you actually need. So you might interpolate from 100 to 305 but have the actor stop moving when its x position is equal or greater than 300.
I have uploaded a part of the game , can yo tell me what you think about the size of the actors, and the hero actor?, I´m interpolating the position of my actor , in fact i down´t know what must be the optimal size of the actors , yes i´m seen a lag with the interpolation,thanks for the rule of the interpolation, i tell you that the size of the camera is 1024x768 , is this ok , i really don´t know about the size of the camera or tracking area in my game
perhaps 50000 isn´t too big, don´t you thinks that sonic or new super mario bros can be greatest than 50000, i think that mario change the scenes in the pipes , but sonic don´t change the scenes
Comments
Send and Receive Data using your own Server Tutorial! | Vote for A Long Way Home on Steam Greenlight! | Ten Years Left
Can you show us a video of when it does occur?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
It's possible but unlikely that that is causing the distortion problem. What is it that you are interpolating? Are you interpolating the position of the actor? If so, you should know that interpolate has a bug at the very ends of its range. That is, if you interpolate from 100 to 300, at 300 there will be a little skip or lag. Is that the problem you're seeing? The way to fix that is to over-interpolate, to interpolate to a value past what you actually need. So you might interpolate from 100 to 305 but have the actor stop moving when its x position is equal or greater than 300.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
, can yo tell me what you think about the size of the actors, and the hero actor?, I´m interpolating the position of my actor , in fact i down´t know what must be the optimal size of the actors , yes i´m seen a lag with the interpolation,thanks for the rule of the interpolation, i tell you that the size of the camera is 1024x768 , is this ok , i really don´t know about the size of the camera or tracking area in my game