if i set a Velocity for something to a fraction, will it move like that? or will it not do anything since the value isnt full pixels? or will it just round the number off?
.5?
Started by
Master Maniac
, May 13 2008 07:52 PM
7 replies to this topic
#1
Posted 13 May 2008 - 07:52 PM
#2
Posted 14 May 2008 - 02:10 AM
Yes, ffcs will move if their velocity is a fraction.
That's why there are 4 decimal places in their 'Vx' and 'Vy' boxes in their data in ZQuest ;-)
Technically they shouldn't be able to, because you can't move by half a pixel, but ZC has an algorithm which works it out for you, so they take half the time or something.
Anyway, it works is the most important part.
That's why there are 4 decimal places in their 'Vx' and 'Vy' boxes in their data in ZQuest ;-)
Technically they shouldn't be able to, because you can't move by half a pixel, but ZC has an algorithm which works it out for you, so they take half the time or something.
Anyway, it works is the most important part.
#3
Posted 14 May 2008 - 01:25 PM
Otherwise how could ffc->A work.
#4
Posted 14 May 2008 - 04:51 PM
ffc->A?
ill have to look that one up =)
and thank you joe. i was just wondering.
ill have to look that one up =)
and thank you joe. i was just wondering.
#5
Posted 14 May 2008 - 04:56 PM
I think he means Acceleration ;-)
#6
Posted 14 May 2008 - 07:20 PM
oh... >.< duh...
#7
Posted 17 May 2008 - 06:29 AM
The units for Vx and Vy are pixels per frame (for instance, with a Vx of 1, a FFC would move to the right one pixel each time the screen is refreshed). So while 0.5 pixels per frame doesn't make much sense, I believe this is scaled to be 1 pixel per every two frames - so effectively the same velocity (the same ratio of distance over time) is achieved.
#8
Posted 17 May 2008 - 06:51 PM
ahh ok. this makes sense.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users