Jump to content
  • Advertisement

plaguebreath

Member
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

112 Neutral

About plaguebreath

  • Rank
    Newbie

Personal Information

  • Interests
    |programmer|
  1. So now as understand the conversion rate I have another problem, offcurse I was calculating wrong the movement of the box based on the gravity and that resulting on a offscreen in 2 seconds. Now my problem is that I try to get some numbers from my program while debugging but I'm not getting the numbers I was expecting to get.   My actual code look sorta like that in my main loop if frame mod 60 == 0 { show_debug_message("*frame* " + string(frame) +" y " + string_format(y,6,4) +" dist m " + string_format((y - starty) / 32,6,2) + " v m/s " + string_format(vely * 60 /32,6,4) + " v p/f " + string_format(vely,6,4)); }else{ show_debug_message(" frame " + string(frame) +" y " + string_format(y,6,4) +" dist m " + string_format((y - starty) / 32,6,2) + " v m/s " + string_format(vely * 60 /32,6,4) + " v p/f " + string_format(vely,6,4)); } spd = sqrt(power(velx ,2)+power(vely ,2)); vely += g; // pixel per frames y -= vely; frame += 1; where the variable values at the creation looks like starty = 160; g = -(9.8067 * 32) / 60 / 60; frame = 0; spd = 0; vely = 0;   32 it's the pixel per meter ratio and 60 frames per seconds on the execution of the code I got this results, as you see on the key frames ** I expect to get after 60 frames 4.90m as distance but instead I got 4.99m and same for the other frames, the velocity seems correct so not really know what's could be wrong, probably pixel convert not really good :/   *frame*  0 y   160.0000 dist m     0.00 v m/s     0.0000 v p/f     0.0000  frame  1 y   160.0872 dist m     0.00 v m/s    -0.1634 v p/f    -0.0872  frame  2 y   160.2615 dist m     0.01 v m/s    -0.3269 v p/f    -0.1743  frame  3 y   160.5230 dist m     0.02 v m/s    -0.4903 v p/f    -0.2615  frame  4 y   160.8717 dist m     0.03 v m/s    -0.6538 v p/f    -0.3487  frame  5 y   161.3076 dist m     0.04 v m/s    -0.8172 v p/f    -0.4359  frame  6 y   161.8306 dist m     0.06 v m/s    -0.9807 v p/f    -0.5230  frame  7 y   162.4408 dist m     0.08 v m/s    -1.1441 v p/f    -0.6102  frame  8 y   163.1382 dist m     0.10 v m/s    -1.3076 v p/f    -0.6974  frame  9 y   163.9227 dist m     0.12 v m/s    -1.4710 v p/f    -0.7845  frame  10 y   164.7944 dist m     0.15 v m/s    -1.6344 v p/f    -0.8717  frame  11 y   165.7533 dist m     0.18 v m/s    -1.7979 v p/f    -0.9589  frame  12 y   166.7993 dist m     0.21 v m/s    -1.9613 v p/f    -1.0460  frame  13 y   167.9325 dist m     0.25 v m/s    -2.1248 v p/f    -1.1332  frame  14 y   169.1529 dist m     0.29 v m/s    -2.2882 v p/f    -1.2204  frame  15 y   170.4605 dist m     0.33 v m/s    -2.4517 v p/f    -1.3076  frame  16 y   171.8552 dist m     0.37 v m/s    -2.6151 v p/f    -1.3947  frame  17 y   173.3371 dist m     0.42 v m/s    -2.7786 v p/f    -1.4819  frame  18 y   174.9062 dist m     0.47 v m/s    -2.9420 v p/f    -1.5691  frame  19 y   176.5624 dist m     0.52 v m/s    -3.1055 v p/f    -1.6562  frame  20 y   178.3058 dist m     0.57 v m/s    -3.2689 v p/f    -1.7434  frame  21 y   180.1364 dist m     0.63 v m/s    -3.4323 v p/f    -1.8306  frame  22 y   182.0542 dist m     0.69 v m/s    -3.5958 v p/f    -1.9178  frame  23 y   184.0591 dist m     0.75 v m/s    -3.7592 v p/f    -2.0049  frame  24 y   186.1512 dist m     0.82 v m/s    -3.9227 v p/f    -2.0921  frame  25 y   188.3305 dist m     0.89 v m/s    -4.0861 v p/f    -2.1793  frame  26 y   190.5969 dist m     0.96 v m/s    -4.2496 v p/f    -2.2664  frame  27 y   192.9505 dist m     1.03 v m/s    -4.4130 v p/f    -2.3536  frame  28 y   195.3913 dist m     1.11 v m/s    -4.5765 v p/f    -2.4408  frame  29 y   197.9193 dist m     1.18 v m/s    -4.7399 v p/f    -2.5279  frame  30 y   200.5344 dist m     1.27 v m/s    -4.9034 v p/f    -2.6151  frame  31 y   203.2367 dist m     1.35 v m/s    -5.0668 v p/f    -2.7023  frame  32 y   206.0261 dist m     1.44 v m/s    -5.2302 v p/f    -2.7895  frame  33 y   208.9028 dist m     1.53 v m/s    -5.3937 v p/f    -2.8766  frame  34 y   211.8666 dist m     1.62 v m/s    -5.5571 v p/f    -2.9638  frame  35 y   214.9175 dist m     1.72 v m/s    -5.7206 v p/f    -3.0510  frame  36 y   218.0557 dist m     1.81 v m/s    -5.8840 v p/f    -3.1381  frame  37 y   221.2810 dist m     1.92 v m/s    -6.0475 v p/f    -3.2253  frame  38 y   224.5935 dist m     2.02 v m/s    -6.2109 v p/f    -3.3125  frame  39 y   227.9931 dist m     2.12 v m/s    -6.3744 v p/f    -3.3997  frame  40 y   231.4800 dist m     2.23 v m/s    -6.5378 v p/f    -3.4868  frame  41 y   235.0540 dist m     2.35 v m/s    -6.7012 v p/f    -3.5740  frame  42 y   238.7151 dist m     2.46 v m/s    -6.8647 v p/f    -3.6612  frame  43 y   242.4635 dist m     2.58 v m/s    -7.0281 v p/f    -3.7483  frame  44 y   246.2990 dist m     2.70 v m/s    -7.1916 v p/f    -3.8355  frame  45 y   250.2216 dist m     2.82 v m/s    -7.3550 v p/f    -3.9227  frame  46 y   254.2315 dist m     2.94 v m/s    -7.5185 v p/f    -4.0099  frame  47 y   258.3285 dist m     3.07 v m/s    -7.6819 v p/f    -4.0970  frame  48 y   262.5127 dist m     3.20 v m/s    -7.8454 v p/f    -4.1842  frame  49 y   266.7841 dist m     3.34 v m/s    -8.0088 v p/f    -4.2714  frame  50 y   271.1426 dist m     3.47 v m/s    -8.1723 v p/f    -4.3585  frame  51 y   275.5883 dist m     3.61 v m/s    -8.3357 v p/f    -4.4457  frame  52 y   280.1212 dist m     3.75 v m/s    -8.4991 v p/f    -4.5329  frame  53 y   284.7412 dist m     3.90 v m/s    -8.6626 v p/f    -4.6200  frame  54 y   289.4485 dist m     4.05 v m/s    -8.8260 v p/f    -4.7072  frame  55 y   294.2428 dist m     4.20 v m/s    -8.9895 v p/f    -4.7944  frame  56 y   299.1244 dist m     4.35 v m/s    -9.1529 v p/f    -4.8816  frame  57 y   304.0931 dist m     4.50 v m/s    -9.3164 v p/f    -4.9687  frame  58 y   309.1490 dist m     4.66 v m/s    -9.4798 v p/f    -5.0559  frame  59 y   314.2921 dist m     4.82 v m/s    -9.6433 v p/f    -5.1431 *frame*  60 y   319.5223 dist m     4.99 v m/s    -9.8067 v p/f    -5.2302  frame  61 y   324.8398 dist m     5.15 v m/s    -9.9701 v p/f    -5.3174  frame  62 y   330.2443 dist m     5.32 v m/s   -10.1336 v p/f    -5.4046  frame  63 y   335.7361 dist m     5.49 v m/s   -10.2970 v p/f    -5.4918  frame  64 y   341.3150 dist m     5.67 v m/s   -10.4605 v p/f    -5.5789  frame  65 y   346.9811 dist m     5.84 v m/s   -10.6239 v p/f    -5.6661  frame  66 y   352.7344 dist m     6.02 v m/s   -10.7874 v p/f    -5.7533  frame  67 y   358.5748 dist m     6.21 v m/s   -10.9508 v p/f    -5.8404  frame  68 y   364.5024 dist m     6.39 v m/s   -11.1143 v p/f    -5.9276  frame  69 y   370.5172 dist m     6.58 v m/s   -11.2777 v p/f    -6.0148  frame  70 y   376.6191 dist m     6.77 v m/s   -11.4411 v p/f    -6.1019  frame  71 y   382.8083 dist m     6.96 v m/s   -11.6046 v p/f    -6.1891  frame  72 y   389.0845 dist m     7.16 v m/s   -11.7680 v p/f    -6.2763  frame  73 y   395.4480 dist m     7.36 v m/s   -11.9315 v p/f    -6.3635  frame  74 y   401.8986 dist m     7.56 v m/s   -12.0949 v p/f    -6.4506  frame  75 y   408.4364 dist m     7.76 v m/s   -12.2584 v p/f    -6.5378  frame  76 y   415.0614 dist m     7.97 v m/s   -12.4218 v p/f    -6.6250  frame  77 y   421.7735 dist m     8.18 v m/s   -12.5853 v p/f    -6.7121  frame  78 y   428.5728 dist m     8.39 v m/s   -12.7487 v p/f    -6.7993  frame  79 y   435.4593 dist m     8.61 v m/s   -12.9122 v p/f    -6.8865  frame  80 y   442.4330 dist m     8.83 v m/s   -13.0756 v p/f    -6.9737  frame  81 y   449.4938 dist m     9.05 v m/s   -13.2390 v p/f    -7.0608  frame  82 y   456.6418 dist m     9.27 v m/s   -13.4025 v p/f    -7.1480  frame  83 y   463.8770 dist m     9.50 v m/s   -13.5659 v p/f    -7.2352  frame  84 y   471.1993 dist m     9.72 v m/s   -13.7294 v p/f    -7.3223  frame  85 y   478.6088 dist m     9.96 v m/s   -13.8928 v p/f    -7.4095  frame  86 y   486.1055 dist m    10.19 v m/s   -14.0563 v p/f    -7.4967  frame  87 y   493.6893 dist m    10.43 v m/s   -14.2197 v p/f    -7.5838  frame  88 y   501.3604 dist m    10.67 v m/s   -14.3832 v p/f    -7.6710  frame  89 y   509.1185 dist m    10.91 v m/s   -14.5466 v p/f    -7.7582  frame  90 y   516.9639 dist m    11.16 v m/s   -14.7100 v p/f    -7.8454  frame  91 y   524.8964 dist m    11.40 v m/s   -14.8735 v p/f    -7.9325  frame  92 y   532.9161 dist m    11.65 v m/s   -15.0369 v p/f    -8.0197  frame  93 y   541.0230 dist m    11.91 v m/s   -15.2004 v p/f    -8.1069  frame  94 y   549.2170 dist m    12.16 v m/s   -15.3638 v p/f    -8.1940  frame  95 y   557.4982 dist m    12.42 v m/s   -15.5273 v p/f    -8.2812  frame  96 y   565.8666 dist m    12.68 v m/s   -15.6907 v p/f    -8.3684  frame  97 y   574.3222 dist m    12.95 v m/s   -15.8542 v p/f    -8.4556  frame  98 y   582.8649 dist m    13.21 v m/s   -16.0176 v p/f    -8.5427  frame  99 y   591.4948 dist m    13.48 v m/s   -16.1811 v p/f    -8.6299  frame  100 y   600.2119 dist m    13.76 v m/s   -16.3445 v p/f    -8.7171  frame  101 y   609.0161 dist m    14.03 v m/s   -16.5079 v p/f    -8.8042  frame  102 y   617.9075 dist m    14.31 v m/s   -16.6714 v p/f    -8.8914  frame  103 y   626.8861 dist m    14.59 v m/s   -16.8348 v p/f    -8.9786  frame  104 y   635.9518 dist m    14.87 v m/s   -16.9983 v p/f    -9.0657  frame  105 y   645.1047 dist m    15.16 v m/s   -17.1617 v p/f    -9.1529  frame  106 y   654.3448 dist m    15.45 v m/s   -17.3252 v p/f    -9.2401  frame  107 y   663.6721 dist m    15.74 v m/s   -17.4886 v p/f    -9.3273  frame  108 y   673.0865 dist m    16.03 v m/s   -17.6521 v p/f    -9.4144  frame  109 y   682.5881 dist m    16.33 v m/s   -17.8155 v p/f    -9.5016  frame  110 y   692.1769 dist m    16.63 v m/s   -17.9789 v p/f    -9.5888  frame  111 y   701.8528 dist m    16.93 v m/s   -18.1424 v p/f    -9.6759  frame  112 y   711.6160 dist m    17.24 v m/s   -18.3058 v p/f    -9.7631  frame  113 y   721.4662 dist m    17.55 v m/s   -18.4693 v p/f    -9.8503  frame  114 y   731.4037 dist m    17.86 v m/s   -18.6327 v p/f    -9.9375  frame  115 y   741.4283 dist m    18.17 v m/s   -18.7962 v p/f   -10.0246  frame  116 y   751.5401 dist m    18.49 v m/s   -18.9596 v p/f   -10.1118  frame  117 y   761.7391 dist m    18.80 v m/s   -19.1231 v p/f   -10.1990  frame  118 y   772.0252 dist m    19.13 v m/s   -19.2865 v p/f   -10.2861  frame  119 y   782.3985 dist m    19.45 v m/s   -19.4500 v p/f   -10.3733 *frame*  120 y   792.8590 dist m    19.78 v m/s   -19.6134 v p/f   -10.4605  frame  121 y   803.4067 dist m    20.11 v m/s   -19.7768 v p/f   -10.5477  frame  122 y   814.0415 dist m    20.44 v m/s   -19.9403 v p/f   -10.6348  frame  123 y   824.7635 dist m    20.77 v m/s   -20.1037 v p/f   -10.7220  frame  124 y   835.5726 dist m    21.11 v m/s   -20.2672 v p/f   -10.8092  frame  125 y   846.4690 dist m    21.45 v m/s   -20.4306 v p/f   -10.8963  frame  126 y   857.4525 dist m    21.80 v m/s   -20.5941 v p/f   -10.9835  frame  127 y   868.5232 dist m    22.14 v m/s   -20.7575 v p/f   -11.0707  frame  128 y   879.6810 dist m    22.49 v m/s   -20.9210 v p/f   -11.1578  frame  129 y   890.9260 dist m    22.84 v m/s   -21.0844 v p/f   -11.2450  frame  130 y   902.2582 dist m    23.20 v m/s   -21.2479 v p/f   -11.3322  frame  131 y   913.6776 dist m    23.55 v m/s   -21.4113 v p/f   -11.4194  frame  132 y   925.1841 dist m    23.91 v m/s   -21.5747 v p/f   -11.5065  frame  133 y   936.7778 dist m    24.27 v m/s   -21.7382 v p/f   -11.5937  frame  134 y   948.4587 dist m    24.64 v m/s   -21.9016 v p/f   -11.6809  frame  135 y   960.2267 dist m    25.01 v m/s   -22.0651 v p/f   -11.7680  frame  136 y   972.0820 dist m    25.38 v m/s   -22.2285 v p/f   -11.8552  frame  137 y   984.0244 dist m    25.75 v m/s   -22.3920 v p/f   -11.9424  frame  138 y   996.0539 dist m    26.13 v m/s   -22.5554 v p/f   -12.0296  frame  139 y  1008.1706 dist m    26.51 v m/s   -22.7189 v p/f   -12.1167  frame  140 y  1020.3745 dist m    26.89 v m/s   -22.8823 v p/f   -12.2039  frame  141 y  1032.6655 dist m    27.27 v m/s   -23.0457 v p/f   -12.2911  frame  142 y  1045.0437 dist m    27.66 v m/s   -23.2092 v p/f   -12.3782  frame  143 y  1057.5092 dist m    28.05 v m/s   -23.3726 v p/f   -12.4654  frame  144 y  1070.0618 dist m    28.44 v m/s   -23.5361 v p/f   -12.5526  frame  145 y  1082.7015 dist m    28.83 v m/s   -23.6995 v p/f   -12.6397  frame  146 y  1095.4285 dist m    29.23 v m/s   -23.8630 v p/f   -12.7269  frame  147 y  1108.2426 dist m    29.63 v m/s   -24.0264 v p/f   -12.8141  frame  148 y  1121.1438 dist m    30.04 v m/s   -24.1899 v p/f   -12.9013  frame  149 y  1134.1322 dist m    30.44 v m/s   -24.3533 v p/f   -12.9884  frame  150 y  1147.2078 dist m    30.85 v m/s   -24.5168 v p/f   -13.0756  frame  151 y  1160.3705 dist m    31.26 v m/s   -24.6802 v p/f   -13.1628  frame  152 y  1173.6205 dist m    31.68 v m/s   -24.8436 v p/f   -13.2499  frame  153 y  1186.9576 dist m    32.09 v m/s   -25.0071 v p/f   -13.3371  frame  154 y  1200.3820 dist m    32.51 v m/s   -25.1705 v p/f   -13.4243  frame  155 y  1213.8934 dist m    32.93 v m/s   -25.3340 v p/f   -13.5115  frame  156 y  1227.4921 dist m    33.36 v m/s   -25.4974 v p/f   -13.5986  frame  157 y  1241.1779 dist m    33.79 v m/s   -25.6609 v p/f   -13.6858  frame  158 y  1254.9508 dist m    34.22 v m/s   -25.8243 v p/f   -13.7730  frame  159 y  1268.8109 dist m    34.65 v m/s   -25.9878 v p/f   -13.8601  frame  160 y  1282.7582 dist m    35.09 v m/s   -26.1512 v p/f   -13.9473  frame  161 y  1296.7926 dist m    35.52 v m/s   -26.3146 v p/f   -14.0345  frame  162 y  1310.9143 dist m    35.97 v m/s   -26.4781 v p/f   -14.1216  frame  163 y  1325.1232 dist m    36.41 v m/s   -26.6415 v p/f   -14.2088  frame  164 y  1339.4192 dist m    36.86 v m/s   -26.8050 v p/f   -14.2960  frame  165 y  1353.8024 dist m    37.31 v m/s   -26.9684 v p/f   -14.3832  frame  166 y  1368.2727 dist m    37.76 v m/s   -27.1319 v p/f   -14.4703  frame  167 y  1382.8302 dist m    38.21 v m/s   -27.2953 v p/f   -14.5575  frame  168 y  1397.4749 dist m    38.67 v m/s   -27.4588 v p/f   -14.6447  frame  169 y  1412.2067 dist m    39.13 v m/s   -27.6222 v p/f   -14.7318  frame  170 y  1427.0256 dist m    39.59 v m/s   -27.7857 v p/f   -14.8190  frame  171 y  1441.9318 dist m    40.06 v m/s   -27.9491 v p/f   -14.9062  frame  172 y  1456.9252 dist m    40.53 v m/s   -28.1125 v p/f   -14.9934  frame  173 y  1472.0057 dist m    41.00 v m/s   -28.2760 v p/f   -15.0805  frame  174 y  1487.1735 dist m    41.47 v m/s   -28.4394 v p/f   -15.1677  frame  175 y  1502.4283 dist m    41.95 v m/s   -28.6029 v p/f   -15.2549  frame  176 y  1517.7704 dist m    42.43 v m/s   -28.7663 v p/f   -15.3420  frame  177 y  1533.1996 dist m    42.91 v m/s   -28.9298 v p/f   -15.4292  frame  178 y  1548.7159 dist m    43.40 v m/s   -29.0932 v p/f   -15.5164  frame  179 y  1564.3195 dist m    43.88 v m/s   -29.2567 v p/f   -15.6035 *frame*  180 y  1580.0101 dist m    44.38 v m/s   -29.4201 v p/f   -15.6907  frame  181 y  1595.7880 dist m    44.87 v m/s   -29.5835 v p/f   -15.7779  frame  182 y  1611.6531 dist m    45.36 v m/s   -29.7470 v p/f   -15.8651  frame  183 y  1627.6053 dist m    45.86 v m/s   -29.9104 v p/f   -15.9522  frame  184 y  1643.6448 dist m    46.36 v m/s   -30.0739 v p/f   -16.0394  frame  185 y  1659.7714 dist m    46.87 v m/s   -30.2373 v p/f   -16.1266  frame  186 y  1675.9851 dist m    47.37 v m/s   -30.4008 v p/f   -16.2137  frame  187 y  1692.2860 dist m    47.88 v m/s   -30.5642 v p/f   -16.3009  frame  188 y  1708.6741 dist m    48.40 v m/s   -30.7277 v p/f   -16.3881  frame  189 y  1725.1493 dist m    48.91 v m/s   -30.8911 v p/f   -16.4753  frame  190 y  1741.7117 dist m    49.43 v m/s   -31.0546 v p/f   -16.5624  frame  191 y  1758.3613 dist m    49.95 v m/s   -31.2180 v p/f   -16.6496  frame  192 y  1775.0981 dist m    50.47 v m/s   -31.3814 v p/f   -16.7368  frame  193 y  1791.9221 dist m    51.00 v m/s   -31.5449 v p/f   -16.8239  frame  194 y  1808.8333 dist m    51.53 v m/s   -31.7083 v p/f   -16.9111  frame  195 y  1825.8315 dist m    52.06 v m/s   -31.8718 v p/f   -16.9983  frame  196 y  1842.9170 dist m    52.59 v m/s   -32.0352 v p/f   -17.0855  frame  197 y  1860.0896 dist m    53.13 v m/s   -32.1987 v p/f   -17.1726  frame  198 y  1877.3494 dist m    53.67 v m/s   -32.3621 v p/f   -17.2598  frame  199 y  1894.6963 dist m    54.21 v m/s   -32.5256 v p/f   -17.3470  frame  200 y  1912.1304 dist m    54.75 v m/s   -32.6890 v p/f   -17.4341  frame  201 y  1929.6517 dist m    55.30 v m/s   -32.8524 v p/f   -17.5213  frame  202 y  1947.2603 dist m    55.85 v m/s   -33.0159 v p/f   -17.6085  frame  203 y  1964.9559 dist m    56.40 v m/s   -33.1793 v p/f   -17.6956  frame  204 y  1982.7388 dist m    56.96 v m/s   -33.3428 v p/f   -17.7828  frame  205 y  2000.6088 dist m    57.52 v m/s   -33.5062 v p/f   -17.8700  frame  206 y  2018.5659 dist m    58.08 v m/s   -33.6697 v p/f   -17.9572  frame  207 y  2036.6102 dist m    58.64 v m/s   -33.8331 v p/f   -18.0443  frame  208 y  2054.7417 dist m    59.21 v m/s   -33.9966 v p/f   -18.1315  frame  209 y  2072.9604 dist m    59.78 v m/s   -34.1600 v p/f   -18.2187  frame  210 y  2091.2664 dist m    60.35 v m/s   -34.3234 v p/f   -18.3058  frame  211 y  2109.6594 dist m    60.93 v m/s   -34.4869 v p/f   -18.3930  frame  212 y  2128.1396 dist m    61.50 v m/s   -34.6503 v p/f   -18.4802  frame  213 y  2146.7070 dist m    62.08 v m/s   -34.8138 v p/f   -18.5674  frame  214 y  2165.3616 dist m    62.67 v m/s   -34.9772 v p/f   -18.6545  frame  215 y  2184.1033 dist m    63.25 v m/s   -35.1407 v p/f   -18.7417  frame  216 y  2202.9321 dist m    63.84 v m/s   -35.3041 v p/f   -18.8289  frame  217 y  2221.8481 dist m    64.43 v m/s   -35.4676 v p/f   -18.9160  frame  218 y  2240.8513 dist m    65.03 v m/s   -35.6310 v p/f   -19.0032  frame  219 y  2259.9417 dist m    65.62 v m/s   -35.7945 v p/f   -19.0904  frame  220 y  2279.1191 dist m    66.22 v m/s   -35.9579 v p/f   -19.1775  frame  221 y  2298.3838 dist m    66.82 v m/s   -36.1213 v p/f   -19.2647  frame  222 y  2317.7356 dist m    67.43 v m/s   -36.2848 v p/f   -19.3519  frame  223 y  2337.1746 dist m    68.04 v m/s   -36.4482 v p/f   -19.4391  frame  224 y  2356.7007 dist m    68.65 v m/s   -36.6117 v p/f   -19.5262  frame  225 y  2376.3140 dist m    69.26 v m/s   -36.7751 v p/f   -19.6134  frame  226 y  2396.0146 dist m    69.88 v m/s   -36.9386 v p/f   -19.7006  frame  227 y  2415.8025 dist m    70.49 v m/s   -37.1020 v p/f   -19.7877  frame  228 y  2435.6775 dist m    71.11 v m/s   -37.2655 v p/f   -19.8749  frame  229 y  2455.6396 dist m    71.74 v m/s   -37.4289 v p/f   -19.9621  frame  230 y  2475.6890 dist m    72.37 v m/s   -37.5923 v p/f   -20.0493  frame  231 y  2495.8254 dist m    72.99 v m/s   -37.7558 v p/f   -20.1364  frame  232 y  2516.0491 dist m    73.63 v m/s   -37.9192 v p/f   -20.2236  frame  233 y  2536.3599 dist m    74.26 v m/s   -38.0827 v p/f   -20.3108  frame  234 y  2556.7578 dist m    74.90 v m/s   -38.2461 v p/f   -20.3979  frame  235 y  2577.2429 dist m    75.54 v m/s   -38.4096 v p/f   -20.4851  frame  236 y  2597.8152 dist m    76.18 v m/s   -38.5730 v p/f   -20.5723  frame  237 y  2618.4746 dist m    76.83 v m/s   -38.7365 v p/f   -20.6594  frame  238 y  2639.2212 dist m    77.48 v m/s   -38.8999 v p/f   -20.7466  frame  239 y  2660.0549 dist m    78.13 v m/s   -39.0634 v p/f   -20.8338 *frame*  240 y  2680.9758 dist m    78.78 v m/s   -39.2268 v p/f   -20.9210  
  2. Sorry for the obvious error regarding mt (i mean m offcurse) and thank you Norman for the tips u gave me. I have to admit I get little bit lost on the discussion about acceleration. I understand I make stupid error about conversion so I must convert ((a*32)/fps)/fps to get the correct conversion as said Antony, right ?
  3.   I guess the only solution usable could be the adapt gravity value on smaller value. I will try to fix the view on the screen too as suggested Mussi, thank you for the suggestions.
  4. Well fun is not take into account if I have to write some drag and lift formula and expect certain behavior by my body with certain values and in opposite find totally different :) my object it's a 5 mt box and must be this size but not think I can scale down to 32px per 5 ..... Drag and lift based on speed so I would like to get at least some sort of normality on numbers.
  5. Hello everyone, I would like to know your opinion about the problem I'm facing right now. I'm try to using GameMaker for make a simple game that will let user control a box where I will apply a "normal" force of gravity like on earth of 9.81m/s², for convenience I decide to use a scale of 1 mt equal to 32 pixel. 1 second is equivalent to 60 frame execution so based on this I will get a velocity increment of around 5.232 pixel per frame and offcurse that's a lot and result in my object just disappear from screen in 2 seconds. I want to keep correct numbers just because I want then to implement the drag and lift force for this object but I'm already stopped from this simple limit. What's your suggestions ? Thank you for the patience, best regards.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!