Жарық тапаншасы: Компьютерлік ойындардағы нысана алу құралы
Light gun
Жарыс ойындары мен компьютерлерде қолданылатын жарық тапаншасы туралы ақпарат. Тарихы, даму жолы, алғашқы ойындар (Seeburg Ray O Lite, Periscope) туралы біліңіз.
Ағылшыншамен салыстырыңыз: абзацты басыңыз — түпнұсқа терезеде ашылады. Абзац астындағы EN түймесі оны мәтін ішінде көрсетеді.
Мазмұны
Кіріспе
Видео ойындарын бағыттау құрылғысы – компьютерлік перифериялық құрылғы.
Video game pointing device
the computer peripheral
Желдеткіш тапанша – компьютерлер мен аркадалық және видео ойындарды басқаруға арналған бағыттау құрылғысы, көбінесе пістолет түрінде жасалған.
A light gun is a pointing device for computers and a control device for arcade and video games, typically shaped to resemble a pistol.
Ерте тарих
Ең алғашқы жарық қарулары жарық сезімтал вакуумдық түтіктердің дамуынан кейін 1930 жылдары өндірілді. 1936 жылы технология Seeburg Ray O Lite ойынымен бастап, аркадтық ату ойындарына енгізілді. Бұл ойындар келесі онжылдықтарда дамып, 1966 жылы Sega компаниясының алғашқы табысты ойыны болған Periscope ойынында тоқталды, онда ойыншы картондан жасалған кемелерді нысанаға алуы тиіс. Periscope – бұл алғашқы электромеханикалық ойын және бір ойынға 25 цент төлем қабылдайтын алғашқы аркадтық ойын. Sega-ның 1969 жылғы Missile ойынында электрондық дыбыс пен проекциялық экранда нысаналарды көрсету үшін қолданылатын қозғалатын кинолента болды, ал 1972 жылғы Killer Shark ойынында экранға артқы проекция арқылы қозғалысы мен реакциясы көрсетілетін нысаналары бар жарық пулеметі бар. Nintendo 1970 жылы Beam Gun және 1973 жылы Laser Clay Shooting System ойындарын шығарды, одан кейін 1974 жылы нысананы экранға көрсету үшін кинопроекцияны пайдаланатын Wild Gunman аркадтық ойыны пайда болды. 1975 жылы Sega алғашқы кооперативтік жарық қаруымен ату ойындары Balloon Gun және Bullet Mark ойындарын шығарды.
The first light guns were produced in the 1930s, following the development of light sensing vacuum tubes. In 1936, the technology was introduced in arcade shooting games, beginning with the Seeburg Ray O Lite. These games evolved throughout subsequent decades, culminating in Sega's Periscope, released in 1966 as the company's first successful game, which requires the player to target cardboard ships. Periscope is an early electro mechanical game, and the first arcade game to cost one quarter per play. Sega's 1969 game Missile features electronic sound and a moving film strip to represent the targets on a projection screen, and its 1972 game Killer Shark features a mounted light gun with targets whose movement and reactions are displayed using back image projection onto a screen. Nintendo released the Beam Gun in 1970 and the Laser Clay Shooting System in 1973, followed in 1974 by the arcade game Wild Gunman, which uses film projection to display the target on the screen. In 1975, Sega released the early co operative light gun shooters Balloon Gun and Bullet Mark.
Кезекті мақсаттар
NES Zapper қолданған бірінші анықтау әдісі экран қараңғыланғаннан кейін әр нысананы бірінен соң бірін ақ жарықпен көрсетуді қамтиды. Компьютер диод төртбұрыш сызылғанда (немесе экран жаңарғаннан кейін) жарық тіркесе, тапанша сол нысанаға бағытталған деп біледі. Қысқасы, диод компьютерге ойыншы бір нәрсеге тиді ме, жоқ па, туралы хабарлайды, ал n нысана үшін нысаналарды көрсету реті компьютерге ойыншы 1 + ceil(log2(n)) жаңартудан кейін қай нысанаға тигенін көрсетеді (бір жаңарту кез келген нысанаға тигенін анықтау үшін, ал ceil(log2(n)) – тиген нысананы екілік іздеу арқылы табу үшін). Бұл әдістің бір қыры, кейбір ойындарда ойыншы шамға немесе басқа жарқын жарық көзіне тапаншаны бағыттап, оқ атып, жүйені әрқашан бірінші нысанаға тигендей қате анықтауға себеп болуы мүмкін. Кейбір ойындар мұны ескере отырып, барлық нысаналардың сәйкес келетінін анықтау арқылы немесе қара экранды көрсетіп, ешқандай нысананың сәйкес келмейтінін тексеру арқылы шешеді. Уэсли Ин Пул Wii Remote дәстүрлі жарық тапаншасынан кем дәл екенін айтты. GunCon 3 – аркада ойындарында қолданылатын инфрақызыл жарық тапаншасы.
The first detection method, used by the NES Zapper, involves drawing each target sequentially in white light after the screen blacks out. The computer knows that if the diode detects light as it is drawing a square (or after the screen refreshes), then that is the target at which the gun is pointed. Essentially, the diode tells the computer whether or not the player hit something, and for n objects, the sequence of the drawing of the targets tell the computer which target the player hit after 1 + ceil(log2(n)) refreshes (one refresh to determine if any target at all was hit and ceil(log2(n)) to do a binary search for the object that was hit). A side effect of this is that in some games, a player can point the gun at a light bulb or other bright light source, pull the trigger, and cause the system to falsely detect a hit on the first target every time. Some games account for this either by detecting if all targets appear to match or by displaying a black screen and verifying that no targets match. Wesley Yin Poole stated that the Wii Remote was not as accurate as a traditional light gun. GunCon 3 is an infrared light gun used for arcade games.
Тікбұрышты орналасу
Тікбұрышты орналастыру бейне түсіруге ұқсас, бірақ ол экрандағы кез келген егжей-тегжейді назарға алмай, тек ойын экранының тікбұрышты сызығын анықтайды. Экранның тікбұрышты сызығының мөлшері мен бұрмалануын анықтау арқылы жарық тапаншасының қай бағытта екенін есептеу мүмкін. Бұл әдісті Sinden Lightgun енгізді.
Rectangular positioning is similar to image capture, except it disregards any on screen details and only determines the rectangular outline of the game screen. By determining the size and distortion of the rectangle outline of the screen, it is possible to calculate where exactly the light gun is pointing. This method was introduced by the Sinden Lightgun.
Позициялық қару
Позициялық қару видеоаркадаларда жарық қаруына оптикалық емес балама ретінде жиі қолданылады. Позициялық қару шкафтың айналмалы бөлігіне бекітілген, экрандағы нысананы бағыттау үшін аналогты джойстик қызметін атқарады. Әдетте, бұл бастапқыда қымбатқа түседі, бірақ күтуге және жөндеуге ыңғайлы. Позициялық қару ойындарына Silent Scope, Resident Evil Survivor 2 аркадалық нұсқасы, Space Gun, Revolution X және Terminator 2: Judgment Day кіреді. Консольдік нұсқаларында жарық қарулары қолданылуы мүмкін. Позициялық қару – бұл ойыншының нысанасын анықтау үшін қарудың орнын тіркеп алатын аналогты джойстик. Қаруды калибрлеу қажет, әдетте ол қосылған кезде жасалады. Позициялық қарудың ерте мысалдарына 1972 жылы шыққан Sega Sea Devil, 1976 жылы Taito's Attack, 1977 жылы Cross Fire және 1978 жылы Nintendo's Battle Shark жатады.
The positional gun is common in video arcades, as a non optical alternative to a light gun. The positional gun is permanently mounted on a swivel on the cabinet, as an analog joystick for aiming crosshairs onscreen. This is typically more expensive initially but easier to maintain and repair. Positional gun games include Silent Scope, the arcade version of Resident Evil Survivor 2, Space Gun, Revolution X, and Terminator 2: Judgment Day. Console conversions may use light guns. A positional gun is essentially an analog joystick that records the position of the gun to determine the player's aim on the screen. The gun must be calibrated, which usually happens after powering up. Early examples of a positional gun include Sega's Sea Devil in 1972, Taito's Attack in 1976, and Cross Fire in 1977, and Nintendo's Battle Shark in 1978.