STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/27883617?noj=FRM27883617-22DC" width="1" height="1"></div>

Chaves Rural Racer.swf

This is the info page for
Flash #241117

(Click the ID number above for more basic data on this flash file.)


Text
PRESENTS

RURAL RACER

1 PLAYER

1 PLAYER

There are 8 laps. You have to finish each track as the winner to advance to the next
level.

To make your car go faster, you can use turbo. You have to hold the turbo key (not only
to press it). While holding the turbo key, your car will go faster. Below the speed
indicator, you will see the status of the turbo energy. When you are out of energy, you
have to wait until it refills. After that you can use it again.

CONTROLS

P - pause,  ESC - back to menu

SPECIAL KEYS

S

A

D

W

Shift

~

`

player 1 keys

player 2 keys

turbo

BACK TO MENU

QUALITY OPTIONS

OPTIONS

SOUND OPTIONS

sound

music

high

medium

low

START

SPEED

TURBO

T

LAP

TIME

:

0

1

2

3

4

5

6

7

8

9

/

FINAL LAP

3

2

1

PLAY AGAIN

YOU LOSE

Press any button to continue

NEXT LEVEL

YOU WIN

PLAYER 1 WINS

PLAYER 2 WINS

PAUSE

PLAY ANOTHER GAME

ActionScript [AS1/AS2]

Frame 1
stop();
Frame 2
loaded = _root.getBytesLoaded(); full = _root.getBytesTotal(); if (loaded == full) { stop(); gotoAndPlay (11); } else { stazeno = math.floor((loaded / full) * 100) add "%"; }
Frame 3
gotoAndPlay ("load");
Frame 11
function p1_click() { typ_hry = 1; gotoAndPlay (12); } function p2_click() { typ_hry = 2; gotoAndPlay (12); } function help_click() { napoveda.gotoAndStop(2); } function help_click_close() { napoveda.gotoAndStop(1); } function nastaveni_click() { nastaveni.gotoAndStop(2); hudba_zvuky_update(); } function nastaveni_click_close() { nastaveni.gotoAndStop(1); } function hudba_click() { ma_se_prehravat_hudba = (ma_se_prehravat_hudba ? false : true); cislo_snimku = (ma_se_prehravat_hudba ? 1 : 2); nastaveni.ukazatel_hudba.gotoAndStop(cislo_snimku); } function zvuky_click() { maji_se_prehravat_zvuky = (maji_se_prehravat_zvuky ? false : true); cislo_snimku = (maji_se_prehravat_zvuky ? 1 : 2); nastaveni.ukazatel_zvuky.gotoAndStop(cislo_snimku); } function hudba_zvuky_update() { cislo_snimku = (ma_se_prehravat_hudba ? 1 : 2); nastaveni.ukazatel_hudba.gotoAndStop(cislo_snimku); cislo_snimku = (maji_se_prehravat_zvuky ? 1 : 2); nastaveni.ukazatel_zvuky.gotoAndStop(cislo_snimku); cislo_snimku = ((_quality == "LOW") ? 1 : 2); nastaveni.ukazatel_1.gotoAndStop(cislo_snimku); cislo_snimku = ((_quality == "MEDIUM") ? 1 : 2); nastaveni.ukazatel_2.gotoAndStop(cislo_snimku); cislo_snimku = ((_quality == "HIGH") ? 1 : 2); nastaveni.ukazatel_3.gotoAndStop(cislo_snimku); } function nastavit_kvalitu(cislo) { var _local1 = cislo; if (_local1 == 1) { _quality = "LOW"; hudba_zvuky_update(); } if (_local1 == 2) { _quality = "MEDIUM"; hudba_zvuky_update(); } if (_local1 == 3) { _quality = "HIGH"; hudba_zvuky_update(); } } typ_hry = 0; skok_pro_fadein_hudby = 3; if (!prvni_start_mame_za_sebou) { ma_se_prehravat_hudba = true; maji_se_prehravat_zvuky = true; } else { cislo_snimku = (ma_se_prehravat_hudba ? 1 : 2); nastaveni.ukazatel_hudba.gotoAndStop(cislo_snimku); cislo_snimku = (maji_se_prehravat_zvuky ? 1 : 2); nastaveni.ukazatel_zvuky.gotoAndStop(cislo_snimku); } prvni_start_mame_za_sebou = true; hudba_na_pozadi = new Sound(); hudba_na_pozadi.attachSound("music1"); hudba_na_pozadi.setVolume(0); if (prehrava_se_hudba) { hudba_na_pozadi.stop(); } prehrava_se_hudba = false; stop();
Frame 12
function vypocitej_uhel_ze_souradnic(rozdil_x, rozdil_y) { var _local1 = rozdil_y; var _local2 = rozdil_x; if (_local2 == 0) { _local2 = 0.01; } if (_local1 == 0) { _local1 = 0.01; } vystup = (Math.atan(_local2 / _local1) * 180) / Math.PI; if (_local1 < 0) { vystup = uhel(360 - vystup); } else { vystup = uhel(180 - vystup); } return(vystup); } function vypocitej_polomer_ze_souradnic(rozdil_x, rozdil_y) { vystup = Math.sqrt((rozdil_x * rozdil_x) + (rozdil_y * rozdil_y)); return(vystup); } function vypocitej_nove_souradnice(polomer, vstupni_uhel) { vystup = new Array(); vystup.x = vystup.x + (polomer * sintab[uhel(vstupni_uhel)]); vystup.y = vystup.y + (polomer * (-costab[uhel(vstupni_uhel)])); return(vystup); } function skryt_sipku_u_auta() { je_zobrazena_sipka_u_auta = false; sipka_auto.gotoAndStop(1); } function sound_updater() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].s < -2) { nove_cislo_zvuku = 3; } if ((auto[0].s < 0) && (auto[0].s >= -2)) { nove_cislo_zvuku = 2; } if (auto[0].s == 0) { nove_cislo_zvuku = 1; } if ((auto[0].s > 0) && (auto[0].s <= 2)) { nove_cislo_zvuku = 2; } if ((auto[0].s > 2) && (auto[0].s <= 4)) { nove_cislo_zvuku = 3; } if ((auto[0].s > 4) && (auto[0].s <= 6)) { nove_cislo_zvuku = 4; } if (auto[0].s > 6) { nove_cislo_zvuku = 5; } if (nove_cislo_zvuku != auto[0].zvuk_auta) { if (auto[0].zvuk_auta != 0) { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } } auto[0].zvuk_auta = nove_cislo_zvuku; if (nove_cislo_zvuku == 1) { auto[0].zvuk_r1.start(0, 9999); } if (nove_cislo_zvuku == 2) { auto[0].zvuk_r2.start(0, 9999); } if (nove_cislo_zvuku == 3) { auto[0].zvuk_r3.start(0, 9999); } if (nove_cislo_zvuku == 4) { auto[0].zvuk_r4.start(0, 9999); } if (nove_cislo_zvuku == 5) { auto[0].zvuk_r5.start(0, 9999); } } if (pauza_aktivni) { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } auto[0].zvuk_auta = 0; } if (auto[0].zvuk_hit_playing > 0) { auto[0].zvuk_hit_playing--; } } } function sound_hit_start() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_hit_playing == 0) { auto[0].zvuk_hit.start(0, 1); auto[0].zvuk_hit_playing = 8; } } } function sound_odpocet1() { if (maji_se_prehravat_zvuky) { auto[0].zvuk_odpocet1.start(0, 1); } } function sound_odpocet2() { if (maji_se_prehravat_zvuky) { auto[0].zvuk_odpocet2.start(0, 1); } } function sound_smyk_start() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_smyk == 0) { auto[0].zvuk_sm.start(0, 9999); auto[0].zvuk_smyk = 6; } } } function sound_smyk_stop() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_smyk > 1) { auto[0].zvuk_smyk--; } if (auto[0].zvuk_smyk == 1) { auto[0].zvuk_sm.stop(); auto[0].zvuk_smyk = 0; } } } function sound_updater_stop() { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } if (auto[0].zvuk_smyk == 1) { auto[0].zvuk_sm.stop(); } } function show_pauza() { pauza.gotoAndStop(2); } function hide_pauza() { pauza.gotoAndStop(1); } function ukaz_posledni_kolo(vstup) { if ((vstup == (pocet_kol - 1)) && (!ukazuje_se_posledni_kolo)) { lastlap.gotoAndPlay(2); ukazuje_se_posledni_kolo = true; } if ((vstup == pocet_kol) && (ukazuje_se_posledni_kolo)) { lastlap.gotoAndStop(1); ukazuje_se_posledni_kolo = false; } } function skryj_posledni_kolo() { lastlap.gotoAndStop(1); ukazuje_se_posledni_kolo = false; } function show_turbo(cislo) { if (cislo == 0) { turbo_hrac1.gotoAndPlay(2); } else { turbo_hrac2.gotoAndPlay(2); } auto[cislo].ukturbo = true; } function hide_turbo(cislo) { if (cislo == 0) { turbo_hrac1.gotoAndPlay(10); } else { turbo_hrac2.gotoAndPlay(10); } auto[cislo].ukturbo = false; } function set_kola(cislo, hodnota) { var _local1 = hodnota; _local1 = Math.floor(_local1) + 1; if (_local1 > pocet_kol) { _local1 = pocet_kol; } if (cislo == 0) { kola1.cislo_kola.gotoAndStop(_local1); } else { kola2.cislo_kola.gotoAndStop(_local1); } } function set_kola_cas(hodnota_kola, hodnota_cas) { var _local1 = hodnota_kola; _local1 = Math.floor(_local1) + 1; if (_local1 > pocet_kol) { _local1 = pocet_kol; } kola_cas.cislo_kola.gotoAndStop(_local1); ukaz_minuty = Math.floor((hodnota_cas / 25) / 60); ukaz_sekundy = Math.floor((hodnota_cas / 25) - (ukaz_minuty * 60)); hodnota_cislo1 = Math.floor(ukaz_minuty / 10); hodnota_cislo2 = ukaz_minuty - (hodnota_cislo1 * 10); hodnota_cislo1++; hodnota_cislo2++; kola_cas.cislo1.gotoAndStop(hodnota_cislo1); kola_cas.cislo2.gotoAndStop(hodnota_cislo2); hodnota_cislo3 = Math.floor(ukaz_sekundy / 10); hodnota_cislo4 = ukaz_sekundy - (hodnota_cislo3 * 10); hodnota_cislo3++; hodnota_cislo4++; kola_cas.cislo3.gotoAndStop(hodnota_cislo3); kola_cas.cislo4.gotoAndStop(hodnota_cislo4); } function set_turbo(cislo, hodnota) { if (cislo == 0) { panel_speed1.ukazatel_turbo1._xscale = Math.abs(hodnota); } else { panel_speed2.ukazatel_turbo2._xscale = Math.abs(hodnota); } } function set_speed(cislo, hodnota) { if (cislo == 0) { panel_speed1.ukazatel_rychlost1._xscale = Math.abs(hodnota); } else { panel_speed2.ukazatel_rychlost2._xscale = Math.abs(hodnota); } } function game_init() { if (typ_hry == 1) { panel_speed1.gotoAndStop(2); show_turbo(0); kola_cas.gotoAndStop(2); set_speed(0, 0); } else { panel_speed1.gotoAndStop(2); panel_speed2.gotoAndStop(2); kola1.gotoAndStop(2); kola2.gotoAndStop(2); show_turbo(0); show_turbo(1); set_speed(0, 0); set_speed(1, 0); } } function nastartuj() { start_action = true; gotoAndPlay (13); } function ingame_menu(vitez, vitezny_cas) { skryj_posledni_kolo(); zaverecne_menu_aktivni = true; sound_updater_stop(); if (typ_hry == 1) { if (vitez == 0) { endmenu.gotoAndStop(3); } else { endmenu.gotoAndStop(2); } } else if (vitez == 0) { endmenu.gotoAndStop(4); } else { endmenu.gotoAndStop(5); } } function hide_ingame_menu() { endmenu.gotoAndStop(1); } function restartovat() { hide_ingame_menu(); sound_updater_stop(); gotoAndPlay (12); } function zpet_do_main_menu() { hide_ingame_menu(); sound_updater_stop(); gotoAndPlay (11); } function dalsi_level() { hide_ingame_menu(); sound_updater_stop(); gotoAndStop (15); } function uhel(cislo) { var _local1 = cislo; _local1 = Math.round(_local1); while (_local1 > 359) { _local1 = _local1 - 360; } while (_local1 < 0) { _local1 = _local1 + 360; } return(_local1); } function soucet_uhlu(uhel1, uhel2, rychlost1, rychlost2) { var _local1 = uhel2; var _local2 = uhel1; var _local3 = rychlost2; _local2 = uhel(_local2); _local1 = uhel(_local1); if (Math.abs(_local2 - _local1) > 180) { if (_local1 < 180) { _local1 = _local1 + 360; } else { uhel = uhel - 360; } } if (_local3 > 0) { vystup = _local2 - ((_local2 - _local1) * (1 / ((rychlost1 + _local3) / _local3))); } else { vystup = _local2; } return(vystup); } function vyber_nejvyssi_cislo(cislo1, cislo2, cislo3, max_cislo) { var _local1 = cislo3; var _local2 = cislo2; var _local3 = cislo1; vystup = ((_local3 > _local2) ? (_local3) : (_local2)); vystup = ((_local1 > vystup) ? (_local1) : (vystup)); if ((((_local3 == 0) || (_local2 == 0)) || (_local1 == 0)) && (((_local3 == max_cislo) || (_local2 == max_cislo)) || (_local1 == max_cislo))) { vystup = 0; if (_local3 < (max_cislo - 1)) { vystup = _local3; } if ((_local2 < (max_cislo - 1)) && (_local2 > vystup)) { vystup = _local2; } if ((_local1 < (max_cislo - 1)) && (_local1 > vystup)) { vystup = _local1; } } return(vystup); } function spocitej_novou_pozici(cislo) { var _local1 = cislo; rozdil_x = Math.abs(cputrack[auto[_local1].bod].x - auto[_local1].x); rozdil_y = Math.abs(cputrack[auto[_local1].bod].y - auto[_local1].y); vzdalenost_bodu = Math.sqrt((rozdil_x * rozdil_x) + (rozdil_y * rozdil_y)); if (vzdalenost_bodu < vzdalenost_pro_zmenu_bodu) { auto[_local1].bod++; } if (auto[_local1].bod > max_cputrack) { auto[_local1].bod = 0; } auto[_local1].newx = cputrack[auto[_local1].bod].x; auto[_local1].newy = cputrack[auto[_local1].bod].y; rozdil_x = auto[_local1].newx - auto[_local1].x; rozdil_y = auto[_local1].newy - auto[_local1].y; if (rozdil_x == 0) { rozdil_x = 0.1; } if (rozdil_y == 0) { rozdil_y = 0.1; } auto[_local1].newr = (Math.atan(rozdil_x / rozdil_y) * 180) / Math.PI; if (rozdil_y < 0) { auto[_local1].newr = uhel(360 - auto[_local1].newr); } else { auto[_local1].newr = uhel(180 - auto[_local1].newr); } rozdil_uhlu2 = Math.abs(uhel(auto[_local1].r) - auto[_local1].newr); if (rozdil_uhlu2 > 180) { if (uhel(auto[_local1].r) > 179) { auto[_local1].newr = auto[_local1].newr + 360; } else { auto[_local1].newr = auto[_local1].newr - 360; } } } function urovne_init() { i = 0; while (i <= 1) { if ((auto[i].uroven == 1) || (auto[i].uroven == 2)) { auto[i].i = auto[i].i1; auto[i].i.gotoAndStop(2); auto[i].i2.gotoAndStop(1); } else { auto[i].i = auto[i].i2; auto[i].i.gotoAndStop(2); auto[i].i1.gotoAndStop(1); } i++; } } function place_car(cislo) { var _local1 = cislo; if ((auto[_local1].uroven == 1) || (auto[_local1].uroven == 2)) { if (auto[_local1].i != auto[_local1].i1) { auto[_local1].i = auto[_local1].i1; auto[_local1].i.gotoAndStop(2); auto[_local1].i2.gotoAndStop(1); } } else if (auto[_local1].i != auto[_local1].i2) { auto[_local1].i = auto[_local1].i2; auto[_local1].i.gotoAndStop(2); auto[_local1].i1.gotoAndStop(1); } auto[_local1].i._x = auto[_local1].x; auto[_local1].i._y = auto[_local1].y; auto[_local1].f = uhel(auto[_local1].r); auto[_local1].i._rotation = auto[_local1].f; } function calculate_car(cislo) { var _local1 = cislo; auto[_local1].p = 0; if (pisek.hitTest(auto[_local1].x, auto[_local1].y, true)) { auto[_local1].p = 1; } if (led.hitTest(auto[_local1].x, auto[_local1].y, true)) { auto[_local1].p = 2; } zbytek_za_carkou = auto[_local1].kolo - Math.floor(auto[_local1].kolo); if (zbytek_za_carkou > 0) { kolize_finish = finish.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_finish) { auto[_local1].kolo = auto[_local1].kolo + 0.5; } } else { kolize_halftrack = halftrack.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_halftrack) { auto[_local1].kolo = auto[_local1].kolo + 0.5; } } if ((auto[_local1].uroven == 1) || (auto[_local1].uroven == 3)) { kolize_limiter = limiter1.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_limiter) { auto[_local1].uroven = 2; } } else { kolize_limiter = limiter2.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_limiter) { auto[_local1].uroven = 3; } } otaceni2_povrch = otaceni2; if (auto[_local1].p == 1) { otaceni2_povrch = otaceni2_pisek; } if (auto[_local1].p == 2) { otaceni2_povrch = otaceni2_led; } maximalni_rychlost_povrch = maximalni_rychlost; if (_root.auto[_local1].p == 1) { maximalni_rychlost_povrch = maximalni_rychlost_pisek; } if (_root.auto[_local1].p == 2) { maximalni_rychlost_povrch = maximalni_rychlost_led; } if (Math.abs(auto[_local1].r - auto[_local1].r2) < otaceni2_povrch) { auto[_local1].r2 = auto[_local1].r; } if ((Math.abs(auto[_local1].r - auto[_local1].r2) > (otaceni2_povrch * 3)) && (auto[_local1].s > smyk_speed)) { auto[_local1].s = auto[_local1].s - smyk; } if (((Math.abs(auto[_local1].r - auto[_local1].r2) > (otaceni2_povrch * 5)) && (auto[_local1].s > smyk_speed2)) && (_local1 == 0)) { sound_smyk_start(); } if (((Math.abs(auto[_local1].r - auto[_local1].r2) <= (otaceni2_povrch * 5)) || (auto[_local1].s <= smyk_speed2)) && (_local1 == 0)) { sound_smyk_stop(); } if (auto[_local1].r > auto[_local1].r2) { auto[_local1].r2 = auto[_local1].r2 + otaceni2_povrch; } if (auto[_local1].r < auto[_local1].r2) { auto[_local1].r2 = auto[_local1].r2 - otaceni2_povrch; } if (auto[_local1].uroven <= 2) { kolize1 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); } else { kolize1 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); } if (((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) { rychlost_posunu = auto[_local1].s; uhel_posunu = auto[_local1].r2; } else { rychlost_posunu = ((auto[_local1].s > auto[_local1].s2) ? (auto[_local1].s) : (auto[_local1].s2)); if (auto[_local1].s < 0) { rychlost_posunu = auto[_local1].s; } uhel_bezneho_pohybu = uhel(auto[_local1].r2); uhel_narazu = uhel(auto[_local1].r3); rozdil_uhlu = Math.abs(uhel_bezneho_pohybu - uhel_narazu); if (rozdil_uhlu > 180) { if (uhel_bezneho_pohybu > 179) { uhel_narazu = uhel_narazu + 360; } else { uhel_narazu = uhel_narazu - 360; } } if (auto[_local1].s2 > 0) { uhel_posunu = uhel_bezneho_pohybu - ((uhel_bezneho_pohybu - uhel_narazu) * (1 / ((auto[_local1].s + auto[_local1].s2) / auto[_local1].s2))); } else { uhel_posunu = auto[_local1].r2; } } auto[_local1].x = auto[_local1].x + (rychlost_posunu * sintab[uhel(uhel_posunu)]); auto[_local1].y = auto[_local1].y + (rychlost_posunu * (-costab[uhel(uhel_posunu)])); if (auto[_local1].s2 > 0) { auto[_local1].s2 = auto[_local1].s2 - zpomaleni_rychlosti_odrazu; } if (auto[_local1].s2 < 0) { auto[_local1].s2 = 0; } if ((_local1 == 0) && (auto[0].uroven == auto[1].uroven)) { kolize1a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); kolize1 = kolize1 || (kolize1a); kolize2 = kolize2 || (kolize2a); kolize3 = kolize3 || (kolize3a); kolize4 = kolize4 || (kolize4a); } if ((_local1 == 1) && (auto[0].uroven == auto[1].uroven)) { kolize1a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); kolize1 = kolize1 || (kolize1a); kolize2 = kolize2 || (kolize2a); kolize3 = kolize3 || (kolize3a); kolize4 = kolize4 || (kolize4a); } rychlost_predana_autem = Math.abs(auto[_local1].s * zmenseni_rychlosti_predane); cislo_posouvaneho_auta = ((_local1 == 0) ? 1 : 0); if ((auto[_local1].s > 0) && (kolize1a || (kolize2a))) { auto[cislo_posouvaneho_auta].s2 = rychlost_predana_autem; auto[cislo_posouvaneho_auta].r3 = auto[_local1].r2; } if ((auto[_local1].s < 0) && (kolize3a || (kolize4a))) { auto[cislo_posouvaneho_auta].s2 = rychlost_predana_autem; auto[cislo_posouvaneho_auta].r3 = auto[_local1].r2 - 180; } koeficient_rychlosti = Math.abs(rychlost_posunu) / maximalni_rychlost_povrch; rychlost_odrazeni = koeficient_rychlosti * vzdalenost_kolize; if (rychlost_odrazeni < min_vzdalenost_kolize) { rychlost_odrazeni = min_vzdalenost_kolize; } if (auto[_local1].s >= 0) { if (((kolize1 && (kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].s = (auto[_local1].s * -1) * odraz_pri_celnim_narazu; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 180)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 180)])); } if (((kolize1 && (!kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * koeficient_rychlosti); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } if ((((!kolize1) && (kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r - (uhel_kolize * koeficient_rychlosti); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } if ((((!kolize1) && (!kolize2)) && (kolize3)) && (!kolize4)) { } if ((((!kolize1) && (!kolize2)) && (!kolize3)) && (kolize4)) { } if ((((!kolize1) && (kolize2)) && (!kolize3)) && (kolize4)) { auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } if (((kolize1 && (!kolize2)) && (kolize3)) && (!kolize4)) { auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } } if (auto[_local1].s < 0) { if ((((!kolize1) && (!kolize2)) && (kolize3)) && (kolize4)) { auto[_local1].s = (auto[_local1].s * -1) / 1.5; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2)])); } if ((((!kolize1) && (!kolize2)) && (kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * (-koeficient_rychlosti)); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } if ((((!kolize1) && (!kolize2)) && (!kolize3)) && (kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * (-koeficient_rychlosti)); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } } if (((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) { auto[_local1].r2 = auto[_local1].r; } if ((((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) && (_local1 == 0)) { sound_hit_start(); } } sintab = new Array(); costab = new Array(); i = 0; while (i < 360) { cossin_rad = (i * Math.PI) / 180; sintab[i] = Math.sin(cossin_rad); costab[i] = Math.cos(cossin_rad); i++; } fscommand ("trapallkeys", "true"); auto = new Array(); auto[0] = new Array(); auto[0].x = 72; auto[0].y = 192; auto[0].r = 154; auto[0].r2 = 154; auto[0].r3 = 154; auto[0].s = 0; auto[0].s2 = 0; auto[0].i = auto1; auto[0].i1 = auto1; auto[0].i2 = auto1l2; auto[0].f = 0; auto[0].p = 0; auto[0].cpu = false; auto[0].newx = 0; auto[0].newy = 0; auto[0].newr = 0; auto[0].turbo = 100; auto[0].ta = false; auto[0].bod = 0; auto[0].timer = 0; auto[0].kolo = 0; auto[0].ukturbo = true; auto[0].uroven = 2; auto[0].vlevo = 37; auto[0].vpravo = 39; auto[0].plyn = 38; auto[0].brzda = 40; auto[0].nitro = 16; engine_volume = 70; odpocet_volume = 100; auto[0].zvuk_r1 = new Sound(auto[0].i); auto[0].zvuk_r1.attachSound("zvuk_r1"); auto[0].zvuk_r1.setVolume(engine_volume); auto[0].zvuk_r2 = new Sound(auto[0].i); auto[0].zvuk_r2.attachSound("zvuk_r2"); auto[0].zvuk_r2.setVolume(engine_volume); auto[0].zvuk_r3 = new Sound(auto[0].i); auto[0].zvuk_r3.attachSound("zvuk_r3"); auto[0].zvuk_r3.setVolume(engine_volume); auto[0].zvuk_r4 = new Sound(auto[0].i); auto[0].zvuk_r4.attachSound("zvuk_r4"); auto[0].zvuk_r4.setVolume(engine_volume); auto[0].zvuk_r5 = new Sound(auto[0].i); auto[0].zvuk_r5.attachSound("zvuk_r5"); auto[0].zvuk_r5.setVolume(engine_volume); auto[0].zvuk_auta = 0; auto[0].zvuk_sm = new Sound(kolize); auto[0].zvuk_sm.attachSound("zvuk_smyku"); auto[0].zvuk_sm.setVolume(engine_volume); auto[0].zvuk_smyk = 0; auto[0].zvuk_hit = new Sound(pisek); auto[0].zvuk_hit.attachSound("zvuk_hit"); auto[0].zvuk_hit.setVolume(engine_volume); auto[0].zvuk_hit_playing = 0; auto[0].zvuk_odpocet1 = new Sound(odpocet); auto[0].zvuk_odpocet1.attachSound("zvuk_odpocet1"); auto[0].zvuk_odpocet1.setVolume(odpocet_volume); auto[0].zvuk_odpocet2 = new Sound(odpocet); auto[0].zvuk_odpocet2.attachSound("zvuk_odpocet2"); auto[0].zvuk_odpocet2.setVolume(odpocet_volume); auto[0].c = new Array(); auto[0].c[0] = new Array(-4.8, -7.8, 4.6, -7.8, -4.9, 9.1, 4.6, 9.2); auto[1] = new Array(); auto[1].x = 47; auto[1].y = 202; auto[1].r = 154; auto[1].r2 = 154; auto[1].r3 = 154; auto[1].s = 0; auto[1].s2 = 0; auto[1].i = auto2; auto[1].i1 = auto2; auto[1].i2 = auto2l2; auto[1].f = 0; auto[1].p = 0; auto[1].cpu = false; auto[1].newx = 0; auto[1].newy = 0; auto[1].newr = 0; auto[1].turbo = 100; auto[1].ta = false; auto[1].bod = 0; auto[1].timer = 0; auto[1].kolo = 0; auto[1].ukturbo = true; auto[1].uroven = 2; auto[1].vlevo = 65; auto[1].vpravo = 68; auto[1].plyn = 87; auto[1].brzda = 83; auto[1].nitro = 192; uhel_bodu1 = vypocitej_uhel_ze_souradnic(auto[0].c[0][0], auto[0].c[0][1]); uhel_bodu2 = vypocitej_uhel_ze_souradnic(auto[0].c[0][2], auto[0].c[0][3]); uhel_bodu3 = vypocitej_uhel_ze_souradnic(auto[0].c[0][4], auto[0].c[0][5]); uhel_bodu4 = vypocitej_uhel_ze_souradnic(auto[0].c[0][6], auto[0].c[0][7]); polomer_bodu1 = vypocitej_polomer_ze_souradnic(auto[0].c[0][0], auto[0].c[0][1]); polomer_bodu2 = vypocitej_polomer_ze_souradnic(auto[0].c[0][2], auto[0].c[0][3]); polomer_bodu3 = vypocitej_polomer_ze_souradnic(auto[0].c[0][4], auto[0].c[0][5]); polomer_bodu4 = vypocitej_polomer_ze_souradnic(auto[0].c[0][6], auto[0].c[0][7]); i = 1; while (i <= 359) { auto[0].c[i] = new Array(); nove_souradnice1 = vypocitej_nove_souradnice(polomer_bodu1, uhel_bodu1 + i); nove_souradnice2 = vypocitej_nove_souradnice(polomer_bodu2, uhel_bodu2 + i); nove_souradnice3 = vypocitej_nove_souradnice(polomer_bodu3, uhel_bodu3 + i); nove_souradnice4 = vypocitej_nove_souradnice(polomer_bodu4, uhel_bodu4 + i); auto[0].c[i][0] = nove_souradnice1.x; auto[0].c[i][1] = nove_souradnice1.y; auto[0].c[i][2] = nove_souradnice2.x; auto[0].c[i][3] = nove_souradnice2.y; auto[0].c[i][4] = nove_souradnice3.x; auto[0].c[i][5] = nove_souradnice3.y; auto[0].c[i][6] = nove_souradnice4.x; auto[0].c[i][7] = nove_souradnice4.y; i++; } auto[1].c = auto[0].c; pocet_auticek = 2; start_action = false; pauza_aktivni = 0; zaverecne_menu_aktivni = false; ukazuje_se_posledni_kolo = false; if (typ_hry == 1) { je_zobrazena_sipka_u_auta = true; sipka_auto.gotoAndPlay(2); } if (!akcelerace) { akcelerace = 0.1; } if (!akcelerace_pisek) { akcelerace_pisek = 0.09; } if (!akcelerace_led) { akcelerace_led = 0.07; } if (!zpomaleni) { zpomaleni = 0.1; } if (!zpomaleni_pisek) { zpomaleni_pisek = 0.1; } if (!zpomaleni_led) { zpomaleni_led = 0.08; } if (!smyk) { smyk = 0.13; } if (!smyk_speed) { smyk_speed = 2.5; } if (!smyk_speed2) { smyk_speed2 = 1; } if (!brzda) { brzda = 0.3; } if (!brzda_pisek) { brzda_pisek = 0.13; } if (!brzda_led) { brzda_led = 0.13; } if (!otaceni) { otaceni = 5; } if (!otaceni2) { otaceni2 = 4; } if (!otaceni2_pisek) { otaceni2_pisek = 2.9; } if (!otaceni2_led) { otaceni2_led = 2.4; } if (!maximalni_rychlost) { maximalni_rychlost = 5.5; } if (!maximalni_rychlost_pisek) { maximalni_rychlost_pisek = 5.5; } if (!maximalni_rychlost_led) { maximalni_rychlost_led = 5.5; } if (!minimalni_rychlost) { minimalni_rychlost = -3; } if (!minimalni_rychlost_pisek) { minimalni_rychlost_pisek = -2.6; } if (!minimalni_rychlost_led) { minimalni_rychlost_led = -3; } if (!uhel_kolize) { uhel_kolize = 11; } if (!vzdalenost_kolize) { vzdalenost_kolize = 2.2; } if (!min_vzdalenost_kolize) { min_vzdalenost_kolize = 0.2; } if (!rychlost_kolize) { rychlost_kolize = 0.6; } zmenseni_rychlosti_predane = 0.6; zpomaleni_rychlosti_odrazu = 0.4; odraz_pri_celnim_narazu = 0.2; cpu_max_rozdil_uhlu = 25; cpu_max_rychlost_pri_smyku = 3; rychlost_turba = 3; akcelerace_turba = 0.18; maximalni_turbo = 100; turbo_filling = 0.4; turbo_using = 3; vzdalenost_pro_zmenu_bodu = 32; snizeni_max_rychlosti_cpu = -0.4; pocet_kol = 8; klavesa_zpet_do_menu = 27; klavesa_pause = 80; if (typ_hry == 1) { auto[1].cpu = true; } cputrack = new Array(); max_cputrack = 40; i = 0; while (i <= max_cputrack) { xova = Math.round(eval (("cpubod" + i) + "._x")); yova = Math.round(eval (("cpubod" + i) + "._y")); cputrack[i] = new Array(); cputrack[i].x = xova; cputrack[i].y = yova; i++; } game_init(); i = 0; while (i < pocet_auticek) { place_car(i); i++; } stop();
Instance of Symbol 138 MovieClip "auto1" in Frame 12
onClipEvent (enterFrame) { if (Key.isDown(_root.klavesa_zpet_do_menu)) { _root.zpet_do_main_menu(); } if (_root.ma_se_prehravat_hudba && (!_root.prehrava_se_hudba)) { _root.hudba_na_pozadi.start(0, 9999); _root.prehrava_se_hudba = true; } if (_root.ma_se_prehravat_hudba || (_root.maji_se_prehravat_zvuky)) { if (_root.hudba_na_pozadi.getVolume() < 100) { if (_root.hudba_na_pozadi.getVolume() < (100 - _root.skok_pro_fadein_hudby)) { _root.hudba_na_pozadi.setVolume(_root.hudba_na_pozadi.getVolume() + _root.skok_pro_fadein_hudby); } else { _root.hudba_na_pozadi.setVolume(100); } } } if (_root.je_zobrazena_sipka_u_auta && (_root.auto[0].s != 0)) { _root.skryt_sipku_u_auta(); } if (!_root.zaverecne_menu_aktivni) { if (Key.isDown(_root.klavesa_pause)) { if (_root.pauza_aktivni == 0) { _root.pauza_aktivni = 1; _root.show_pauza(); } if (_root.pauza_aktivni == 2) { _root.pauza_aktivni = 3; } } else { if (_root.pauza_aktivni == 1) { _root.pauza_aktivni = 2; } if (_root.pauza_aktivni == 3) { _root.pauza_aktivni = 0; _root.hide_pauza(); } } _root.sound_updater(); } if (_root.start_action && (_root.pauza_aktivni == 0)) { if (_root.auto[0].turbo < 0) { _root.auto[0].turbo = 0; } if (_root.auto[1].turbo < 0) { _root.auto[1].turbo = 0; } if (_root.auto[0].turbo >= _root.maximalni_turbo) { _root.auto[0].turbo = _root.maximalni_turbo; if (_root.auto[0].ukturbo == false) { _root.show_turbo(0); } } else if (_root.auto[0].ukturbo == true) { _root.hide_turbo(0); } _root.set_turbo(0, _root.auto[0].turbo); _root.set_speed(0, (_root.auto[0].s / (_root.maximalni_rychlost + _root.rychlost_turba)) * 100); if (_root.typ_hry == 1) { _root.set_kola_cas(_root.auto[0].kolo, _root.auto[0].timer); _root.ukaz_posledni_kolo(_root.auto[0].kolo); } else { if (_root.auto[1].turbo >= _root.maximalni_turbo) { _root.auto[1].turbo = _root.maximalni_turbo; if (_root.auto[1].ukturbo == false) { _root.show_turbo(1); } } else if (_root.auto[1].ukturbo == true) { _root.hide_turbo(1); } _root.set_turbo(1, _root.auto[1].turbo); _root.set_speed(1, (_root.auto[1].s / (_root.maximalni_rychlost + _root.rychlost_turba)) * 100); _root.set_kola(0, _root.auto[0].kolo); _root.set_kola(1, _root.auto[1].kolo); } i = 0; while (i < _root.pocet_auticek) { if (_root.auto[i].kolo == _root.pocet_kol) { _root.start_action = false; _root.ingame_menu(i, _root.auto[i].timer); } _root.auto[i].timer++; akcelerace_povrch = _root.akcelerace; if (_root.auto[i].p == 1) { akcelerace_povrch = _root.akcelerace_pisek; } if (_root.auto[i].p == 2) { akcelerace_povrch = _root.akcelerace_led; } zpomaleni_povrch = _root.zpomaleni; if (_root.auto[i].p == 1) { zpomaleni_povrch = _root.zpomaleni_pisek; } if (_root.auto[i].p == 2) { zpomaleni_povrch = _root.zpomaleni_led; } brzda_povrch = _root.brzda; if (_root.auto[i].p == 1) { brzda_povrch = _root.brzda_pisek; } if (_root.auto[i].p == 2) { brzda_povrch = _root.brzda_led; } maximalni_rychlost_povrch = _root.maximalni_rychlost; if (_root.auto[i].p == 1) { maximalni_rychlost_povrch = _root.maximalni_rychlost_pisek; } if (_root.auto[i].p == 2) { maximalni_rychlost_povrch = _root.maximalni_rychlost_led; } minimalni_rychlost_povrch = _root.minimalni_rychlost; if (_root.auto[i].p == 1) { minimalni_rychlost_povrch = _root.minimalni_rychlost_pisek; } if (_root.auto[i].p == 2) { minimalni_rychlost_povrch = _root.minimalni_rychlost_led; } if (_root.auto[i].ta) { maximalni_rychlost_povrch = maximalni_rychlost_povrch + _root.rychlost_turba; } if (_root.auto[i].cpu) { maximalni_rychlost_povrch = maximalni_rychlost_povrch - _root.snizeni_max_rychlosti_cpu; } zpomaleni_otaceni = 1; if (Math.abs(_root.auto[i].s) < 1) { zpomaleni_otaceni = Math.abs(_root.auto[i].s); } if (Key.isDown(_root.auto[i].vpravo) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } } if (Key.isDown(_root.auto[i].vlevo) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } } if (Key.isDown(_root.auto[i].plyn) && (!_root.auto[i].cpu)) { if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + akcelerace_povrch; } } if (Key.isDown(_root.auto[i].brzda) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > minimalni_rychlost_povrch) { if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - brzda_povrch; } else { _root.auto[i].s = _root.auto[i].s - akcelerace_povrch; } } } if (Key.isDown(_root.auto[i].nitro) && (!_root.auto[i].cpu)) { if (_root.auto[i].ta) { if (_root.auto[i].turbo > 0) { if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + _root.akcelerace_turba; } _root.auto[i].turbo = _root.auto[i].turbo - _root.turbo_using; } else { _root.auto[i].ta = false; } } else if (_root.auto[i].turbo >= _root.maximalni_turbo) { _root.auto[i].ta = true; } else if (_root.auto[i].turbo < _root.maximalni_turbo) { _root.auto[i].turbo = _root.auto[i].turbo + _root.turbo_filling; } } if ((Key.isDown(_root.auto[i].nitro) == false) && (!_root.auto[i].cpu)) { _root.auto[i].ta = false; if (_root.auto[i].turbo < _root.maximalni_turbo) { _root.auto[i].turbo = _root.auto[i].turbo + _root.turbo_filling; } } if (((Key.isDown(_root.auto[i].plyn) == false) && (Key.isDown(_root.auto[i].brzda) == false)) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - zpomaleni_povrch; } if (_root.auto[i].s < 0) { _root.auto[i].s = _root.auto[i].s + zpomaleni_povrch; } if (Math.abs(_root.auto[i].s) < zpomaleni_povrch) { _root.auto[i].s = 0; } } if (_root.auto[i].cpu) { _root.spocitej_novou_pozici(i); if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + akcelerace_povrch; } if (Math.abs(_root.auto[i].newr - _root.auto[i].r) < _root.otaceni) { _root.auto[i].r = _root.auto[i].newr; } if (_root.auto[i].newr > _root.uhel(_root.auto[i].r)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } } if (_root.auto[i].newr < _root.uhel(_root.auto[i].r)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } } } if (_root.auto[i].s > maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s - zpomaleni_povrch; } if (_root.auto[i].s < minimalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + zpomaleni_povrch; } i++; } } else if (_root.pauza_aktivni == 0) { i = 0; while (i < _root.pocet_auticek) { brzda_povrch = _root.brzda; if (_root.auto[i].p == 1) { brzda_povrch = _root.brzda_pisek; } if (_root.auto[i].p == 2) { brzda_povrch = _root.brzda_led; } if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - brzda_povrch; } if (_root.auto[i].s < 0) { _root.auto[i].s = _root.auto[i].s + brzda_povrch; } if (Math.abs(_root.auto[i].s) < brzda_povrch) { _root.auto[i].s = 0; } i++; } } }
Frame 13
i = 0; while (i < pocet_auticek) { if (pauza_aktivni == 0) { calculate_car(i); place_car(i); } i++; }
Frame 14
gotoAndPlay (13);
Frame 15
function vypocitej_uhel_ze_souradnic(rozdil_x, rozdil_y) { var _local1 = rozdil_y; var _local2 = rozdil_x; if (_local2 == 0) { _local2 = 0.01; } if (_local1 == 0) { _local1 = 0.01; } vystup = (Math.atan(_local2 / _local1) * 180) / Math.PI; if (_local1 < 0) { vystup = uhel(360 - vystup); } else { vystup = uhel(180 - vystup); } return(vystup); } function vypocitej_polomer_ze_souradnic(rozdil_x, rozdil_y) { vystup = Math.sqrt((rozdil_x * rozdil_x) + (rozdil_y * rozdil_y)); return(vystup); } function vypocitej_nove_souradnice(polomer, vstupni_uhel) { vystup = new Array(); vystup.x = vystup.x + (polomer * sintab[uhel(vstupni_uhel)]); vystup.y = vystup.y + (polomer * (-costab[uhel(vstupni_uhel)])); return(vystup); } function skryt_sipku_u_auta() { je_zobrazena_sipka_u_auta = false; sipka_auto.gotoAndStop(1); } function sound_updater() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].s < -2) { nove_cislo_zvuku = 3; } if ((auto[0].s < 0) && (auto[0].s >= -2)) { nove_cislo_zvuku = 2; } if (auto[0].s == 0) { nove_cislo_zvuku = 1; } if ((auto[0].s > 0) && (auto[0].s <= 2)) { nove_cislo_zvuku = 2; } if ((auto[0].s > 2) && (auto[0].s <= 4)) { nove_cislo_zvuku = 3; } if ((auto[0].s > 4) && (auto[0].s <= 6)) { nove_cislo_zvuku = 4; } if (auto[0].s > 6) { nove_cislo_zvuku = 5; } if (nove_cislo_zvuku != auto[0].zvuk_auta) { if (auto[0].zvuk_auta != 0) { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } } auto[0].zvuk_auta = nove_cislo_zvuku; if (nove_cislo_zvuku == 1) { auto[0].zvuk_r1.start(0, 9999); } if (nove_cislo_zvuku == 2) { auto[0].zvuk_r2.start(0, 9999); } if (nove_cislo_zvuku == 3) { auto[0].zvuk_r3.start(0, 9999); } if (nove_cislo_zvuku == 4) { auto[0].zvuk_r4.start(0, 9999); } if (nove_cislo_zvuku == 5) { auto[0].zvuk_r5.start(0, 9999); } } if (pauza_aktivni) { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } auto[0].zvuk_auta = 0; } if (auto[0].zvuk_hit_playing > 0) { auto[0].zvuk_hit_playing--; } } } function sound_hit_start() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_hit_playing == 0) { auto[0].zvuk_hit.start(0, 1); auto[0].zvuk_hit_playing = 8; } } } function sound_odpocet1() { if (maji_se_prehravat_zvuky) { auto[0].zvuk_odpocet1.start(0, 1); } } function sound_odpocet2() { if (maji_se_prehravat_zvuky) { auto[0].zvuk_odpocet2.start(0, 1); } } function sound_smyk_start() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_smyk == 0) { auto[0].zvuk_sm.start(0, 9999); auto[0].zvuk_smyk = 6; } } } function sound_smyk_stop() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_smyk > 1) { auto[0].zvuk_smyk--; } if (auto[0].zvuk_smyk == 1) { auto[0].zvuk_sm.stop(); auto[0].zvuk_smyk = 0; } } } function sound_updater_stop() { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } if (auto[0].zvuk_smyk == 1) { auto[0].zvuk_sm.stop(); } } function show_pauza() { pauza.gotoAndStop(2); } function hide_pauza() { pauza.gotoAndStop(1); } function ukaz_posledni_kolo(vstup) { if ((vstup == (pocet_kol - 1)) && (!ukazuje_se_posledni_kolo)) { lastlap.gotoAndPlay(2); ukazuje_se_posledni_kolo = true; } if ((vstup == pocet_kol) && (ukazuje_se_posledni_kolo)) { lastlap.gotoAndStop(1); ukazuje_se_posledni_kolo = false; } } function skryj_posledni_kolo() { lastlap.gotoAndStop(1); ukazuje_se_posledni_kolo = false; } function show_turbo(cislo) { if (cislo == 0) { turbo_hrac1.gotoAndPlay(2); } else { turbo_hrac2.gotoAndPlay(2); } auto[cislo].ukturbo = true; } function hide_turbo(cislo) { if (cislo == 0) { turbo_hrac1.gotoAndPlay(10); } else { turbo_hrac2.gotoAndPlay(10); } auto[cislo].ukturbo = false; } function set_kola(cislo, hodnota) { var _local1 = hodnota; _local1 = Math.floor(_local1) + 1; if (_local1 > pocet_kol) { _local1 = pocet_kol; } if (cislo == 0) { kola1.cislo_kola.gotoAndStop(_local1); } else { kola2.cislo_kola.gotoAndStop(_local1); } } function set_kola_cas(hodnota_kola, hodnota_cas) { var _local1 = hodnota_kola; _local1 = Math.floor(_local1) + 1; if (_local1 > pocet_kol) { _local1 = pocet_kol; } kola_cas.cislo_kola.gotoAndStop(_local1); ukaz_minuty = Math.floor((hodnota_cas / 25) / 60); ukaz_sekundy = Math.floor((hodnota_cas / 25) - (ukaz_minuty * 60)); hodnota_cislo1 = Math.floor(ukaz_minuty / 10); hodnota_cislo2 = ukaz_minuty - (hodnota_cislo1 * 10); hodnota_cislo1++; hodnota_cislo2++; kola_cas.cislo1.gotoAndStop(hodnota_cislo1); kola_cas.cislo2.gotoAndStop(hodnota_cislo2); hodnota_cislo3 = Math.floor(ukaz_sekundy / 10); hodnota_cislo4 = ukaz_sekundy - (hodnota_cislo3 * 10); hodnota_cislo3++; hodnota_cislo4++; kola_cas.cislo3.gotoAndStop(hodnota_cislo3); kola_cas.cislo4.gotoAndStop(hodnota_cislo4); } function set_turbo(cislo, hodnota) { if (cislo == 0) { panel_speed1.ukazatel_turbo1._xscale = Math.abs(hodnota); } else { panel_speed2.ukazatel_turbo2._xscale = Math.abs(hodnota); } } function set_speed(cislo, hodnota) { if (cislo == 0) { panel_speed1.ukazatel_rychlost1._xscale = Math.abs(hodnota); } else { panel_speed2.ukazatel_rychlost2._xscale = Math.abs(hodnota); } } function game_init() { if (typ_hry == 1) { panel_speed1.gotoAndStop(2); show_turbo(0); kola_cas.gotoAndStop(2); set_speed(0, 0); } else { panel_speed1.gotoAndStop(2); panel_speed2.gotoAndStop(2); kola1.gotoAndStop(2); kola2.gotoAndStop(2); show_turbo(0); show_turbo(1); set_speed(0, 0); set_speed(1, 0); } } function nastartuj() { start_action = true; gotoAndPlay (16); } function ingame_menu(vitez, vitezny_cas) { skryj_posledni_kolo(); zaverecne_menu_aktivni = true; sound_updater_stop(); if (typ_hry == 1) { if (vitez == 0) { endmenu.gotoAndStop(3); } else { endmenu.gotoAndStop(2); } } else if (vitez == 0) { endmenu.gotoAndStop(4); } else { endmenu.gotoAndStop(5); } } function hide_ingame_menu() { endmenu.gotoAndStop(1); } function restartovat() { hide_ingame_menu(); sound_updater_stop(); gotoAndPlay (15); } function zpet_do_main_menu() { hide_ingame_menu(); sound_updater_stop(); gotoAndPlay (11); } function dalsi_level() { hide_ingame_menu(); sound_updater_stop(); gotoAndStop (18); } function uhel(cislo) { var _local1 = cislo; _local1 = Math.round(_local1); while (_local1 > 359) { _local1 = _local1 - 360; } while (_local1 < 0) { _local1 = _local1 + 360; } return(_local1); } function soucet_uhlu(uhel1, uhel2, rychlost1, rychlost2) { var _local1 = uhel2; var _local2 = uhel1; var _local3 = rychlost2; _local2 = uhel(_local2); _local1 = uhel(_local1); if (Math.abs(_local2 - _local1) > 180) { if (_local1 < 180) { _local1 = _local1 + 360; } else { uhel = uhel - 360; } } if (_local3 > 0) { vystup = _local2 - ((_local2 - _local1) * (1 / ((rychlost1 + _local3) / _local3))); } else { vystup = _local2; } return(vystup); } function vyber_nejvyssi_cislo(cislo1, cislo2, cislo3, max_cislo) { var _local1 = cislo3; var _local2 = cislo2; var _local3 = cislo1; vystup = ((_local3 > _local2) ? (_local3) : (_local2)); vystup = ((_local1 > vystup) ? (_local1) : (vystup)); if ((((_local3 == 0) || (_local2 == 0)) || (_local1 == 0)) && (((_local3 == max_cislo) || (_local2 == max_cislo)) || (_local1 == max_cislo))) { vystup = 0; if (_local3 < (max_cislo - 1)) { vystup = _local3; } if ((_local2 < (max_cislo - 1)) && (_local2 > vystup)) { vystup = _local2; } if ((_local1 < (max_cislo - 1)) && (_local1 > vystup)) { vystup = _local1; } } return(vystup); } function spocitej_novou_pozici(cislo) { var _local1 = cislo; rozdil_x = Math.abs(cputrack[auto[_local1].bod].x - auto[_local1].x); rozdil_y = Math.abs(cputrack[auto[_local1].bod].y - auto[_local1].y); vzdalenost_bodu = Math.sqrt((rozdil_x * rozdil_x) + (rozdil_y * rozdil_y)); if (vzdalenost_bodu < vzdalenost_pro_zmenu_bodu) { auto[_local1].bod++; } if (auto[_local1].bod > max_cputrack) { auto[_local1].bod = 0; } auto[_local1].newx = cputrack[auto[_local1].bod].x; auto[_local1].newy = cputrack[auto[_local1].bod].y; rozdil_x = auto[_local1].newx - auto[_local1].x; rozdil_y = auto[_local1].newy - auto[_local1].y; if (rozdil_x == 0) { rozdil_x = 0.1; } if (rozdil_y == 0) { rozdil_y = 0.1; } auto[_local1].newr = (Math.atan(rozdil_x / rozdil_y) * 180) / Math.PI; if (rozdil_y < 0) { auto[_local1].newr = uhel(360 - auto[_local1].newr); } else { auto[_local1].newr = uhel(180 - auto[_local1].newr); } rozdil_uhlu2 = Math.abs(uhel(auto[_local1].r) - auto[_local1].newr); if (rozdil_uhlu2 > 180) { if (uhel(auto[_local1].r) > 179) { auto[_local1].newr = auto[_local1].newr + 360; } else { auto[_local1].newr = auto[_local1].newr - 360; } } } function urovne_init() { i = 0; while (i <= 1) { if ((auto[i].uroven == 1) || (auto[i].uroven == 2)) { auto[i].i = auto[i].i1; auto[i].i.gotoAndStop(2); auto[i].i2.gotoAndStop(1); } else { auto[i].i = auto[i].i2; auto[i].i.gotoAndStop(2); auto[i].i1.gotoAndStop(1); } i++; } } function place_car(cislo) { var _local1 = cislo; if ((auto[_local1].uroven == 1) || (auto[_local1].uroven == 2)) { if (auto[_local1].i != auto[_local1].i1) { auto[_local1].i = auto[_local1].i1; auto[_local1].i.gotoAndStop(2); auto[_local1].i2.gotoAndStop(1); } } else if (auto[_local1].i != auto[_local1].i2) { auto[_local1].i = auto[_local1].i2; auto[_local1].i.gotoAndStop(2); auto[_local1].i1.gotoAndStop(1); } auto[_local1].i._x = auto[_local1].x; auto[_local1].i._y = auto[_local1].y; auto[_local1].f = uhel(auto[_local1].r); auto[_local1].i._rotation = auto[_local1].f; } function calculate_car(cislo) { var _local1 = cislo; auto[_local1].p = 0; if (pisek.hitTest(auto[_local1].x, auto[_local1].y, true)) { auto[_local1].p = 1; } if (led.hitTest(auto[_local1].x, auto[_local1].y, true)) { auto[_local1].p = 2; } zbytek_za_carkou = auto[_local1].kolo - Math.floor(auto[_local1].kolo); if (zbytek_za_carkou > 0) { kolize_finish = finish.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_finish) { auto[_local1].kolo = auto[_local1].kolo + 0.5; } } else { kolize_halftrack = halftrack.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_halftrack) { auto[_local1].kolo = auto[_local1].kolo + 0.5; } } if ((auto[_local1].uroven == 1) || (auto[_local1].uroven == 3)) { kolize_limiter = limiter1.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_limiter) { auto[_local1].uroven = 2; } } else { kolize_limiter = limiter2.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_limiter) { auto[_local1].uroven = 3; } } otaceni2_povrch = otaceni2; if (auto[_local1].p == 1) { otaceni2_povrch = otaceni2_pisek; } if (auto[_local1].p == 2) { otaceni2_povrch = otaceni2_led; } maximalni_rychlost_povrch = maximalni_rychlost; if (_root.auto[_local1].p == 1) { maximalni_rychlost_povrch = maximalni_rychlost_pisek; } if (_root.auto[_local1].p == 2) { maximalni_rychlost_povrch = maximalni_rychlost_led; } if (Math.abs(auto[_local1].r - auto[_local1].r2) < otaceni2_povrch) { auto[_local1].r2 = auto[_local1].r; } if ((Math.abs(auto[_local1].r - auto[_local1].r2) > (otaceni2_povrch * 3)) && (auto[_local1].s > smyk_speed)) { auto[_local1].s = auto[_local1].s - smyk; } if (((Math.abs(auto[_local1].r - auto[_local1].r2) > (otaceni2_povrch * 5)) && (auto[_local1].s > smyk_speed2)) && (_local1 == 0)) { sound_smyk_start(); } if (((Math.abs(auto[_local1].r - auto[_local1].r2) <= (otaceni2_povrch * 5)) || (auto[_local1].s <= smyk_speed2)) && (_local1 == 0)) { sound_smyk_stop(); } if (auto[_local1].r > auto[_local1].r2) { auto[_local1].r2 = auto[_local1].r2 + otaceni2_povrch; } if (auto[_local1].r < auto[_local1].r2) { auto[_local1].r2 = auto[_local1].r2 - otaceni2_povrch; } if (auto[_local1].uroven <= 2) { kolize1 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); } else { kolize1 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); } if (((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) { rychlost_posunu = auto[_local1].s; uhel_posunu = auto[_local1].r2; } else { rychlost_posunu = ((auto[_local1].s > auto[_local1].s2) ? (auto[_local1].s) : (auto[_local1].s2)); if (auto[_local1].s < 0) { rychlost_posunu = auto[_local1].s; } uhel_bezneho_pohybu = uhel(auto[_local1].r2); uhel_narazu = uhel(auto[_local1].r3); rozdil_uhlu = Math.abs(uhel_bezneho_pohybu - uhel_narazu); if (rozdil_uhlu > 180) { if (uhel_bezneho_pohybu > 179) { uhel_narazu = uhel_narazu + 360; } else { uhel_narazu = uhel_narazu - 360; } } if (auto[_local1].s2 > 0) { uhel_posunu = uhel_bezneho_pohybu - ((uhel_bezneho_pohybu - uhel_narazu) * (1 / ((auto[_local1].s + auto[_local1].s2) / auto[_local1].s2))); } else { uhel_posunu = auto[_local1].r2; } } auto[_local1].x = auto[_local1].x + (rychlost_posunu * sintab[uhel(uhel_posunu)]); auto[_local1].y = auto[_local1].y + (rychlost_posunu * (-costab[uhel(uhel_posunu)])); if (auto[_local1].s2 > 0) { auto[_local1].s2 = auto[_local1].s2 - zpomaleni_rychlosti_odrazu; } if (auto[_local1].s2 < 0) { auto[_local1].s2 = 0; } if ((_local1 == 0) && (auto[0].uroven == auto[1].uroven)) { kolize1a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); kolize1 = kolize1 || (kolize1a); kolize2 = kolize2 || (kolize2a); kolize3 = kolize3 || (kolize3a); kolize4 = kolize4 || (kolize4a); } if ((_local1 == 1) && (auto[0].uroven == auto[1].uroven)) { kolize1a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); kolize1 = kolize1 || (kolize1a); kolize2 = kolize2 || (kolize2a); kolize3 = kolize3 || (kolize3a); kolize4 = kolize4 || (kolize4a); } rychlost_predana_autem = Math.abs(auto[_local1].s * zmenseni_rychlosti_predane); cislo_posouvaneho_auta = ((_local1 == 0) ? 1 : 0); if ((auto[_local1].s > 0) && (kolize1a || (kolize2a))) { auto[cislo_posouvaneho_auta].s2 = rychlost_predana_autem; auto[cislo_posouvaneho_auta].r3 = auto[_local1].r2; } if ((auto[_local1].s < 0) && (kolize3a || (kolize4a))) { auto[cislo_posouvaneho_auta].s2 = rychlost_predana_autem; auto[cislo_posouvaneho_auta].r3 = auto[_local1].r2 - 180; } koeficient_rychlosti = Math.abs(rychlost_posunu) / maximalni_rychlost_povrch; rychlost_odrazeni = koeficient_rychlosti * vzdalenost_kolize; if (rychlost_odrazeni < min_vzdalenost_kolize) { rychlost_odrazeni = min_vzdalenost_kolize; } if (auto[_local1].s >= 0) { if (((kolize1 && (kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].s = (auto[_local1].s * -1) * odraz_pri_celnim_narazu; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 180)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 180)])); } if (((kolize1 && (!kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * koeficient_rychlosti); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } if ((((!kolize1) && (kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r - (uhel_kolize * koeficient_rychlosti); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } if ((((!kolize1) && (!kolize2)) && (kolize3)) && (!kolize4)) { } if ((((!kolize1) && (!kolize2)) && (!kolize3)) && (kolize4)) { } if ((((!kolize1) && (kolize2)) && (!kolize3)) && (kolize4)) { auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } if (((kolize1 && (!kolize2)) && (kolize3)) && (!kolize4)) { auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } } if (auto[_local1].s < 0) { if ((((!kolize1) && (!kolize2)) && (kolize3)) && (kolize4)) { auto[_local1].s = (auto[_local1].s * -1) / 1.5; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2)])); } if ((((!kolize1) && (!kolize2)) && (kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * (-koeficient_rychlosti)); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } if ((((!kolize1) && (!kolize2)) && (!kolize3)) && (kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * (-koeficient_rychlosti)); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } } if (((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) { auto[_local1].r2 = auto[_local1].r; } if ((((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) && (_local1 == 0)) { sound_hit_start(); } } sintab = new Array(); costab = new Array(); i = 0; while (i < 360) { cossin_rad = (i * Math.PI) / 180; sintab[i] = Math.sin(cossin_rad); costab[i] = Math.cos(cossin_rad); i++; } fscommand ("trapallkeys", "true"); auto = new Array(); auto[0] = new Array(); auto[0].x = 315; auto[0].y = 282; auto[0].r = 17; auto[0].r2 = 17; auto[0].r3 = 17; auto[0].s = 0; auto[0].s2 = 0; auto[0].i = auto1; auto[0].i1 = auto1; auto[0].i2 = auto1l2; auto[0].f = 0; auto[0].p = 0; auto[0].cpu = false; auto[0].newx = 0; auto[0].newy = 0; auto[0].newr = 0; auto[0].turbo = 100; auto[0].ta = false; auto[0].bod = 0; auto[0].timer = 0; auto[0].kolo = 0; auto[0].ukturbo = true; auto[0].uroven = 2; auto[0].vlevo = 37; auto[0].vpravo = 39; auto[0].plyn = 38; auto[0].brzda = 40; auto[0].nitro = 16; engine_volume = 70; odpocet_volume = 100; auto[0].zvuk_r1 = new Sound(auto[0].i); auto[0].zvuk_r1.attachSound("zvuk_r1"); auto[0].zvuk_r1.setVolume(engine_volume); auto[0].zvuk_r2 = new Sound(auto[0].i); auto[0].zvuk_r2.attachSound("zvuk_r2"); auto[0].zvuk_r2.setVolume(engine_volume); auto[0].zvuk_r3 = new Sound(auto[0].i); auto[0].zvuk_r3.attachSound("zvuk_r3"); auto[0].zvuk_r3.setVolume(engine_volume); auto[0].zvuk_r4 = new Sound(auto[0].i); auto[0].zvuk_r4.attachSound("zvuk_r4"); auto[0].zvuk_r4.setVolume(engine_volume); auto[0].zvuk_r5 = new Sound(auto[0].i); auto[0].zvuk_r5.attachSound("zvuk_r5"); auto[0].zvuk_r5.setVolume(engine_volume); auto[0].zvuk_auta = 0; auto[0].zvuk_sm = new Sound(kolize); auto[0].zvuk_sm.attachSound("zvuk_smyku"); auto[0].zvuk_sm.setVolume(engine_volume); auto[0].zvuk_smyk = 0; auto[0].zvuk_hit = new Sound(pisek); auto[0].zvuk_hit.attachSound("zvuk_hit"); auto[0].zvuk_hit.setVolume(engine_volume); auto[0].zvuk_hit_playing = 0; auto[0].zvuk_odpocet1 = new Sound(odpocet); auto[0].zvuk_odpocet1.attachSound("zvuk_odpocet1"); auto[0].zvuk_odpocet1.setVolume(odpocet_volume); auto[0].zvuk_odpocet2 = new Sound(odpocet); auto[0].zvuk_odpocet2.attachSound("zvuk_odpocet2"); auto[0].zvuk_odpocet2.setVolume(odpocet_volume); auto[0].c = new Array(); auto[0].c[0] = new Array(-4.8, -7.8, 4.6, -7.8, -4.9, 9.1, 4.6, 9.2); auto[1] = new Array(); auto[1].x = 293; auto[1].y = 275; auto[1].r = 17; auto[1].r2 = 17; auto[1].r3 = 17; auto[1].s = 0; auto[1].s2 = 0; auto[1].i = auto2; auto[1].i1 = auto2; auto[1].i2 = auto2l2; auto[1].f = 0; auto[1].p = 0; auto[1].cpu = false; auto[1].newx = 0; auto[1].newy = 0; auto[1].newr = 0; auto[1].turbo = 100; auto[1].ta = false; auto[1].bod = 0; auto[1].timer = 0; auto[1].kolo = 0; auto[1].ukturbo = true; auto[1].uroven = 2; auto[1].vlevo = 65; auto[1].vpravo = 68; auto[1].plyn = 87; auto[1].brzda = 83; auto[1].nitro = 192; uhel_bodu1 = vypocitej_uhel_ze_souradnic(auto[0].c[0][0], auto[0].c[0][1]); uhel_bodu2 = vypocitej_uhel_ze_souradnic(auto[0].c[0][2], auto[0].c[0][3]); uhel_bodu3 = vypocitej_uhel_ze_souradnic(auto[0].c[0][4], auto[0].c[0][5]); uhel_bodu4 = vypocitej_uhel_ze_souradnic(auto[0].c[0][6], auto[0].c[0][7]); polomer_bodu1 = vypocitej_polomer_ze_souradnic(auto[0].c[0][0], auto[0].c[0][1]); polomer_bodu2 = vypocitej_polomer_ze_souradnic(auto[0].c[0][2], auto[0].c[0][3]); polomer_bodu3 = vypocitej_polomer_ze_souradnic(auto[0].c[0][4], auto[0].c[0][5]); polomer_bodu4 = vypocitej_polomer_ze_souradnic(auto[0].c[0][6], auto[0].c[0][7]); i = 1; while (i <= 359) { auto[0].c[i] = new Array(); nove_souradnice1 = vypocitej_nove_souradnice(polomer_bodu1, uhel_bodu1 + i); nove_souradnice2 = vypocitej_nove_souradnice(polomer_bodu2, uhel_bodu2 + i); nove_souradnice3 = vypocitej_nove_souradnice(polomer_bodu3, uhel_bodu3 + i); nove_souradnice4 = vypocitej_nove_souradnice(polomer_bodu4, uhel_bodu4 + i); auto[0].c[i][0] = nove_souradnice1.x; auto[0].c[i][1] = nove_souradnice1.y; auto[0].c[i][2] = nove_souradnice2.x; auto[0].c[i][3] = nove_souradnice2.y; auto[0].c[i][4] = nove_souradnice3.x; auto[0].c[i][5] = nove_souradnice3.y; auto[0].c[i][6] = nove_souradnice4.x; auto[0].c[i][7] = nove_souradnice4.y; i++; } auto[1].c = auto[0].c; pocet_auticek = 2; start_action = false; pauza_aktivni = 0; zaverecne_menu_aktivni = false; ukazuje_se_posledni_kolo = false; if (typ_hry == 1) { je_zobrazena_sipka_u_auta = true; sipka_auto.gotoAndPlay(2); } if (!akcelerace) { akcelerace = 0.1; } if (!akcelerace_pisek) { akcelerace_pisek = 0.09; } if (!akcelerace_led) { akcelerace_led = 0.07; } if (!zpomaleni) { zpomaleni = 0.1; } if (!zpomaleni_pisek) { zpomaleni_pisek = 0.1; } if (!zpomaleni_led) { zpomaleni_led = 0.08; } if (!smyk) { smyk = 0.13; } if (!smyk_speed) { smyk_speed = 2.5; } if (!smyk_speed2) { smyk_speed2 = 1; } if (!brzda) { brzda = 0.3; } if (!brzda_pisek) { brzda_pisek = 0.13; } if (!brzda_led) { brzda_led = 0.13; } if (!otaceni) { otaceni = 5; } if (!otaceni2) { otaceni2 = 4; } if (!otaceni2_pisek) { otaceni2_pisek = 2.9; } if (!otaceni2_led) { otaceni2_led = 2.4; } if (!maximalni_rychlost) { maximalni_rychlost = 5.5; } if (!maximalni_rychlost_pisek) { maximalni_rychlost_pisek = 5.5; } if (!maximalni_rychlost_led) { maximalni_rychlost_led = 5.5; } if (!minimalni_rychlost) { minimalni_rychlost = -3; } if (!minimalni_rychlost_pisek) { minimalni_rychlost_pisek = -2.6; } if (!minimalni_rychlost_led) { minimalni_rychlost_led = -3; } if (!uhel_kolize) { uhel_kolize = 11; } if (!vzdalenost_kolize) { vzdalenost_kolize = 2.2; } if (!min_vzdalenost_kolize) { min_vzdalenost_kolize = 0.2; } if (!rychlost_kolize) { rychlost_kolize = 0.6; } zmenseni_rychlosti_predane = 0.6; zpomaleni_rychlosti_odrazu = 0.4; odraz_pri_celnim_narazu = 0.2; cpu_max_rozdil_uhlu = 25; cpu_max_rychlost_pri_smyku = 3; rychlost_turba = 3; akcelerace_turba = 0.18; maximalni_turbo = 100; turbo_filling = 0.4; turbo_using = 3; vzdalenost_pro_zmenu_bodu = 32; snizeni_max_rychlosti_cpu = -0.4; pocet_kol = 8; klavesa_zpet_do_menu = 27; klavesa_pause = 80; if (typ_hry == 1) { auto[1].cpu = true; } cputrack = new Array(); max_cputrack = 44; i = 0; while (i <= max_cputrack) { xova = Math.round(eval (("cpubod" + i) + "._x")); yova = Math.round(eval (("cpubod" + i) + "._y")); cputrack[i] = new Array(); cputrack[i].x = xova; cputrack[i].y = yova; i++; } game_init(); i = 0; while (i < pocet_auticek) { place_car(i); i++; } stop();
Instance of Symbol 138 MovieClip "auto1" in Frame 15
onClipEvent (enterFrame) { if (Key.isDown(_root.klavesa_zpet_do_menu)) { _root.zpet_do_main_menu(); } if (_root.ma_se_prehravat_hudba && (!_root.prehrava_se_hudba)) { _root.hudba_na_pozadi.start(0, 9999); _root.prehrava_se_hudba = true; } if (_root.ma_se_prehravat_hudba || (_root.maji_se_prehravat_zvuky)) { if (_root.hudba_na_pozadi.getVolume() < 100) { if (_root.hudba_na_pozadi.getVolume() < (100 - _root.skok_pro_fadein_hudby)) { _root.hudba_na_pozadi.setVolume(_root.hudba_na_pozadi.getVolume() + _root.skok_pro_fadein_hudby); } else { _root.hudba_na_pozadi.setVolume(100); } } } if (_root.je_zobrazena_sipka_u_auta && (_root.auto[0].s != 0)) { _root.skryt_sipku_u_auta(); } if (!_root.zaverecne_menu_aktivni) { if (Key.isDown(_root.klavesa_pause)) { if (_root.pauza_aktivni == 0) { _root.pauza_aktivni = 1; _root.show_pauza(); } if (_root.pauza_aktivni == 2) { _root.pauza_aktivni = 3; } } else { if (_root.pauza_aktivni == 1) { _root.pauza_aktivni = 2; } if (_root.pauza_aktivni == 3) { _root.pauza_aktivni = 0; _root.hide_pauza(); } } _root.sound_updater(); } if (_root.start_action && (_root.pauza_aktivni == 0)) { if (_root.auto[0].turbo < 0) { _root.auto[0].turbo = 0; } if (_root.auto[1].turbo < 0) { _root.auto[1].turbo = 0; } if (_root.auto[0].turbo >= _root.maximalni_turbo) { _root.auto[0].turbo = _root.maximalni_turbo; if (_root.auto[0].ukturbo == false) { _root.show_turbo(0); } } else if (_root.auto[0].ukturbo == true) { _root.hide_turbo(0); } _root.set_turbo(0, _root.auto[0].turbo); _root.set_speed(0, (_root.auto[0].s / (_root.maximalni_rychlost + _root.rychlost_turba)) * 100); if (_root.typ_hry == 1) { _root.set_kola_cas(_root.auto[0].kolo, _root.auto[0].timer); _root.ukaz_posledni_kolo(_root.auto[0].kolo); } else { if (_root.auto[1].turbo >= _root.maximalni_turbo) { _root.auto[1].turbo = _root.maximalni_turbo; if (_root.auto[1].ukturbo == false) { _root.show_turbo(1); } } else if (_root.auto[1].ukturbo == true) { _root.hide_turbo(1); } _root.set_turbo(1, _root.auto[1].turbo); _root.set_speed(1, (_root.auto[1].s / (_root.maximalni_rychlost + _root.rychlost_turba)) * 100); _root.set_kola(0, _root.auto[0].kolo); _root.set_kola(1, _root.auto[1].kolo); } i = 0; while (i < _root.pocet_auticek) { if (_root.auto[i].kolo == _root.pocet_kol) { _root.start_action = false; _root.ingame_menu(i, _root.auto[i].timer); } _root.auto[i].timer++; akcelerace_povrch = _root.akcelerace; if (_root.auto[i].p == 1) { akcelerace_povrch = _root.akcelerace_pisek; } if (_root.auto[i].p == 2) { akcelerace_povrch = _root.akcelerace_led; } zpomaleni_povrch = _root.zpomaleni; if (_root.auto[i].p == 1) { zpomaleni_povrch = _root.zpomaleni_pisek; } if (_root.auto[i].p == 2) { zpomaleni_povrch = _root.zpomaleni_led; } brzda_povrch = _root.brzda; if (_root.auto[i].p == 1) { brzda_povrch = _root.brzda_pisek; } if (_root.auto[i].p == 2) { brzda_povrch = _root.brzda_led; } maximalni_rychlost_povrch = _root.maximalni_rychlost; if (_root.auto[i].p == 1) { maximalni_rychlost_povrch = _root.maximalni_rychlost_pisek; } if (_root.auto[i].p == 2) { maximalni_rychlost_povrch = _root.maximalni_rychlost_led; } minimalni_rychlost_povrch = _root.minimalni_rychlost; if (_root.auto[i].p == 1) { minimalni_rychlost_povrch = _root.minimalni_rychlost_pisek; } if (_root.auto[i].p == 2) { minimalni_rychlost_povrch = _root.minimalni_rychlost_led; } if (_root.auto[i].ta) { maximalni_rychlost_povrch = maximalni_rychlost_povrch + _root.rychlost_turba; } if (_root.auto[i].cpu) { maximalni_rychlost_povrch = maximalni_rychlost_povrch - _root.snizeni_max_rychlosti_cpu; } zpomaleni_otaceni = 1; if (Math.abs(_root.auto[i].s) < 1) { zpomaleni_otaceni = Math.abs(_root.auto[i].s); } if (Key.isDown(_root.auto[i].vpravo) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } } if (Key.isDown(_root.auto[i].vlevo) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } } if (Key.isDown(_root.auto[i].plyn) && (!_root.auto[i].cpu)) { if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + akcelerace_povrch; } } if (Key.isDown(_root.auto[i].brzda) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > minimalni_rychlost_povrch) { if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - brzda_povrch; } else { _root.auto[i].s = _root.auto[i].s - akcelerace_povrch; } } } if (Key.isDown(_root.auto[i].nitro) && (!_root.auto[i].cpu)) { if (_root.auto[i].ta) { if (_root.auto[i].turbo > 0) { if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + _root.akcelerace_turba; } _root.auto[i].turbo = _root.auto[i].turbo - _root.turbo_using; } else { _root.auto[i].ta = false; } } else if (_root.auto[i].turbo >= _root.maximalni_turbo) { _root.auto[i].ta = true; } else if (_root.auto[i].turbo < _root.maximalni_turbo) { _root.auto[i].turbo = _root.auto[i].turbo + _root.turbo_filling; } } if ((Key.isDown(_root.auto[i].nitro) == false) && (!_root.auto[i].cpu)) { _root.auto[i].ta = false; if (_root.auto[i].turbo < _root.maximalni_turbo) { _root.auto[i].turbo = _root.auto[i].turbo + _root.turbo_filling; } } if (((Key.isDown(_root.auto[i].plyn) == false) && (Key.isDown(_root.auto[i].brzda) == false)) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - zpomaleni_povrch; } if (_root.auto[i].s < 0) { _root.auto[i].s = _root.auto[i].s + zpomaleni_povrch; } if (Math.abs(_root.auto[i].s) < zpomaleni_povrch) { _root.auto[i].s = 0; } } if (_root.auto[i].cpu) { _root.spocitej_novou_pozici(i); if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + akcelerace_povrch; } if (Math.abs(_root.auto[i].newr - _root.auto[i].r) < _root.otaceni) { _root.auto[i].r = _root.auto[i].newr; } if (_root.auto[i].newr > _root.uhel(_root.auto[i].r)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } } if (_root.auto[i].newr < _root.uhel(_root.auto[i].r)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } } } if (_root.auto[i].s > maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s - zpomaleni_povrch; } if (_root.auto[i].s < minimalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + zpomaleni_povrch; } i++; } } else if (_root.pauza_aktivni == 0) { i = 0; while (i < _root.pocet_auticek) { brzda_povrch = _root.brzda; if (_root.auto[i].p == 1) { brzda_povrch = _root.brzda_pisek; } if (_root.auto[i].p == 2) { brzda_povrch = _root.brzda_led; } if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - brzda_povrch; } if (_root.auto[i].s < 0) { _root.auto[i].s = _root.auto[i].s + brzda_povrch; } if (Math.abs(_root.auto[i].s) < brzda_povrch) { _root.auto[i].s = 0; } i++; } } }
Frame 16
i = 0; while (i < pocet_auticek) { if (pauza_aktivni == 0) { calculate_car(i); place_car(i); } i++; }
Frame 17
gotoAndPlay (16);
Frame 18
function vypocitej_uhel_ze_souradnic(rozdil_x, rozdil_y) { var _local1 = rozdil_y; var _local2 = rozdil_x; if (_local2 == 0) { _local2 = 0.01; } if (_local1 == 0) { _local1 = 0.01; } vystup = (Math.atan(_local2 / _local1) * 180) / Math.PI; if (_local1 < 0) { vystup = uhel(360 - vystup); } else { vystup = uhel(180 - vystup); } return(vystup); } function vypocitej_polomer_ze_souradnic(rozdil_x, rozdil_y) { vystup = Math.sqrt((rozdil_x * rozdil_x) + (rozdil_y * rozdil_y)); return(vystup); } function vypocitej_nove_souradnice(polomer, vstupni_uhel) { vystup = new Array(); vystup.x = vystup.x + (polomer * sintab[uhel(vstupni_uhel)]); vystup.y = vystup.y + (polomer * (-costab[uhel(vstupni_uhel)])); return(vystup); } function skryt_sipku_u_auta() { je_zobrazena_sipka_u_auta = false; sipka_auto.gotoAndStop(1); } function sound_updater() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].s < -2) { nove_cislo_zvuku = 3; } if ((auto[0].s < 0) && (auto[0].s >= -2)) { nove_cislo_zvuku = 2; } if (auto[0].s == 0) { nove_cislo_zvuku = 1; } if ((auto[0].s > 0) && (auto[0].s <= 2)) { nove_cislo_zvuku = 2; } if ((auto[0].s > 2) && (auto[0].s <= 4)) { nove_cislo_zvuku = 3; } if ((auto[0].s > 4) && (auto[0].s <= 6)) { nove_cislo_zvuku = 4; } if (auto[0].s > 6) { nove_cislo_zvuku = 5; } if (nove_cislo_zvuku != auto[0].zvuk_auta) { if (auto[0].zvuk_auta != 0) { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } } auto[0].zvuk_auta = nove_cislo_zvuku; if (nove_cislo_zvuku == 1) { auto[0].zvuk_r1.start(0, 9999); } if (nove_cislo_zvuku == 2) { auto[0].zvuk_r2.start(0, 9999); } if (nove_cislo_zvuku == 3) { auto[0].zvuk_r3.start(0, 9999); } if (nove_cislo_zvuku == 4) { auto[0].zvuk_r4.start(0, 9999); } if (nove_cislo_zvuku == 5) { auto[0].zvuk_r5.start(0, 9999); } } if (pauza_aktivni) { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } auto[0].zvuk_auta = 0; } if (auto[0].zvuk_hit_playing > 0) { auto[0].zvuk_hit_playing--; } } } function sound_hit_start() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_hit_playing == 0) { auto[0].zvuk_hit.start(0, 1); auto[0].zvuk_hit_playing = 8; } } } function sound_odpocet1() { if (maji_se_prehravat_zvuky) { auto[0].zvuk_odpocet1.start(0, 1); } } function sound_odpocet2() { if (maji_se_prehravat_zvuky) { auto[0].zvuk_odpocet2.start(0, 1); } } function sound_smyk_start() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_smyk == 0) { auto[0].zvuk_sm.start(0, 9999); auto[0].zvuk_smyk = 6; } } } function sound_smyk_stop() { if ((typ_hry == 1) && (maji_se_prehravat_zvuky)) { if (auto[0].zvuk_smyk > 1) { auto[0].zvuk_smyk--; } if (auto[0].zvuk_smyk == 1) { auto[0].zvuk_sm.stop(); auto[0].zvuk_smyk = 0; } } } function sound_updater_stop() { if (auto[0].zvuk_auta == 1) { auto[0].zvuk_r1.stop(); } if (auto[0].zvuk_auta == 2) { auto[0].zvuk_r2.stop(); } if (auto[0].zvuk_auta == 3) { auto[0].zvuk_r3.stop(); } if (auto[0].zvuk_auta == 4) { auto[0].zvuk_r4.stop(); } if (auto[0].zvuk_auta == 5) { auto[0].zvuk_r5.stop(); } if (auto[0].zvuk_smyk == 1) { auto[0].zvuk_sm.stop(); } } function show_pauza() { pauza.gotoAndStop(2); } function hide_pauza() { pauza.gotoAndStop(1); } function ukaz_posledni_kolo(vstup) { if ((vstup == (pocet_kol - 1)) && (!ukazuje_se_posledni_kolo)) { lastlap.gotoAndPlay(2); ukazuje_se_posledni_kolo = true; } if ((vstup == pocet_kol) && (ukazuje_se_posledni_kolo)) { lastlap.gotoAndStop(1); ukazuje_se_posledni_kolo = false; } } function skryj_posledni_kolo() { lastlap.gotoAndStop(1); ukazuje_se_posledni_kolo = false; } function show_turbo(cislo) { if (cislo == 0) { turbo_hrac1.gotoAndPlay(2); } else { turbo_hrac2.gotoAndPlay(2); } auto[cislo].ukturbo = true; } function hide_turbo(cislo) { if (cislo == 0) { turbo_hrac1.gotoAndPlay(10); } else { turbo_hrac2.gotoAndPlay(10); } auto[cislo].ukturbo = false; } function set_kola(cislo, hodnota) { var _local1 = hodnota; _local1 = Math.floor(_local1) + 1; if (_local1 > pocet_kol) { _local1 = pocet_kol; } if (cislo == 0) { kola1.cislo_kola.gotoAndStop(_local1); } else { kola2.cislo_kola.gotoAndStop(_local1); } } function set_kola_cas(hodnota_kola, hodnota_cas) { var _local1 = hodnota_kola; _local1 = Math.floor(_local1) + 1; if (_local1 > pocet_kol) { _local1 = pocet_kol; } kola_cas.cislo_kola.gotoAndStop(_local1); ukaz_minuty = Math.floor((hodnota_cas / 25) / 60); ukaz_sekundy = Math.floor((hodnota_cas / 25) - (ukaz_minuty * 60)); hodnota_cislo1 = Math.floor(ukaz_minuty / 10); hodnota_cislo2 = ukaz_minuty - (hodnota_cislo1 * 10); hodnota_cislo1++; hodnota_cislo2++; kola_cas.cislo1.gotoAndStop(hodnota_cislo1); kola_cas.cislo2.gotoAndStop(hodnota_cislo2); hodnota_cislo3 = Math.floor(ukaz_sekundy / 10); hodnota_cislo4 = ukaz_sekundy - (hodnota_cislo3 * 10); hodnota_cislo3++; hodnota_cislo4++; kola_cas.cislo3.gotoAndStop(hodnota_cislo3); kola_cas.cislo4.gotoAndStop(hodnota_cislo4); } function set_turbo(cislo, hodnota) { if (cislo == 0) { panel_speed1.ukazatel_turbo1._xscale = Math.abs(hodnota); } else { panel_speed2.ukazatel_turbo2._xscale = Math.abs(hodnota); } } function set_speed(cislo, hodnota) { if (cislo == 0) { panel_speed1.ukazatel_rychlost1._xscale = Math.abs(hodnota); } else { panel_speed2.ukazatel_rychlost2._xscale = Math.abs(hodnota); } } function game_init() { if (typ_hry == 1) { panel_speed1.gotoAndStop(2); show_turbo(0); kola_cas.gotoAndStop(2); set_speed(0, 0); } else { panel_speed1.gotoAndStop(2); panel_speed2.gotoAndStop(2); kola1.gotoAndStop(2); kola2.gotoAndStop(2); show_turbo(0); show_turbo(1); set_speed(0, 0); set_speed(1, 0); } } function nastartuj() { start_action = true; gotoAndPlay (19); } function ingame_menu(vitez, vitezny_cas) { skryj_posledni_kolo(); zaverecne_menu_aktivni = true; sound_updater_stop(); if (typ_hry == 1) { if (vitez == 0) { endmenu.gotoAndStop(3); } else { endmenu.gotoAndStop(2); } } else if (vitez == 0) { endmenu.gotoAndStop(4); } else { endmenu.gotoAndStop(5); } } function hide_ingame_menu() { endmenu.gotoAndStop(1); } function restartovat() { hide_ingame_menu(); sound_updater_stop(); gotoAndPlay (18); } function zpet_do_main_menu() { hide_ingame_menu(); sound_updater_stop(); gotoAndPlay (11); } function dalsi_level() { hide_ingame_menu(); sound_updater_stop(); gotoAndStop (18); } function uhel(cislo) { var _local1 = cislo; _local1 = Math.round(_local1); while (_local1 > 359) { _local1 = _local1 - 360; } while (_local1 < 0) { _local1 = _local1 + 360; } return(_local1); } function soucet_uhlu(uhel1, uhel2, rychlost1, rychlost2) { var _local1 = uhel2; var _local2 = uhel1; var _local3 = rychlost2; _local2 = uhel(_local2); _local1 = uhel(_local1); if (Math.abs(_local2 - _local1) > 180) { if (_local1 < 180) { _local1 = _local1 + 360; } else { uhel = uhel - 360; } } if (_local3 > 0) { vystup = _local2 - ((_local2 - _local1) * (1 / ((rychlost1 + _local3) / _local3))); } else { vystup = _local2; } return(vystup); } function vyber_nejvyssi_cislo(cislo1, cislo2, cislo3, max_cislo) { var _local1 = cislo3; var _local2 = cislo2; var _local3 = cislo1; vystup = ((_local3 > _local2) ? (_local3) : (_local2)); vystup = ((_local1 > vystup) ? (_local1) : (vystup)); if ((((_local3 == 0) || (_local2 == 0)) || (_local1 == 0)) && (((_local3 == max_cislo) || (_local2 == max_cislo)) || (_local1 == max_cislo))) { vystup = 0; if (_local3 < (max_cislo - 1)) { vystup = _local3; } if ((_local2 < (max_cislo - 1)) && (_local2 > vystup)) { vystup = _local2; } if ((_local1 < (max_cislo - 1)) && (_local1 > vystup)) { vystup = _local1; } } return(vystup); } function spocitej_novou_pozici(cislo) { var _local1 = cislo; rozdil_x = Math.abs(cputrack[auto[_local1].bod].x - auto[_local1].x); rozdil_y = Math.abs(cputrack[auto[_local1].bod].y - auto[_local1].y); vzdalenost_bodu = Math.sqrt((rozdil_x * rozdil_x) + (rozdil_y * rozdil_y)); if (vzdalenost_bodu < vzdalenost_pro_zmenu_bodu) { auto[_local1].bod++; } if (auto[_local1].bod > max_cputrack) { auto[_local1].bod = 0; } auto[_local1].newx = cputrack[auto[_local1].bod].x; auto[_local1].newy = cputrack[auto[_local1].bod].y; rozdil_x = auto[_local1].newx - auto[_local1].x; rozdil_y = auto[_local1].newy - auto[_local1].y; if (rozdil_x == 0) { rozdil_x = 0.1; } if (rozdil_y == 0) { rozdil_y = 0.1; } auto[_local1].newr = (Math.atan(rozdil_x / rozdil_y) * 180) / Math.PI; if (rozdil_y < 0) { auto[_local1].newr = uhel(360 - auto[_local1].newr); } else { auto[_local1].newr = uhel(180 - auto[_local1].newr); } rozdil_uhlu2 = Math.abs(uhel(auto[_local1].r) - auto[_local1].newr); if (rozdil_uhlu2 > 180) { if (uhel(auto[_local1].r) > 179) { auto[_local1].newr = auto[_local1].newr + 360; } else { auto[_local1].newr = auto[_local1].newr - 360; } } } function urovne_init() { i = 0; while (i <= 1) { if ((auto[i].uroven == 1) || (auto[i].uroven == 2)) { auto[i].i = auto[i].i1; auto[i].i.gotoAndStop(2); auto[i].i2.gotoAndStop(1); } else { auto[i].i = auto[i].i2; auto[i].i.gotoAndStop(2); auto[i].i1.gotoAndStop(1); } i++; } } function place_car(cislo) { var _local1 = cislo; if ((auto[_local1].uroven == 1) || (auto[_local1].uroven == 2)) { if (auto[_local1].i != auto[_local1].i1) { auto[_local1].i = auto[_local1].i1; auto[_local1].i.gotoAndStop(2); auto[_local1].i2.gotoAndStop(1); } } else if (auto[_local1].i != auto[_local1].i2) { auto[_local1].i = auto[_local1].i2; auto[_local1].i.gotoAndStop(2); auto[_local1].i1.gotoAndStop(1); } auto[_local1].i._x = auto[_local1].x; auto[_local1].i._y = auto[_local1].y; auto[_local1].f = uhel(auto[_local1].r); auto[_local1].i._rotation = auto[_local1].f; } function calculate_car(cislo) { var _local1 = cislo; auto[_local1].p = 0; if (pisek.hitTest(auto[_local1].x, auto[_local1].y, true)) { auto[_local1].p = 1; } if (led.hitTest(auto[_local1].x, auto[_local1].y, true)) { auto[_local1].p = 2; } zbytek_za_carkou = auto[_local1].kolo - Math.floor(auto[_local1].kolo); if (zbytek_za_carkou > 0) { kolize_finish = finish.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_finish) { auto[_local1].kolo = auto[_local1].kolo + 0.5; } } else { kolize_halftrack = halftrack.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_halftrack) { auto[_local1].kolo = auto[_local1].kolo + 0.5; } } if ((auto[_local1].uroven == 1) || (auto[_local1].uroven == 3)) { kolize_limiter = limiter1.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_limiter) { auto[_local1].uroven = 2; } } else { kolize_limiter = limiter2.hitTest(auto[_local1].x, auto[_local1].y, true); if (kolize_limiter) { auto[_local1].uroven = 3; } } otaceni2_povrch = otaceni2; if (auto[_local1].p == 1) { otaceni2_povrch = otaceni2_pisek; } if (auto[_local1].p == 2) { otaceni2_povrch = otaceni2_led; } maximalni_rychlost_povrch = maximalni_rychlost; if (_root.auto[_local1].p == 1) { maximalni_rychlost_povrch = maximalni_rychlost_pisek; } if (_root.auto[_local1].p == 2) { maximalni_rychlost_povrch = maximalni_rychlost_led; } if (Math.abs(auto[_local1].r - auto[_local1].r2) < otaceni2_povrch) { auto[_local1].r2 = auto[_local1].r; } if ((Math.abs(auto[_local1].r - auto[_local1].r2) > (otaceni2_povrch * 3)) && (auto[_local1].s > smyk_speed)) { auto[_local1].s = auto[_local1].s - smyk; } if (((Math.abs(auto[_local1].r - auto[_local1].r2) > (otaceni2_povrch * 5)) && (auto[_local1].s > smyk_speed2)) && (_local1 == 0)) { sound_smyk_start(); } if (((Math.abs(auto[_local1].r - auto[_local1].r2) <= (otaceni2_povrch * 5)) || (auto[_local1].s <= smyk_speed2)) && (_local1 == 0)) { sound_smyk_stop(); } if (auto[_local1].r > auto[_local1].r2) { auto[_local1].r2 = auto[_local1].r2 + otaceni2_povrch; } if (auto[_local1].r < auto[_local1].r2) { auto[_local1].r2 = auto[_local1].r2 - otaceni2_povrch; } if (auto[_local1].uroven <= 2) { kolize1 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4 = kolize.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); } else { kolize1 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4 = kolizelevel2.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); } if (((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) { rychlost_posunu = auto[_local1].s; uhel_posunu = auto[_local1].r2; } else { rychlost_posunu = ((auto[_local1].s > auto[_local1].s2) ? (auto[_local1].s) : (auto[_local1].s2)); if (auto[_local1].s < 0) { rychlost_posunu = auto[_local1].s; } uhel_bezneho_pohybu = uhel(auto[_local1].r2); uhel_narazu = uhel(auto[_local1].r3); rozdil_uhlu = Math.abs(uhel_bezneho_pohybu - uhel_narazu); if (rozdil_uhlu > 180) { if (uhel_bezneho_pohybu > 179) { uhel_narazu = uhel_narazu + 360; } else { uhel_narazu = uhel_narazu - 360; } } if (auto[_local1].s2 > 0) { uhel_posunu = uhel_bezneho_pohybu - ((uhel_bezneho_pohybu - uhel_narazu) * (1 / ((auto[_local1].s + auto[_local1].s2) / auto[_local1].s2))); } else { uhel_posunu = auto[_local1].r2; } } auto[_local1].x = auto[_local1].x + (rychlost_posunu * sintab[uhel(uhel_posunu)]); auto[_local1].y = auto[_local1].y + (rychlost_posunu * (-costab[uhel(uhel_posunu)])); if (auto[_local1].s2 > 0) { auto[_local1].s2 = auto[_local1].s2 - zpomaleni_rychlosti_odrazu; } if (auto[_local1].s2 < 0) { auto[_local1].s2 = 0; } if ((_local1 == 0) && (auto[0].uroven == auto[1].uroven)) { kolize1a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4a = auto[1].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); kolize1 = kolize1 || (kolize1a); kolize2 = kolize2 || (kolize2a); kolize3 = kolize3 || (kolize3a); kolize4 = kolize4 || (kolize4a); } if ((_local1 == 1) && (auto[0].uroven == auto[1].uroven)) { kolize1a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][0], auto[_local1].y + auto[_local1].c[auto[_local1].f][1], true); kolize2a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][2], auto[_local1].y + auto[_local1].c[auto[_local1].f][3], true); kolize3a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][4], auto[_local1].y + auto[_local1].c[auto[_local1].f][5], true); kolize4a = auto[0].i.hitTest(auto[_local1].x + auto[_local1].c[auto[_local1].f][6], auto[_local1].y + auto[_local1].c[auto[_local1].f][7], true); kolize1 = kolize1 || (kolize1a); kolize2 = kolize2 || (kolize2a); kolize3 = kolize3 || (kolize3a); kolize4 = kolize4 || (kolize4a); } rychlost_predana_autem = Math.abs(auto[_local1].s * zmenseni_rychlosti_predane); cislo_posouvaneho_auta = ((_local1 == 0) ? 1 : 0); if ((auto[_local1].s > 0) && (kolize1a || (kolize2a))) { auto[cislo_posouvaneho_auta].s2 = rychlost_predana_autem; auto[cislo_posouvaneho_auta].r3 = auto[_local1].r2; } if ((auto[_local1].s < 0) && (kolize3a || (kolize4a))) { auto[cislo_posouvaneho_auta].s2 = rychlost_predana_autem; auto[cislo_posouvaneho_auta].r3 = auto[_local1].r2 - 180; } koeficient_rychlosti = Math.abs(rychlost_posunu) / maximalni_rychlost_povrch; rychlost_odrazeni = koeficient_rychlosti * vzdalenost_kolize; if (rychlost_odrazeni < min_vzdalenost_kolize) { rychlost_odrazeni = min_vzdalenost_kolize; } if (auto[_local1].s >= 0) { if (((kolize1 && (kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].s = (auto[_local1].s * -1) * odraz_pri_celnim_narazu; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 180)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 180)])); } if (((kolize1 && (!kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * koeficient_rychlosti); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } if ((((!kolize1) && (kolize2)) && (!kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r - (uhel_kolize * koeficient_rychlosti); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } if ((((!kolize1) && (!kolize2)) && (kolize3)) && (!kolize4)) { } if ((((!kolize1) && (!kolize2)) && (!kolize3)) && (kolize4)) { } if ((((!kolize1) && (kolize2)) && (!kolize3)) && (kolize4)) { auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } if (((kolize1 && (!kolize2)) && (kolize3)) && (!kolize4)) { auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } } if (auto[_local1].s < 0) { if ((((!kolize1) && (!kolize2)) && (kolize3)) && (kolize4)) { auto[_local1].s = (auto[_local1].s * -1) / 1.5; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2)])); } if ((((!kolize1) && (!kolize2)) && (kolize3)) && (!kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * (-koeficient_rychlosti)); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 + 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 + 90)])); } if ((((!kolize1) && (!kolize2)) && (!kolize3)) && (kolize4)) { auto[_local1].r = auto[_local1].r + (uhel_kolize * (-koeficient_rychlosti)); auto[_local1].s = auto[_local1].s * rychlost_kolize; auto[_local1].x = auto[_local1].x + (rychlost_odrazeni * sintab[uhel(auto[_local1].r2 - 90)]); auto[_local1].y = auto[_local1].y + (rychlost_odrazeni * (-costab[uhel(auto[_local1].r2 - 90)])); } } if (((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) { auto[_local1].r2 = auto[_local1].r; } if ((((kolize1 || (kolize2)) || (kolize3)) || (kolize4)) && (_local1 == 0)) { sound_hit_start(); } } sintab = new Array(); costab = new Array(); i = 0; while (i < 360) { cossin_rad = (i * Math.PI) / 180; sintab[i] = Math.sin(cossin_rad); costab[i] = Math.cos(cossin_rad); i++; } fscommand ("trapallkeys", "true"); auto = new Array(); auto[0] = new Array(); auto[0].x = 330; auto[0].y = 313; auto[0].r = 80; auto[0].r2 = 80; auto[0].r3 = 80; auto[0].s = 0; auto[0].s2 = 0; auto[0].i = auto1; auto[0].i1 = auto1; auto[0].i2 = auto1l2; auto[0].f = 0; auto[0].p = 0; auto[0].cpu = false; auto[0].newx = 0; auto[0].newy = 0; auto[0].newr = 0; auto[0].turbo = 100; auto[0].ta = false; auto[0].bod = 0; auto[0].timer = 0; auto[0].kolo = 0; auto[0].ukturbo = true; auto[0].uroven = 2; auto[0].vlevo = 37; auto[0].vpravo = 39; auto[0].plyn = 38; auto[0].brzda = 40; auto[0].nitro = 16; engine_volume = 70; odpocet_volume = 100; auto[0].zvuk_r1 = new Sound(auto[0].i); auto[0].zvuk_r1.attachSound("zvuk_r1"); auto[0].zvuk_r1.setVolume(engine_volume); auto[0].zvuk_r2 = new Sound(auto[0].i); auto[0].zvuk_r2.attachSound("zvuk_r2"); auto[0].zvuk_r2.setVolume(engine_volume); auto[0].zvuk_r3 = new Sound(auto[0].i); auto[0].zvuk_r3.attachSound("zvuk_r3"); auto[0].zvuk_r3.setVolume(engine_volume); auto[0].zvuk_r4 = new Sound(auto[0].i); auto[0].zvuk_r4.attachSound("zvuk_r4"); auto[0].zvuk_r4.setVolume(engine_volume); auto[0].zvuk_r5 = new Sound(auto[0].i); auto[0].zvuk_r5.attachSound("zvuk_r5"); auto[0].zvuk_r5.setVolume(engine_volume); auto[0].zvuk_auta = 0; auto[0].zvuk_sm = new Sound(kolize); auto[0].zvuk_sm.attachSound("zvuk_smyku"); auto[0].zvuk_sm.setVolume(engine_volume); auto[0].zvuk_smyk = 0; auto[0].zvuk_hit = new Sound(pisek); auto[0].zvuk_hit.attachSound("zvuk_hit"); auto[0].zvuk_hit.setVolume(engine_volume); auto[0].zvuk_hit_playing = 0; auto[0].zvuk_odpocet1 = new Sound(odpocet); auto[0].zvuk_odpocet1.attachSound("zvuk_odpocet1"); auto[0].zvuk_odpocet1.setVolume(odpocet_volume); auto[0].zvuk_odpocet2 = new Sound(odpocet); auto[0].zvuk_odpocet2.attachSound("zvuk_odpocet2"); auto[0].zvuk_odpocet2.setVolume(odpocet_volume); auto[0].c = new Array(); auto[0].c[0] = new Array(-4.8, -7.8, 4.6, -7.8, -4.9, 9.1, 4.6, 9.2); auto[1] = new Array(); auto[1].x = 335; auto[1].y = 332; auto[1].r = 80; auto[1].r2 = 80; auto[1].r3 = 80; auto[1].s = 0; auto[1].s2 = 0; auto[1].i = auto2; auto[1].i1 = auto2; auto[1].i2 = auto2l2; auto[1].f = 0; auto[1].p = 0; auto[1].cpu = false; auto[1].newx = 0; auto[1].newy = 0; auto[1].newr = 0; auto[1].turbo = 100; auto[1].ta = false; auto[1].bod = 0; auto[1].timer = 0; auto[1].kolo = 0; auto[1].ukturbo = true; auto[1].uroven = 2; auto[1].vlevo = 65; auto[1].vpravo = 68; auto[1].plyn = 87; auto[1].brzda = 83; auto[1].nitro = 192; uhel_bodu1 = vypocitej_uhel_ze_souradnic(auto[0].c[0][0], auto[0].c[0][1]); uhel_bodu2 = vypocitej_uhel_ze_souradnic(auto[0].c[0][2], auto[0].c[0][3]); uhel_bodu3 = vypocitej_uhel_ze_souradnic(auto[0].c[0][4], auto[0].c[0][5]); uhel_bodu4 = vypocitej_uhel_ze_souradnic(auto[0].c[0][6], auto[0].c[0][7]); polomer_bodu1 = vypocitej_polomer_ze_souradnic(auto[0].c[0][0], auto[0].c[0][1]); polomer_bodu2 = vypocitej_polomer_ze_souradnic(auto[0].c[0][2], auto[0].c[0][3]); polomer_bodu3 = vypocitej_polomer_ze_souradnic(auto[0].c[0][4], auto[0].c[0][5]); polomer_bodu4 = vypocitej_polomer_ze_souradnic(auto[0].c[0][6], auto[0].c[0][7]); i = 1; while (i <= 359) { auto[0].c[i] = new Array(); nove_souradnice1 = vypocitej_nove_souradnice(polomer_bodu1, uhel_bodu1 + i); nove_souradnice2 = vypocitej_nove_souradnice(polomer_bodu2, uhel_bodu2 + i); nove_souradnice3 = vypocitej_nove_souradnice(polomer_bodu3, uhel_bodu3 + i); nove_souradnice4 = vypocitej_nove_souradnice(polomer_bodu4, uhel_bodu4 + i); auto[0].c[i][0] = nove_souradnice1.x; auto[0].c[i][1] = nove_souradnice1.y; auto[0].c[i][2] = nove_souradnice2.x; auto[0].c[i][3] = nove_souradnice2.y; auto[0].c[i][4] = nove_souradnice3.x; auto[0].c[i][5] = nove_souradnice3.y; auto[0].c[i][6] = nove_souradnice4.x; auto[0].c[i][7] = nove_souradnice4.y; i++; } auto[1].c = auto[0].c; pocet_auticek = 2; start_action = false; pauza_aktivni = 0; zaverecne_menu_aktivni = false; ukazuje_se_posledni_kolo = false; if (typ_hry == 1) { je_zobrazena_sipka_u_auta = true; sipka_auto.gotoAndPlay(2); } if (!akcelerace) { akcelerace = 0.1; } if (!akcelerace_pisek) { akcelerace_pisek = 0.09; } if (!akcelerace_led) { akcelerace_led = 0.07; } if (!zpomaleni) { zpomaleni = 0.1; } if (!zpomaleni_pisek) { zpomaleni_pisek = 0.1; } if (!zpomaleni_led) { zpomaleni_led = 0.08; } if (!smyk) { smyk = 0.13; } if (!smyk_speed) { smyk_speed = 2.5; } if (!smyk_speed2) { smyk_speed2 = 1; } if (!brzda) { brzda = 0.3; } if (!brzda_pisek) { brzda_pisek = 0.13; } if (!brzda_led) { brzda_led = 0.13; } if (!otaceni) { otaceni = 5; } if (!otaceni2) { otaceni2 = 4; } if (!otaceni2_pisek) { otaceni2_pisek = 2.9; } if (!otaceni2_led) { otaceni2_led = 2.4; } if (!maximalni_rychlost) { maximalni_rychlost = 5.5; } if (!maximalni_rychlost_pisek) { maximalni_rychlost_pisek = 5.5; } if (!maximalni_rychlost_led) { maximalni_rychlost_led = 5.5; } if (!minimalni_rychlost) { minimalni_rychlost = -3; } if (!minimalni_rychlost_pisek) { minimalni_rychlost_pisek = -2.6; } if (!minimalni_rychlost_led) { minimalni_rychlost_led = -3; } if (!uhel_kolize) { uhel_kolize = 11; } if (!vzdalenost_kolize) { vzdalenost_kolize = 2.2; } if (!min_vzdalenost_kolize) { min_vzdalenost_kolize = 0.2; } if (!rychlost_kolize) { rychlost_kolize = 0.6; } zmenseni_rychlosti_predane = 0.6; zpomaleni_rychlosti_odrazu = 0.4; odraz_pri_celnim_narazu = 0.2; cpu_max_rozdil_uhlu = 25; cpu_max_rychlost_pri_smyku = 3; rychlost_turba = 3; akcelerace_turba = 0.18; maximalni_turbo = 100; turbo_filling = 0.4; turbo_using = 3; vzdalenost_pro_zmenu_bodu = 32; snizeni_max_rychlosti_cpu = -0.4; pocet_kol = 8; klavesa_zpet_do_menu = 27; klavesa_pause = 80; if (typ_hry == 1) { auto[1].cpu = true; } cputrack = new Array(); max_cputrack = 60; i = 0; while (i <= max_cputrack) { xova = Math.round(eval (("cpubod" + i) + "._x")); yova = Math.round(eval (("cpubod" + i) + "._y")); cputrack[i] = new Array(); cputrack[i].x = xova; cputrack[i].y = yova; i++; } game_init(); i = 0; while (i < pocet_auticek) { place_car(i); i++; } stop();
Instance of Symbol 138 MovieClip "auto1" in Frame 18
onClipEvent (enterFrame) { if (Key.isDown(_root.klavesa_zpet_do_menu)) { _root.zpet_do_main_menu(); } if (_root.ma_se_prehravat_hudba && (!_root.prehrava_se_hudba)) { _root.hudba_na_pozadi.start(0, 9999); _root.prehrava_se_hudba = true; } if (_root.ma_se_prehravat_hudba || (_root.maji_se_prehravat_zvuky)) { if (_root.hudba_na_pozadi.getVolume() < 100) { if (_root.hudba_na_pozadi.getVolume() < (100 - _root.skok_pro_fadein_hudby)) { _root.hudba_na_pozadi.setVolume(_root.hudba_na_pozadi.getVolume() + _root.skok_pro_fadein_hudby); } else { _root.hudba_na_pozadi.setVolume(100); } } } if (_root.je_zobrazena_sipka_u_auta && (_root.auto[0].s != 0)) { _root.skryt_sipku_u_auta(); } if (!_root.zaverecne_menu_aktivni) { if (Key.isDown(_root.klavesa_pause)) { if (_root.pauza_aktivni == 0) { _root.pauza_aktivni = 1; _root.show_pauza(); } if (_root.pauza_aktivni == 2) { _root.pauza_aktivni = 3; } } else { if (_root.pauza_aktivni == 1) { _root.pauza_aktivni = 2; } if (_root.pauza_aktivni == 3) { _root.pauza_aktivni = 0; _root.hide_pauza(); } } _root.sound_updater(); } if (_root.start_action && (_root.pauza_aktivni == 0)) { if (_root.auto[0].turbo < 0) { _root.auto[0].turbo = 0; } if (_root.auto[1].turbo < 0) { _root.auto[1].turbo = 0; } if (_root.auto[0].turbo >= _root.maximalni_turbo) { _root.auto[0].turbo = _root.maximalni_turbo; if (_root.auto[0].ukturbo == false) { _root.show_turbo(0); } } else if (_root.auto[0].ukturbo == true) { _root.hide_turbo(0); } _root.set_turbo(0, _root.auto[0].turbo); _root.set_speed(0, (_root.auto[0].s / (_root.maximalni_rychlost + _root.rychlost_turba)) * 100); if (_root.typ_hry == 1) { _root.set_kola_cas(_root.auto[0].kolo, _root.auto[0].timer); _root.ukaz_posledni_kolo(_root.auto[0].kolo); } else { if (_root.auto[1].turbo >= _root.maximalni_turbo) { _root.auto[1].turbo = _root.maximalni_turbo; if (_root.auto[1].ukturbo == false) { _root.show_turbo(1); } } else if (_root.auto[1].ukturbo == true) { _root.hide_turbo(1); } _root.set_turbo(1, _root.auto[1].turbo); _root.set_speed(1, (_root.auto[1].s / (_root.maximalni_rychlost + _root.rychlost_turba)) * 100); _root.set_kola(0, _root.auto[0].kolo); _root.set_kola(1, _root.auto[1].kolo); } i = 0; while (i < _root.pocet_auticek) { if (_root.auto[i].kolo == _root.pocet_kol) { _root.start_action = false; _root.ingame_menu(i, _root.auto[i].timer); } _root.auto[i].timer++; akcelerace_povrch = _root.akcelerace; if (_root.auto[i].p == 1) { akcelerace_povrch = _root.akcelerace_pisek; } if (_root.auto[i].p == 2) { akcelerace_povrch = _root.akcelerace_led; } zpomaleni_povrch = _root.zpomaleni; if (_root.auto[i].p == 1) { zpomaleni_povrch = _root.zpomaleni_pisek; } if (_root.auto[i].p == 2) { zpomaleni_povrch = _root.zpomaleni_led; } brzda_povrch = _root.brzda; if (_root.auto[i].p == 1) { brzda_povrch = _root.brzda_pisek; } if (_root.auto[i].p == 2) { brzda_povrch = _root.brzda_led; } maximalni_rychlost_povrch = _root.maximalni_rychlost; if (_root.auto[i].p == 1) { maximalni_rychlost_povrch = _root.maximalni_rychlost_pisek; } if (_root.auto[i].p == 2) { maximalni_rychlost_povrch = _root.maximalni_rychlost_led; } minimalni_rychlost_povrch = _root.minimalni_rychlost; if (_root.auto[i].p == 1) { minimalni_rychlost_povrch = _root.minimalni_rychlost_pisek; } if (_root.auto[i].p == 2) { minimalni_rychlost_povrch = _root.minimalni_rychlost_led; } if (_root.auto[i].ta) { maximalni_rychlost_povrch = maximalni_rychlost_povrch + _root.rychlost_turba; } if (_root.auto[i].cpu) { maximalni_rychlost_povrch = maximalni_rychlost_povrch - _root.snizeni_max_rychlosti_cpu; } zpomaleni_otaceni = 1; if (Math.abs(_root.auto[i].s) < 1) { zpomaleni_otaceni = Math.abs(_root.auto[i].s); } if (Key.isDown(_root.auto[i].vpravo) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } } if (Key.isDown(_root.auto[i].vlevo) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } } if (Key.isDown(_root.auto[i].plyn) && (!_root.auto[i].cpu)) { if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + akcelerace_povrch; } } if (Key.isDown(_root.auto[i].brzda) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > minimalni_rychlost_povrch) { if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - brzda_povrch; } else { _root.auto[i].s = _root.auto[i].s - akcelerace_povrch; } } } if (Key.isDown(_root.auto[i].nitro) && (!_root.auto[i].cpu)) { if (_root.auto[i].ta) { if (_root.auto[i].turbo > 0) { if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + _root.akcelerace_turba; } _root.auto[i].turbo = _root.auto[i].turbo - _root.turbo_using; } else { _root.auto[i].ta = false; } } else if (_root.auto[i].turbo >= _root.maximalni_turbo) { _root.auto[i].ta = true; } else if (_root.auto[i].turbo < _root.maximalni_turbo) { _root.auto[i].turbo = _root.auto[i].turbo + _root.turbo_filling; } } if ((Key.isDown(_root.auto[i].nitro) == false) && (!_root.auto[i].cpu)) { _root.auto[i].ta = false; if (_root.auto[i].turbo < _root.maximalni_turbo) { _root.auto[i].turbo = _root.auto[i].turbo + _root.turbo_filling; } } if (((Key.isDown(_root.auto[i].plyn) == false) && (Key.isDown(_root.auto[i].brzda) == false)) && (!_root.auto[i].cpu)) { if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - zpomaleni_povrch; } if (_root.auto[i].s < 0) { _root.auto[i].s = _root.auto[i].s + zpomaleni_povrch; } if (Math.abs(_root.auto[i].s) < zpomaleni_povrch) { _root.auto[i].s = 0; } } if (_root.auto[i].cpu) { _root.spocitej_novou_pozici(i); if (_root.auto[i].s < maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + akcelerace_povrch; } if (Math.abs(_root.auto[i].newr - _root.auto[i].r) < _root.otaceni) { _root.auto[i].r = _root.auto[i].newr; } if (_root.auto[i].newr > _root.uhel(_root.auto[i].r)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } } if (_root.auto[i].newr < _root.uhel(_root.auto[i].r)) { if (_root.auto[i].s > 0) { _root.auto[i].r = _root.auto[i].r - (_root.otaceni * zpomaleni_otaceni); } if (_root.auto[i].s < 0) { _root.auto[i].r = _root.auto[i].r + (_root.otaceni * zpomaleni_otaceni); } } } if (_root.auto[i].s > maximalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s - zpomaleni_povrch; } if (_root.auto[i].s < minimalni_rychlost_povrch) { _root.auto[i].s = _root.auto[i].s + zpomaleni_povrch; } i++; } } else if (_root.pauza_aktivni == 0) { i = 0; while (i < _root.pocet_auticek) { brzda_povrch = _root.brzda; if (_root.auto[i].p == 1) { brzda_povrch = _root.brzda_pisek; } if (_root.auto[i].p == 2) { brzda_povrch = _root.brzda_led; } if (_root.auto[i].s > 0) { _root.auto[i].s = _root.auto[i].s - brzda_povrch; } if (_root.auto[i].s < 0) { _root.auto[i].s = _root.auto[i].s + brzda_povrch; } if (Math.abs(_root.auto[i].s) < brzda_povrch) { _root.auto[i].s = 0; } i++; } } }
Frame 19
i = 0; while (i < pocet_auticek) { if (pauza_aktivni == 0) { calculate_car(i); place_car(i); } i++; }
Frame 20
gotoAndPlay (19);
Symbol 14 MovieClip Frame 99
_parent.play(); stop();
Symbol 18 Button
on (release) { getURL ("http://www.miniclip.com", "_blank"); }
Symbol 40 Button
on (release) { _root.p1_click(); }
Symbol 43 Button
on (release) { _root.p2_click(); }
Symbol 46 Button
on (release) { _root.nastaveni_click(); }
Symbol 49 Button
on (release) { _root.help_click(); }
Symbol 54 Button
on (release) { getURL ("http://www.miniclip.com/download_ruralracer.htm", "_blank"); }
Symbol 58 Button
on (release) { getURL ("http://www.miniclip.com/signup2.htm", "_blank"); }
Symbol 62 Button
on (release) { getURL ("http://www.miniclip.com", "_blank"); }
Symbol 65 Button
on (release) { getURL ("http://www.miniclip.com", "_blank"); }
Symbol 96 Button
on (release) { _root.help_click_close(); }
Symbol 97 MovieClip Frame 1
stop();
Symbol 97 MovieClip Frame 2
stop();
Symbol 102 Button
on (release) { _root.nastaveni_click_close(); }
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 1
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 2
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 116 Button
on (release) { _root.hudba_click(); }
Symbol 118 Button
on (release) { _root.zvuky_click(); }
Symbol 119 Button
on (release) { _root.nastavit_kvalitu(3); }
Symbol 120 Button
on (release) { _root.nastavit_kvalitu(2); }
Symbol 121 Button
on (release) { _root.nastavit_kvalitu(1); }
Symbol 122 MovieClip Frame 1
stop();
Symbol 122 MovieClip Frame 2
hudba_zvuky_update(); stop();
Instance of Symbol 106 MovieClip "ukazatel_zvuky" in Symbol 122 MovieClip Frame 2
on (release) { _root.zvuky_click(); }
Instance of Symbol 108 MovieClip "ukazatel_hudba" in Symbol 122 MovieClip Frame 2
on (release) { _root.hudba_click(); }
Symbol 138 MovieClip Frame 2
stop();
Symbol 140 MovieClip Frame 2
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 2
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 2
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 2
play();
Symbol 161 MovieClip Frame 9
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 1
stop();
Symbol 179 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
play();
Symbol 185 MovieClip Frame 30
gotoAndPlay (2);
Symbol 188 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 1
stop();
Symbol 189 MovieClip Frame 2
play();
Symbol 189 MovieClip Frame 9
stop();
Symbol 191 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 2
play();
Symbol 196 MovieClip Frame 18
gotoAndPlay (2);
Symbol 206 MovieClip Frame 1
_root.urovne_init();
Symbol 206 MovieClip Frame 2
_root.sound_odpocet1();
Symbol 206 MovieClip Frame 26
_root.sound_odpocet1();
Symbol 206 MovieClip Frame 51
_root.sound_odpocet1();
Symbol 206 MovieClip Frame 75
_root.sound_odpocet2(); _root.nastartuj();
Symbol 206 MovieClip Frame 90
stop();
Symbol 211 Button
on (release) { _root.restartovat(); }
Symbol 213 Button
on (release) { _root.zpet_do_main_menu(); }
Symbol 217 Button
on (release) { _root.dalsi_level(); }
Symbol 221 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 224 MovieClip Frame 2
stop();
Symbol 255 Button
on (release) { getURL ("http://www.miniclip.com", "_blank"); }
Symbol 256 MovieClip Frame 1
stop();

Library Items

Symbol 258 Bitmap
Symbol 259 Bitmap
Symbol 260 Bitmap
Symbol 261 Bitmap
Symbol 262 Bitmap
Symbol 263 Bitmap
Symbol 264 Bitmap
Symbol 265 Bitmap
Symbol 266 BitmapUsed by:1
Symbol 1 GraphicUses:266Used by:Timeline
Symbol 3 ShapeTweeningUsed by:14
Symbol 5 SoundUsed by:14
Symbol 6 GraphicUsed by:14
Symbol 7 Bitmap
Symbol 257 Bitmap
Symbol 11 GraphicUsed by:14
Symbol 12 SoundUsed by:14
Symbol 14 MovieClipUses:3 5 6 11 12Used by:Timeline
Symbol 15 GraphicUsed by:Timeline
Symbol 17 GraphicUsed by:18 65
Symbol 18 ButtonUses:17Used by:Timeline
Symbol 19 FontUsed by:20 21 38 39 67 70 71 72 73 88 89 90 99 100 101 153 214 215 218 219 220
Symbol 20 TextUses:19Used by:Timeline
Symbol 21 TextUses:19Used by:Timeline
Symbol 22 GraphicUsed by:Timeline
Symbol 23 FontUsed by:24 198 201 204 223
Symbol 24 EditableTextUses:23Used by:Timeline
Symbol 26 Sound [zvuk_r5]Used by:Timeline
Symbol 27 Sound [zvuk_r4]Used by:Timeline
Symbol 28 Sound [zvuk_r3]Used by:Timeline
Symbol 29 Sound [zvuk_r2]Used by:Timeline
Symbol 30 Sound [zvuk_r1]Used by:Timeline
Symbol 31 Sound [zvuk_smyku]Used by:Timeline
Symbol 32 Sound [zvuk_odpocet2]Used by:Timeline
Symbol 33 Sound [zvuk_odpocet1]Used by:Timeline
Symbol 34 Sound [zvuk_hit]Used by:Timeline
Symbol 35 Sound [music1]Used by:Timeline
Symbol 36 GraphicUsed by:40 43 46 49  Timeline
Symbol 38 TextUses:19Used by:40
Symbol 39 TextUses:19Used by:40
Symbol 40 ButtonUses:38 39 36Used by:Timeline
Symbol 43 ButtonUses:36Used by:Timeline
Symbol 46 ButtonUses:36Used by:Timeline
Symbol 49 ButtonUses:36Used by:Timeline
Symbol 50 GraphicUsed by:Timeline
Symbol 54 ButtonUsed by:Timeline
Symbol 58 ButtonUsed by:Timeline
Symbol 62 ButtonUsed by:Timeline
Symbol 65 ButtonUses:17Used by:Timeline
Symbol 66 GraphicUsed by:97
Symbol 67 TextUses:19Used by:97
Symbol 70 TextUses:19Used by:97
Symbol 71 TextUses:19Used by:97
Symbol 72 TextUses:19Used by:97
Symbol 73 TextUses:19Used by:97
Symbol 74 GraphicUsed by:97
Symbol 75 FontUsed by:76 78 80 82 84 86 87
Symbol 76 TextUses:75Used by:97
Symbol 77 GraphicUsed by:97
Symbol 78 TextUses:75Used by:97
Symbol 79 GraphicUsed by:97
Symbol 80 TextUses:75Used by:97
Symbol 81 GraphicUsed by:97
Symbol 82 TextUses:75Used by:97
Symbol 83 GraphicUsed by:97
Symbol 84 TextUses:75Used by:97
Symbol 85 GraphicUsed by:97
Symbol 86 TextUses:75Used by:97
Symbol 87 TextUses:75Used by:97
Symbol 88 TextUses:19Used by:97
Symbol 89 TextUses:19Used by:97
Symbol 90 TextUses:19Used by:97
Symbol 92 FontUsed by:93 104 107 109 111 113 150 151 163 164 165 166 167 168 169 170 171 172 173 174 175 180 183 209 216 253
Symbol 93 TextUses:92Used by:96 102 213
Symbol 96 ButtonUses:93Used by:97
Symbol 97 MovieClipUses:66 67 70 71 72 73 74 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 96Used by:Timeline
Symbol 98 GraphicUsed by:122
Symbol 99 TextUses:19Used by:122
Symbol 100 TextUses:19Used by:122
Symbol 101 TextUses:19Used by:122
Symbol 102 ButtonUses:93Used by:122
Symbol 104 TextUses:92Used by:106
Symbol 106 MovieClipUses:104Used by:122
Symbol 107 TextUses:92Used by:108
Symbol 108 MovieClipUses:107Used by:122
Symbol 109 TextUses:92Used by:110
Symbol 110 MovieClipUses:109Used by:122
Symbol 111 TextUses:92Used by:112
Symbol 112 MovieClipUses:111Used by:122
Symbol 113 TextUses:92Used by:114
Symbol 114 MovieClipUses:113Used by:122
Symbol 116 ButtonUsed by:122
Symbol 118 ButtonUsed by:122
Symbol 119 ButtonUsed by:122
Symbol 120 ButtonUsed by:122
Symbol 121 ButtonUsed by:122
Symbol 122 MovieClipUses:98 99 100 101 102 106 108 110 112 114 116 118 119 120 121Used by:Timeline
Symbol 123 GraphicUsed by:124
Symbol 124 MovieClipUses:123Used by:Timeline
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:125Used by:Timeline
Symbol 127 GraphicUsed by:128
Symbol 128 MovieClipUses:127Used by:Timeline
Symbol 130 MovieClipUsed by:Timeline
Symbol 132 MovieClipUsed by:Timeline
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:135
Symbol 135 MovieClipUses:134Used by:Timeline
Symbol 136 GraphicUsed by:Timeline
Symbol 137 GraphicUsed by:138
Symbol 138 MovieClipUses:137Used by:Timeline
Symbol 139 GraphicUsed by:140
Symbol 140 MovieClipUses:139Used by:Timeline
Symbol 141 GraphicUsed by:Timeline
Symbol 142 FontUsed by:143
Symbol 143 TextUses:142Used by:Timeline
Symbol 144 GraphicUsed by:Timeline
Symbol 145 GraphicUsed by:146
Symbol 146 MovieClipUses:145Used by:Timeline
Symbol 147 GraphicUsed by:148
Symbol 148 MovieClipUses:147Used by:Timeline
Symbol 150 TextUses:92Used by:157 188
Symbol 151 TextUses:92Used by:157 188
Symbol 153 TextUses:19Used by:157 188
Symbol 155 MovieClipUsed by:157 188
Symbol 156 MovieClipUsed by:157 188
Symbol 157 MovieClipUses:150 151 153 155 156Used by:Timeline
Symbol 159 MovieClipUsed by:161 189
Symbol 161 MovieClipUses:159Used by:Timeline
Symbol 163 TextUses:92Used by:182 191 193
Symbol 164 TextUses:92Used by:182
Symbol 165 TextUses:92Used by:182
Symbol 166 TextUses:92Used by:176 177 178 179
Symbol 167 TextUses:92Used by:176 177 178 179 181
Symbol 168 TextUses:92Used by:176 177 178 179 181
Symbol 169 TextUses:92Used by:176 177 178 179 181
Symbol 170 TextUses:92Used by:176 177 178 179 181
Symbol 171 TextUses:92Used by:176 177 178 179 181
Symbol 172 TextUses:92Used by:176 177 178 179 181
Symbol 173 TextUses:92Used by:176 177 178 179 181
Symbol 174 TextUses:92Used by:176 177 178 179 181 182 191 193
Symbol 175 TextUses:92Used by:176 177 178 179
Symbol 176 MovieClipUses:166 167 168 169 170 171 172 173 174 175Used by:182
Symbol 177 MovieClipUses:166 167 168 169 170 171 172 173 174 175Used by:182
Symbol 178 MovieClipUses:166 167 168 169 170 171 172 173 174 175Used by:182
Symbol 179 MovieClipUses:166 167 168 169 170 171 172 173 174 175Used by:182
Symbol 180 TextUses:92Used by:182 191 193
Symbol 181 MovieClipUses:167 168 169 170 171 172 173 174Used by:182 191 193
Symbol 182 MovieClipUses:163 164 165 176 177 178 179 180 174 181Used by:Timeline
Symbol 183 TextUses:92Used by:184
Symbol 184 MovieClipUses:183Used by:185
Symbol 185 MovieClipUses:184Used by:Timeline
Symbol 188 MovieClipUses:150 151 153 155 156Used by:Timeline
Symbol 189 MovieClipUses:159Used by:Timeline
Symbol 191 MovieClipUses:163 180 174 181Used by:Timeline
Symbol 193 MovieClipUses:163 180 174 181Used by:Timeline
Symbol 194 GraphicUsed by:195
Symbol 195 MovieClipUses:194Used by:196
Symbol 196 MovieClipUses:195Used by:Timeline
Symbol 197 GraphicUsed by:199
Symbol 198 TextUses:23Used by:199
Symbol 199 MovieClipUses:197 198Used by:206
Symbol 200 GraphicUsed by:202
Symbol 201 TextUses:23Used by:202
Symbol 202 MovieClipUses:200 201Used by:206
Symbol 203 GraphicUsed by:205
Symbol 204 TextUses:23Used by:205
Symbol 205 MovieClipUses:203 204Used by:206
Symbol 206 MovieClipUses:199 202 205Used by:Timeline
Symbol 207 GraphicUsed by:221
Symbol 208 GraphicUsed by:211 213 217
Symbol 209 TextUses:92Used by:211
Symbol 210 GraphicUsed by:211 213 217
Symbol 211 ButtonUses:208 209 210Used by:221 256
Symbol 212 GraphicUsed by:213 217 255
Symbol 213 ButtonUses:208 93 210 212Used by:221 256
Symbol 214 TextUses:19Used by:221 256
Symbol 215 TextUses:19Used by:221 256
Symbol 216 TextUses:92Used by:217
Symbol 217 ButtonUses:208 216 210 212Used by:221
Symbol 218 TextUses:19Used by:221 256
Symbol 219 TextUses:19Used by:221 256
Symbol 220 TextUses:19Used by:221 256
Symbol 221 MovieClipUses:207 211 213 214 215 217 218 219 220Used by:Timeline
Symbol 222 GraphicUsed by:224
Symbol 223 TextUses:23Used by:224
Symbol 224 MovieClipUses:222 223Used by:Timeline
Symbol 225 GraphicUsed by:226
Symbol 226 MovieClipUses:225Used by:Timeline
Symbol 227 GraphicUsed by:228
Symbol 228 MovieClipUses:227Used by:Timeline
Symbol 229 GraphicUsed by:230
Symbol 230 MovieClipUses:229Used by:Timeline
Symbol 231 GraphicUsed by:232
Symbol 232 MovieClipUses:231Used by:Timeline
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:233Used by:Timeline
Symbol 235 GraphicUsed by:Timeline
Symbol 236 GraphicUsed by:Timeline
Symbol 237 GraphicUsed by:Timeline
Symbol 238 GraphicUsed by:239
Symbol 239 MovieClipUses:238Used by:Timeline
Symbol 240 GraphicUsed by:241
Symbol 241 MovieClipUses:240Used by:Timeline
Symbol 242 GraphicUsed by:243
Symbol 243 MovieClipUses:242Used by:Timeline
Symbol 244 GraphicUsed by:245
Symbol 245 MovieClipUses:244Used by:Timeline
Symbol 246 BitmapUsed by:247
Symbol 247 GraphicUses:246Used by:Timeline
Symbol 248 GraphicUsed by:Timeline
Symbol 249 GraphicUsed by:Timeline
Symbol 250 GraphicUsed by:Timeline
Symbol 251 GraphicUsed by:256
Symbol 252 GraphicUsed by:255
Symbol 253 TextUses:92Used by:255
Symbol 254 GraphicUsed by:255
Symbol 255 ButtonUses:252 253 254 212Used by:256
Symbol 256 MovieClipUses:251 211 213 255 214 215 218 219 220Used by:Timeline

Instance Names

"napoveda"Frame 11Symbol 97 MovieClip
"nastaveni"Frame 11Symbol 122 MovieClip
"kolize"Frame 12Symbol 124 MovieClip
"finish"Frame 12Symbol 126 MovieClip
"halftrack"Frame 12Symbol 128 MovieClip
"cpubod0"Frame 12Symbol 130 MovieClip
"cpubod1"Frame 12Symbol 130 MovieClip
"cpubod2"Frame 12Symbol 130 MovieClip
"cpubod3"Frame 12Symbol 130 MovieClip
"cpubod4"Frame 12Symbol 130 MovieClip
"cpubod5"Frame 12Symbol 130 MovieClip
"cpubod6"Frame 12Symbol 130 MovieClip
"cpubod7"Frame 12Symbol 130 MovieClip
"cpubod8"Frame 12Symbol 130 MovieClip
"cpubod9"Frame 12Symbol 130 MovieClip
"cpubod10"Frame 12Symbol 130 MovieClip
"cpubod11"Frame 12Symbol 130 MovieClip
"cpubod12"Frame 12Symbol 130 MovieClip
"cpubod13"Frame 12Symbol 130 MovieClip
"cpubod14"Frame 12Symbol 130 MovieClip
"cpubod15"Frame 12Symbol 130 MovieClip
"cpubod16"Frame 12Symbol 130 MovieClip
"cpubod17"Frame 12Symbol 130 MovieClip
"cpubod18"Frame 12Symbol 130 MovieClip
"cpubod19"Frame 12Symbol 130 MovieClip
"cpubod20"Frame 12Symbol 130 MovieClip
"cpubod21"Frame 12Symbol 130 MovieClip
"cpubod22"Frame 12Symbol 130 MovieClip
"cpubod23"Frame 12Symbol 130 MovieClip
"cpubod24"Frame 12Symbol 130 MovieClip
"cpubod25"Frame 12Symbol 130 MovieClip
"cpubod26"Frame 12Symbol 130 MovieClip
"cpubod27"Frame 12Symbol 130 MovieClip
"cpubod28"Frame 12Symbol 130 MovieClip
"cpubod29"Frame 12Symbol 130 MovieClip
"cpubod30"Frame 12Symbol 130 MovieClip
"cpubod31"Frame 12Symbol 130 MovieClip
"cpubod32"Frame 12Symbol 130 MovieClip
"cpubod33"Frame 12Symbol 130 MovieClip
"cpubod34"Frame 12Symbol 130 MovieClip
"cpubod35"Frame 12Symbol 130 MovieClip
"cpubod36"Frame 12Symbol 130 MovieClip
"cpubod37"Frame 12Symbol 130 MovieClip
"cpubod38"Frame 12Symbol 130 MovieClip
"cpubod39"Frame 12Symbol 130 MovieClip
"cpubod40"Frame 12Symbol 130 MovieClip
"cpuboda"Frame 12Symbol 132 MovieClip
"cpubod41"Frame 12Symbol 130 MovieClip
"auto1"Frame 12Symbol 138 MovieClip
"auto2"Frame 12Symbol 140 MovieClip
"auto1l2"Frame 12Symbol 146 MovieClip
"auto2l2"Frame 12Symbol 148 MovieClip
"panel_speed1"Frame 12Symbol 157 MovieClip
"turbo_hrac1"Frame 12Symbol 161 MovieClip
"kola_cas"Frame 12Symbol 182 MovieClip
"lastlap"Frame 12Symbol 185 MovieClip
"panel_speed2"Frame 12Symbol 188 MovieClip
"turbo_hrac2"Frame 12Symbol 189 MovieClip
"kola2"Frame 12Symbol 191 MovieClip
"kola1"Frame 12Symbol 193 MovieClip
"sipka_auto"Frame 12Symbol 196 MovieClip
"odpocet"Frame 12Symbol 206 MovieClip
"endmenu"Frame 12Symbol 221 MovieClip
"pauza"Frame 12Symbol 224 MovieClip
"kolize"Frame 15Symbol 226 MovieClip
"kolizelevel2"Frame 15Symbol 228 MovieClip
"finish"Frame 15Symbol 126 MovieClip
"halftrack"Frame 15Symbol 128 MovieClip
"limiter1"Frame 15Symbol 230 MovieClip
"limiter2"Frame 15Symbol 232 MovieClip
"cpubod0"Frame 15Symbol 130 MovieClip
"cpubod1"Frame 15Symbol 130 MovieClip
"cpubod2"Frame 15Symbol 130 MovieClip
"cpubod3"Frame 15Symbol 130 MovieClip
"cpubod4"Frame 15Symbol 130 MovieClip
"cpubod5"Frame 15Symbol 130 MovieClip
"cpubod6"Frame 15Symbol 130 MovieClip
"cpubod7"Frame 15Symbol 130 MovieClip
"cpubod8"Frame 15Symbol 130 MovieClip
"cpubod9"Frame 15Symbol 130 MovieClip
"cpubod10"Frame 15Symbol 130 MovieClip
"cpubod11"Frame 15Symbol 130 MovieClip
"cpubod12"Frame 15Symbol 130 MovieClip
"cpubod13"Frame 15Symbol 130 MovieClip
"cpubod14"Frame 15Symbol 130 MovieClip
"cpubod15"Frame 15Symbol 130 MovieClip
"cpubod16"Frame 15Symbol 130 MovieClip
"cpubod17"Frame 15Symbol 130 MovieClip
"cpubod18"Frame 15Symbol 130 MovieClip
"cpubod19"Frame 15Symbol 130 MovieClip
"cpubod20"Frame 15Symbol 130 MovieClip
"cpubod21"Frame 15Symbol 130 MovieClip
"cpubod22"Frame 15Symbol 130 MovieClip
"cpubod23"Frame 15Symbol 130 MovieClip
"cpubod24"Frame 15Symbol 130 MovieClip
"cpubod25"Frame 15Symbol 130 MovieClip
"cpubod26"Frame 15Symbol 130 MovieClip
"cpubod27"Frame 15Symbol 130 MovieClip
"cpubod28"Frame 15Symbol 130 MovieClip
"cpubod29"Frame 15Symbol 130 MovieClip
"cpubod30"Frame 15Symbol 130 MovieClip
"cpubod31"Frame 15Symbol 130 MovieClip
"cpubod32"Frame 15Symbol 130 MovieClip
"cpubod33"Frame 15Symbol 130 MovieClip
"cpubod34"Frame 15Symbol 130 MovieClip
"cpubod35"Frame 15Symbol 130 MovieClip
"cpubod36"Frame 15Symbol 130 MovieClip
"cpubod37"Frame 15Symbol 130 MovieClip
"cpubod38"Frame 15Symbol 130 MovieClip
"cpubod39"Frame 15Symbol 130 MovieClip
"cpubod40"Frame 15Symbol 130 MovieClip
"cpubod41"Frame 15Symbol 130 MovieClip
"cpubod42"Frame 15Symbol 130 MovieClip
"cpubod43"Frame 15Symbol 130 MovieClip
"cpubod44"Frame 15Symbol 130 MovieClip
"cpuboda"Frame 15Symbol 132 MovieClip
"auto1"Frame 15Symbol 138 MovieClip
"auto2"Frame 15Symbol 140 MovieClip
"auto1l2"Frame 15Symbol 146 MovieClip
"auto2l2"Frame 15Symbol 148 MovieClip
"panel_speed1"Frame 15Symbol 157 MovieClip
"turbo_hrac1"Frame 15Symbol 161 MovieClip
"kola_cas"Frame 15Symbol 182 MovieClip
"lastlap"Frame 15Symbol 185 MovieClip
"panel_speed2"Frame 15Symbol 188 MovieClip
"turbo_hrac2"Frame 15Symbol 189 MovieClip
"kola2"Frame 15Symbol 191 MovieClip
"kola1"Frame 15Symbol 193 MovieClip
"sipka_auto"Frame 15Symbol 196 MovieClip
"odpocet"Frame 15Symbol 206 MovieClip
"endmenu"Frame 15Symbol 221 MovieClip
"pauza"Frame 15Symbol 224 MovieClip
"kolize"Frame 18Symbol 239 MovieClip
"kolizelevel2"Frame 18Symbol 241 MovieClip
"finish"Frame 18Symbol 126 MovieClip
"halftrack"Frame 18Symbol 128 MovieClip
"limiter1"Frame 18Symbol 243 MovieClip
"limiter2"Frame 18Symbol 245 MovieClip
"cpubod0"Frame 18Symbol 130 MovieClip
"cpubod1"Frame 18Symbol 130 MovieClip
"cpubod2"Frame 18Symbol 130 MovieClip
"cpubod3"Frame 18Symbol 130 MovieClip
"cpubod4"Frame 18Symbol 130 MovieClip
"cpubod5"Frame 18Symbol 130 MovieClip
"cpubod6"Frame 18Symbol 130 MovieClip
"cpubod7"Frame 18Symbol 130 MovieClip
"cpubod8"Frame 18Symbol 130 MovieClip
"cpubod9"Frame 18Symbol 130 MovieClip
"cpubod10"Frame 18Symbol 130 MovieClip
"cpubod11"Frame 18Symbol 130 MovieClip
"cpubod12"Frame 18Symbol 130 MovieClip
"cpubod13"Frame 18Symbol 130 MovieClip
"cpubod14"Frame 18Symbol 130 MovieClip
"cpubod15"Frame 18Symbol 130 MovieClip
"cpubod16"Frame 18Symbol 130 MovieClip
"cpubod17"Frame 18Symbol 130 MovieClip
"cpubod18"Frame 18Symbol 130 MovieClip
"cpubod19"Frame 18Symbol 130 MovieClip
"cpubod20"Frame 18Symbol 130 MovieClip
"cpubod21"Frame 18Symbol 130 MovieClip
"cpubod22"Frame 18Symbol 130 MovieClip
"cpubod23"Frame 18Symbol 130 MovieClip
"cpubod24"Frame 18Symbol 130 MovieClip
"cpubod25"Frame 18Symbol 130 MovieClip
"cpubod26"Frame 18Symbol 130 MovieClip
"cpubod27"Frame 18Symbol 130 MovieClip
"cpubod28"Frame 18Symbol 130 MovieClip
"cpubod29"Frame 18Symbol 130 MovieClip
"cpubod30"Frame 18Symbol 130 MovieClip
"cpubod31"Frame 18Symbol 130 MovieClip
"cpubod32"Frame 18Symbol 130 MovieClip
"cpubod33"Frame 18Symbol 130 MovieClip
"cpubod34"Frame 18Symbol 130 MovieClip
"cpubod35"Frame 18Symbol 130 MovieClip
"cpubod36"Frame 18Symbol 130 MovieClip
"cpubod37"Frame 18Symbol 130 MovieClip
"cpubod38"Frame 18Symbol 130 MovieClip
"cpubod39"Frame 18Symbol 130 MovieClip
"cpubod40"Frame 18Symbol 130 MovieClip
"cpubod41"Frame 18Symbol 130 MovieClip
"cpubod42"Frame 18Symbol 130 MovieClip
"cpubod43"Frame 18Symbol 130 MovieClip
"cpubod44"Frame 18Symbol 130 MovieClip
"cpubod45"Frame 18Symbol 130 MovieClip
"cpubod46"Frame 18Symbol 130 MovieClip
"cpubod47"Frame 18Symbol 130 MovieClip
"cpubod48"Frame 18Symbol 130 MovieClip
"cpubod49"Frame 18Symbol 130 MovieClip
"cpubod50"Frame 18Symbol 130 MovieClip
"cpubod51"Frame 18Symbol 130 MovieClip
"cpubod52"Frame 18Symbol 130 MovieClip
"cpubod53"Frame 18Symbol 130 MovieClip
"cpubod54"Frame 18Symbol 130 MovieClip
"cpubod55"Frame 18Symbol 130 MovieClip
"cpubod56"Frame 18Symbol 130 MovieClip
"cpubod57"Frame 18Symbol 130 MovieClip
"cpubod58"Frame 18Symbol 130 MovieClip
"cpubod59"Frame 18Symbol 130 MovieClip
"cpubod60"Frame 18Symbol 130 MovieClip
"cpuboda"Frame 18Symbol 132 MovieClip
"auto1"Frame 18Symbol 138 MovieClip
"auto2"Frame 18Symbol 140 MovieClip
"auto1l2"Frame 18Symbol 146 MovieClip
"auto2l2"Frame 18Symbol 148 MovieClip
"panel_speed1"Frame 18Symbol 157 MovieClip
"turbo_hrac1"Frame 18Symbol 161 MovieClip
"kola_cas"Frame 18Symbol 182 MovieClip
"lastlap"Frame 18Symbol 185 MovieClip
"panel_speed2"Frame 18Symbol 188 MovieClip
"turbo_hrac2"Frame 18Symbol 189 MovieClip
"kola2"Frame 18Symbol 191 MovieClip
"kola1"Frame 18Symbol 193 MovieClip
"sipka_auto"Frame 18Symbol 196 MovieClip
"odpocet"Frame 18Symbol 206 MovieClip
"endmenu"Frame 18Symbol 256 MovieClip
"pauza"Frame 18Symbol 224 MovieClip
"ukazatel_zvuky"Symbol 122 MovieClip Frame 2Symbol 106 MovieClip
"ukazatel_hudba"Symbol 122 MovieClip Frame 2Symbol 108 MovieClip
"ukazatel_3"Symbol 122 MovieClip Frame 2Symbol 110 MovieClip
"ukazatel_2"Symbol 122 MovieClip Frame 2Symbol 112 MovieClip
"ukazatel_1"Symbol 122 MovieClip Frame 2Symbol 114 MovieClip
"ukazatel_rychlost1"Symbol 157 MovieClip Frame 2Symbol 155 MovieClip
"ukazatel_turbo1"Symbol 157 MovieClip Frame 2Symbol 156 MovieClip
"cislo1"Symbol 182 MovieClip Frame 2Symbol 176 MovieClip
"cislo2"Symbol 182 MovieClip Frame 2Symbol 177 MovieClip
"cislo3"Symbol 182 MovieClip Frame 2Symbol 178 MovieClip
"cislo4"Symbol 182 MovieClip Frame 2Symbol 179 MovieClip
"cislo_kola"Symbol 182 MovieClip Frame 2Symbol 181 MovieClip
"ukazatel_rychlost2"Symbol 188 MovieClip Frame 2Symbol 155 MovieClip
"ukazatel_turbo2"Symbol 188 MovieClip Frame 2Symbol 156 MovieClip
"cislo_kola"Symbol 191 MovieClip Frame 2Symbol 181 MovieClip
"cislo_kola"Symbol 193 MovieClip Frame 2Symbol 181 MovieClip

Special Tags

Protect (24)Timeline Frame 131 bytes "..$1$0e$FjCTA0DwW0fJXecCnPizR1."
ExportAssets (56)Timeline Frame 4Symbol 26 as "zvuk_r5"
ExportAssets (56)Timeline Frame 4Symbol 27 as "zvuk_r4"
ExportAssets (56)Timeline Frame 4Symbol 28 as "zvuk_r3"
ExportAssets (56)Timeline Frame 4Symbol 29 as "zvuk_r2"
ExportAssets (56)Timeline Frame 4Symbol 30 as "zvuk_r1"
ExportAssets (56)Timeline Frame 4Symbol 31 as "zvuk_smyku"
ExportAssets (56)Timeline Frame 4Symbol 32 as "zvuk_odpocet2"
ExportAssets (56)Timeline Frame 4Symbol 33 as "zvuk_odpocet1"
ExportAssets (56)Timeline Frame 4Symbol 34 as "zvuk_hit"
ExportAssets (56)Timeline Frame 4Symbol 35 as "music1"

Labels

"load"Frame 2

Dynamic Text Variables

stazenoSymbol 24 EditableText""




http://swfchan.com/49/241117/info.shtml
Created: 12/6 -2021 18:15:53 Last modified: 12/6 -2021 18:15:53 Server time: 22/12 -2024 08:05:43