Posted: Tue Aug 25, 2015 4:00 pm Post subject: Flappy Bird Understand Value of coordinate
Hi I am writing a Flappy Bird bot for fun. I managed to get the Y-Coordinate of the bird but I am not understanding the scaling of the coordinate. Can someone with experience please guide me how to scale to "normal" unit with equal distance? I have attached the picture and hopefully this explains my point.
Basically the coordinate is increasing exponentially. 2.0-2.5 is very close to each other. And 4.0-4.5 is very wide spread. The coordinate is in float. Can somebody please explain to me why the number are in such format! Thank you so much!
By the way, if someone wants to play around and get the value I'm talking about please go to flappybird(dot)io
FlappyBird.png
Description:
Coordinate illustration. I used paint to cut over the bird so the coordinate can be seen in one picture.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum