STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #83139 |
Мимо ! |
Ура! Цель поражена! |
x |
v |
dt |
dx |
|
y |
dy |
|
6 |
1 |
|
k |
2 |
4 |
, |
0 |
2 |
воздуха |
r |
|
|
|
чугуна |
m |
3 |
3 |
, где |
Математическая модель |
y(t) = v 0 • t• sinα - g•t 2 /2 |
x(t) = v 0 • t• cos α |
Математическая модель |
Математическое моделирование |
Полет снаряда, выпущенного из пушки |
Управляемые параметры |
Постоянные величины |
L = 550 м - расст. до центра цели |
H = 170 м - высота цели |
v |
o |
- начальная скорость (м/с) |
α |
- угол к горизонту |
α |
m - масса снаряда (кг) |
Сопротивление воздуха |
r = 0,07 м - радиус снаряда |
d = 40 м - диаметр цели |
k1 и k2 - коэффициенты |
60 |
200 |
0° |
90° |
ПУСК ! |
Очистить |
L |
H |
не учитывать |
учитывать |
v x |
v y |
v 0 |
d |
Время (с) |
(0,0) |
X |
Y |
ActionScript [AS1/AS2]
Frame 1function my_round(number, n) { var _local1 = Math.pow(10, n); return(Math.round(number * _local1) / _local1); } fscommand ("fullscreen", "true"); fscommand ("allowscale", "false"); btnExit.onRelease = function () { fscommand ("quit"); }; var frm; var c; var pov = 0; var mu = 0.0182; var ro1 = 1.29; var ro2 = 7800; var radius = 0.07; var m = 1000; var vx; var vy; var xd; var yd; var vxd; var vyd; var k; var k1; var k2; var a = 0.013; var b = 0.049; var midPrav; var push; var frameRate = 6; var t = 0; var x0 = 35; var y0 = 710; var L = 550; var H = 170; var nose = 10; var newspeed = 130; var speed; var depth = 100; var depthdied = 10; var newangle = (Math.PI/4); var angle; var initP = new Object(); initP._x = 35; initP._y = 710; initP._rotation = 0; push = attachMovie("idPushka", "didPushka", 3, initP); black1._visible = true; black2._visible = false; in1.text = 130; in2.text = 45; var initObj = new Object(); initObj._x = 520; initObj._y = 220; frm = attachMovie("idformula1", "didformula1", 1, initObj); bel1.onPress = function () { black1._visible = true; black2._visible = false; var _local1 = new Object(); _local1._x = 520; _local1._y = 220; frm = attachMovie("idformula1", "didformula1", 1, _local1); }; bel2.onPress = function () { black2._visible = true; black1._visible = false; var _local1 = new Object(); _local1._x = 430; _local1._y = 200; frm = attachMovie("idformula2", "didformula2", 1, _local1); }; btnPusk.onRelease = function () { var _local1 = this; var _local2 = _root; _local1.enabled = false; btnClear.enabled = false; depth++; angle = newangle; speed = newspeed; t = 0; var name = ("idyadro" + depth); var clip = _local2.attachMovie("idyadro", name, depth); clip._x = x0; clip._y = y0; xd = x0; yd = y0; vxd = speed * Math.cos(angle); vyd = speed * Math.sin(angle); k = 0.22; m = (((4.18879020478639 * radius) * radius) * radius) * ro2; k1 = 18.8495559215388 * mu; k2 = (((1.25663706143592 * radius) * radius) * ro1) / 2; clip.onEnterFrame = function () { var _local1 = this; var _local2 = _root; if (black1._visible) { t = t + (1 / framerate); tout.text = my_round(t, 2); _local1._x = x0 + ((speed * t) * Math.cos(angle)); _local1._y = (y0 - ((speed * t) * Math.sin(angle))) + (((9.8 * t) * t) / 2); depth++; var n = ("idpoint" + depth); var cl = _local2.attachMovie("idpoint", n, depth); cl._x = _local1._x; cl._y = _local1._y; if (clip.hitTest(cell1)) { depthdied++; var n2 = ("iddied" + depthdied); var cl2 = _local2.attachMovie("iddied", n2, depthdied); cl2._x = _local1._x; cl2._y = _local1._y; clip.removeMovieClip(); var _local3 = new Object(); _local3._x = 80; _local3._y = 260; midPrav = attachMovie("idPrav", "didPrav", 2, _local3); btnPusk.enabled = true; btnClear.enabled = true; } else if ((((clip.hitTest(noncellex1) || (clip.hitTest(noncell1ex1))) || (clip.hitTest(noncell2ex1))) || (clip.hitTest(noncell3ex1))) || (clip.hitTest(noncell4ex1))) { depthdied++; var n2 = ("iddied" + depthdied); var cl2 = _local2.attachMovie("iddied", n2, depthdied); cl2._x = _local1._x; cl2._y = _local1._y; clip.removeMovieClip(); var _local3 = new Object(); _local3._x = 180; _local3._y = 230; midPrav = attachMovie("idNeprav", "didNeprav", 2, _local3); btnPusk.enabled = true; btnClear.enabled = true; } } else { t = t + (1 / framerate); tout.text = my_round(t, 2); _local1._x = xd + (k * vxd); _local1._y = yd - (k * vyd); c = Math.sqrt((vxd * vxd) + (vyd * vyd)); vx = vxd + (k * (((-(k1 + (k2 * c))) * vxd) / m)); vy = vyd + (k * (-9.8 - (((k1 + (k2 * c)) * vyd) / m))); xd = _local1._x; yd = _local1._y; vxd = vx; vyd = vy; depth++; var n = ("idpointblue" + depth); var cl = _local2.attachMovie("idpointblue", n, depth); cl._x = _local1._x; cl._y = _local1._y; if (clip.hitTest(cell1)) { depthdied++; var n2 = ("iddied" + depthdied); var cl2 = _local2.attachMovie("iddied", n2, depthdied); cl2._x = _local1._x; cl2._y = _local1._y; clip.removeMovieClip(); var _local3 = new Object(); _local3._x = 80; _local3._y = 260; midPrav = attachMovie("idPrav", "didPrav", 2, _local3); btnPusk.enabled = true; btnClear.enabled = true; } else if ((((clip.hitTest(noncellex1) || (clip.hitTest(noncell1ex1))) || (clip.hitTest(noncell2ex1))) || (clip.hitTest(noncell3ex1))) || (clip.hitTest(noncell4ex1))) { depthdied++; var n2 = ("iddied" + depthdied); var cl2 = _local2.attachMovie("iddied", n2, depthdied); cl2._x = _local1._x; cl2._y = _local1._y; clip.removeMovieClip(); var _local3 = new Object(); _local3._x = 180; _local3._y = 230; midPrav = attachMovie("idNeprav", "didNeprav", 2, _local3); btnPusk.enabled = true; btnClear.enabled = true; } } }; }; btnClear.onRelease = function () { var i = 100; while (i <= depth) { eval ("idpoint" + i).removeMovieClip(); eval ("idpointblue" + i).removeMovieClip(); i++; } depth = 100; var i = 1; while (i <= depthdied) { eval ("iddied" + i).removeMovieClip(); i++; } depthdied = 10; tout.text = 0; midPrav.removeMovieClip(); }; skala1.begun2.onPress = function () { this.startDrag(true, 0, -skala1.polz2._height, 0, 0); _root.onMouseMove = function () { newspeed = ((-140 * skala1.begun2._y) / skala1.polz2._height) + 60; in1.text = Math.floor(newspeed); }; }; skala1.begun2.onRelease = function () { this.stopDrag(); delete _root.onMouseMove; }; skala1.begun2.onReleaseOutside = function () { this.stopDrag(); delete _root.onMouseMove; }; skala2.begun2.onPress = function () { this.startDrag(true, 0, -skala2.polz2._height, 0, 0); _root.onMouseMove = function () { newangle = ((Math.PI/2) * (-skala2.begun2._y)) / skala2.polz2._height; in2.text = Math.floor((newangle * 180) / Math.PI) + 1; }; }; skala2.begun2.onRelease = function () { this.stopDrag(); delete _root.onMouseMove; initP._rotation = (45 - Math.floor((newangle * 180) / Math.PI)) - 1; push = attachMovie("idPushka", "didPushka", 3, initP); }; skala2.begun2.onReleaseOutside = function () { this.stopDrag(); delete _root.onMouseMove; initP._rotation = (45 - Math.floor((newangle * 180) / Math.PI)) - 1; push = attachMovie("idPushka", "didPushka", 3, initP); };
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip [idPushka] | Uses:1 | |
Symbol 3 Graphic | Used by:4 5 8 84 88 136 | |
Symbol 4 MovieClip [iddied] | Uses:3 | |
Symbol 5 MovieClip [idyadro] | Uses:3 | |
Symbol 6 Graphic | Used by:7 | |
Symbol 7 MovieClip [idpointblue] | Uses:6 | |
Symbol 8 MovieClip [idpoint] | Uses:3 | |
Symbol 9 Font | Used by:10 12 73 94 95 96 99 100 102 106 114 125 126 129 130 138 139 141 143 144 148 150 151 152 153 154 | |
Symbol 10 EditableText | Uses:9 | Used by:11 |
Symbol 11 MovieClip [idNeprav] | Uses:10 | |
Symbol 12 EditableText | Uses:9 | Used by:13 |
Symbol 13 MovieClip [idPrav] | Uses:12 | |
Symbol 14 Bitmap | Used by:17 | |
Symbol 15 Bitmap | Used by:17 | |
Symbol 16 Bitmap | Used by:17 | |
Symbol 17 Graphic | Uses:14 15 16 | Used by:59 |
Symbol 18 Font | Used by:19 20 21 22 29 30 37 44 45 50 51 | |
Symbol 19 Text | Uses:18 | Used by:59 |
Symbol 20 Text | Uses:18 | Used by:59 |
Symbol 21 Text | Uses:18 | Used by:59 |
Symbol 22 Text | Uses:18 | Used by:59 |
Symbol 23 Font | Used by:24 36 48 | |
Symbol 24 Text | Uses:23 | Used by:59 |
Symbol 25 Font | Used by:26 27 54 | |
Symbol 26 Text | Uses:25 | Used by:59 |
Symbol 27 Text | Uses:25 | Used by:59 |
Symbol 28 Graphic | Used by:59 | |
Symbol 29 Text | Uses:18 | Used by:59 |
Symbol 30 Text | Uses:18 | Used by:59 |
Symbol 31 Font | Used by:32 46 47 | |
Symbol 32 Text | Uses:31 | Used by:59 |
Symbol 33 Font | Used by:34 35 39 40 41 42 43 52 53 | |
Symbol 34 Text | Uses:33 | Used by:59 |
Symbol 35 Text | Uses:33 | Used by:59 |
Symbol 36 Text | Uses:23 | Used by:59 |
Symbol 37 Text | Uses:18 | Used by:59 |
Symbol 38 Graphic | Used by:59 | |
Symbol 39 Text | Uses:33 | Used by:59 |
Symbol 40 Text | Uses:33 | Used by:59 |
Symbol 41 Text | Uses:33 | Used by:59 |
Symbol 42 Text | Uses:33 | Used by:59 |
Symbol 43 Text | Uses:33 | Used by:59 |
Symbol 44 Text | Uses:18 | Used by:59 |
Symbol 45 Text | Uses:18 | Used by:59 |
Symbol 46 Text | Uses:31 | Used by:59 |
Symbol 47 Text | Uses:31 | Used by:59 |
Symbol 48 Text | Uses:23 | Used by:59 |
Symbol 49 Graphic | Used by:59 | |
Symbol 50 Text | Uses:18 | Used by:59 |
Symbol 51 Text | Uses:18 | Used by:59 |
Symbol 52 Text | Uses:33 | Used by:59 |
Symbol 53 Text | Uses:33 | Used by:59 |
Symbol 54 Text | Uses:25 | Used by:59 |
Symbol 55 Font | Used by:56 | |
Symbol 56 EditableText | Uses:55 | Used by:59 |
Symbol 57 Font | Used by:58 64 97 98 101 103 112 115 116 117 121 122 123 124 131 132 | |
Symbol 58 EditableText | Uses:57 | Used by:59 |
Symbol 59 MovieClip [idformula2] | Uses:17 19 20 21 22 24 26 27 28 29 30 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 56 58 | |
Symbol 60 Font | Used by:62 63 | |
Symbol 61 Font | Used by:62 63 | |
Symbol 62 Text | Uses:60 61 | Used by:65 |
Symbol 63 Text | Uses:60 61 | Used by:65 |
Symbol 64 EditableText | Uses:57 | Used by:65 |
Symbol 65 MovieClip [idformula1] | Uses:62 63 64 | |
Symbol 66 Bitmap | Used by:67 | |
Symbol 67 Graphic | Uses:66 | Used by:Timeline |
Symbol 68 Graphic | Used by:72 | |
Symbol 69 Graphic | Used by:72 | |
Symbol 70 Graphic | Used by:72 | |
Symbol 71 Graphic | Used by:72 | |
Symbol 72 Button | Uses:68 69 70 71 | Used by:Timeline |
Symbol 73 EditableText | Uses:9 | Used by:Timeline |
Symbol 74 Graphic | Used by:Timeline | |
Symbol 75 Graphic | Used by:76 | |
Symbol 76 MovieClip | Uses:75 | Used by:84 88 |
Symbol 77 Graphic | Used by:84 | |
Symbol 78 Graphic | Used by:84 | |
Symbol 79 Graphic | Used by:80 | |
Symbol 80 MovieClip | Uses:79 | Used by:84 88 |
Symbol 81 Graphic | Used by:84 | |
Symbol 82 Graphic | Used by:84 88 | |
Symbol 83 Graphic | Used by:84 88 | |
Symbol 84 Button | Uses:76 3 77 78 80 81 82 83 | Used by:Timeline |
Symbol 85 Graphic | Used by:88 | |
Symbol 86 Graphic | Used by:88 | |
Symbol 87 Graphic | Used by:88 | |
Symbol 88 Button | Uses:76 3 85 86 80 87 82 83 | Used by:Timeline |
Symbol 89 Graphic | Used by:90 | |
Symbol 90 MovieClip | Uses:89 | Used by:93 |
Symbol 91 Graphic | Used by:92 | |
Symbol 92 MovieClip | Uses:91 | Used by:93 |
Symbol 93 MovieClip | Uses:90 92 | Used by:Timeline |
Symbol 94 EditableText | Uses:9 | Used by:Timeline |
Symbol 95 EditableText | Uses:9 | Used by:Timeline |
Symbol 96 EditableText | Uses:9 | Used by:Timeline |
Symbol 97 EditableText | Uses:57 | Used by:Timeline |
Symbol 98 EditableText | Uses:57 | Used by:Timeline |
Symbol 99 EditableText | Uses:9 | Used by:Timeline |
Symbol 100 EditableText | Uses:9 | Used by:Timeline |
Symbol 101 EditableText | Uses:57 | Used by:Timeline |
Symbol 102 EditableText | Uses:9 | Used by:Timeline |
Symbol 103 EditableText | Uses:57 | Used by:Timeline |
Symbol 104 Graphic | Used by:105 | |
Symbol 105 MovieClip | Uses:104 | Used by:Timeline |
Symbol 106 EditableText | Uses:9 | Used by:Timeline |
Symbol 107 Graphic | Used by:108 | |
Symbol 108 MovieClip | Uses:107 | Used by:Timeline |
Symbol 109 Graphic | Used by:110 111 | |
Symbol 110 MovieClip | Uses:109 | Used by:Timeline |
Symbol 111 MovieClip | Uses:109 | Used by:Timeline |
Symbol 112 EditableText | Uses:57 | Used by:Timeline |
Symbol 113 Graphic | Used by:Timeline | |
Symbol 114 EditableText | Uses:9 | Used by:Timeline |
Symbol 115 EditableText | Uses:57 | Used by:Timeline |
Symbol 116 EditableText | Uses:57 | Used by:Timeline |
Symbol 117 EditableText | Uses:57 | Used by:Timeline |
Symbol 118 Graphic | Used by:119 | |
Symbol 119 MovieClip | Uses:118 | Used by:Timeline |
Symbol 120 Graphic | Used by:Timeline | |
Symbol 121 EditableText | Uses:57 | Used by:Timeline |
Symbol 122 EditableText | Uses:57 | Used by:Timeline |
Symbol 123 EditableText | Uses:57 | Used by:Timeline |
Symbol 124 EditableText | Uses:57 | Used by:Timeline |
Symbol 125 EditableText | Uses:9 | Used by:Timeline |
Symbol 126 EditableText | Uses:9 | Used by:Timeline |
Symbol 127 Graphic | Used by:128 | |
Symbol 128 MovieClip | Uses:127 | Used by:Timeline |
Symbol 129 EditableText | Uses:9 | Used by:Timeline |
Symbol 130 EditableText | Uses:9 | Used by:Timeline |
Symbol 131 EditableText | Uses:57 | Used by:Timeline |
Symbol 132 EditableText | Uses:57 | Used by:Timeline |
Symbol 133 Graphic | Used by:134 | |
Symbol 134 MovieClip | Uses:133 | Used by:Timeline |
Symbol 135 Graphic | Used by:Timeline | |
Symbol 136 MovieClip | Uses:3 | Used by:Timeline |
Symbol 137 Font | Used by:138 139 | |
Symbol 138 Text | Uses:9 137 | Used by:Timeline |
Symbol 139 Text | Uses:9 137 | Used by:Timeline |
Symbol 140 Font | Used by:141 | |
Symbol 141 Text | Uses:9 140 | Used by:Timeline |
Symbol 142 Graphic | Used by:Timeline | |
Symbol 143 EditableText | Uses:9 | Used by:Timeline |
Symbol 144 EditableText | Uses:9 | Used by:Timeline |
Symbol 145 Graphic | Used by:146 | |
Symbol 146 MovieClip | Uses:145 | Used by:Timeline |
Symbol 147 Graphic | Used by:Timeline | |
Symbol 148 EditableText | Uses:9 | Used by:Timeline |
Symbol 149 Graphic | Used by:Timeline | |
Symbol 150 EditableText | Uses:9 | Used by:Timeline |
Symbol 151 EditableText | Uses:9 | Used by:Timeline |
Symbol 152 EditableText | Uses:9 | Used by:Timeline |
Symbol 153 EditableText | Uses:9 | Used by:Timeline |
Symbol 154 EditableText | Uses:9 | Used by:Timeline |
Instance Names
"btnExit" | Frame 1 | Symbol 72 Button |
"btnClear" | Frame 1 | Symbol 84 Button |
"btnPusk" | Frame 1 | Symbol 88 Button |
"skala1" | Frame 1 | Symbol 93 MovieClip |
"skala2" | Frame 1 | Symbol 93 MovieClip |
"noncellex1" | Frame 1 | Symbol 105 MovieClip |
"noncell1ex1" | Frame 1 | Symbol 108 MovieClip |
"noncell2ex1" | Frame 1 | Symbol 110 MovieClip |
"noncell3ex1" | Frame 1 | Symbol 111 MovieClip |
"noncell4ex1" | Frame 1 | Symbol 119 MovieClip |
"bel1" | Frame 1 | Symbol 134 MovieClip |
"bel2" | Frame 1 | Symbol 134 MovieClip |
"black1" | Frame 1 | Symbol 136 MovieClip |
"black2" | Frame 1 | Symbol 136 MovieClip |
"in1" | Frame 1 | Symbol 143 EditableText |
"in2" | Frame 1 | Symbol 144 EditableText |
"cell1" | Frame 1 | Symbol 146 MovieClip |
"tout" | Frame 1 | Symbol 154 EditableText |
"polz2" | Symbol 93 MovieClip Frame 1 | Symbol 90 MovieClip |
"begun2" | Symbol 93 MovieClip Frame 1 | Symbol 92 MovieClip |
Special Tags
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "idPushka" |
ExportAssets (56) | Timeline Frame 1 | Symbol 4 as "iddied" |
ExportAssets (56) | Timeline Frame 1 | Symbol 5 as "idyadro" |
ExportAssets (56) | Timeline Frame 1 | Symbol 7 as "idpointblue" |
ExportAssets (56) | Timeline Frame 1 | Symbol 8 as "idpoint" |
ExportAssets (56) | Timeline Frame 1 | Symbol 11 as "idNeprav" |
ExportAssets (56) | Timeline Frame 1 | Symbol 13 as "idPrav" |
ExportAssets (56) | Timeline Frame 1 | Symbol 59 as "idformula2" |
ExportAssets (56) | Timeline Frame 1 | Symbol 65 as "idformula1" |
Labels
"kadr1" | Frame 1 |
|