Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

[Help][bug] Coding Tips 8


beuleal
 Share

Recommended Posts

Hi guys,

 

Im looking for coding tips 8, and i found a bug (i guess).

 

As long is the path, more fast the sprites goes. I belive that it is not a good method.

 

If i want to work with real physic (big path, more time spent / short path, less time spent), and im not having sucess :(

 

What should i do?

 

linear.png

 

http://www.photonstorm.com/phaser/phaser-coding-tips-8

 

 

Link to comment
Share on other sites

I think the idea is that you travel through the points at equal intervals of time. So, for example, one red dot per second.

 

This is actually nice, because it means that you can control the speed by placing more or less of the red dots. (If it were modified as you suggest, so that it always travels at the same speed, you'd have no way to control the speed, which some people might want to do.)

 

But whether it's nice or not... it works the way it does simply because that's how the math works out. :-)

 

Cheers!

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...