У нас вы можете посмотреть бесплатно Empty Epsilon Scenario Writing - Kraylor Stream (11) или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
The eleventh video shows how to conditionally create more CPU controlled ships in the scenario. At this point, the update function is getting long, so the video shows how to move a block of code in the update function into its own function to make the code a bit easier to manage. Then, another function is created, referenced by the update function. This function has two major tasks: maintain the enemy_ships table and create more Kraylor ships as appropriate. Maintaining the enemy_ships table involves traversing the list and removing any items related to ships that are no longer valid, ie they've been destroyed. Creating more Kraylor ships involves maintaining and checking a timer as well as the count of enemies in the enemy_ships list. The timer is maintained with the getScenarioTime function to set the timer and to check the timer. Once the conditions are right, a random integer is generated to determine how many Kraylor ships to spawn. A loop using that number creates Kraylor ships making use of the Kraylor station coordinates and the result of vectorFromAngle to simulate the Kraylor ships coming from the Kraylor station. Testing reveals some errors and the video takes the viewer through some simple debug techniques. Note: MacOS is not directly supported by Empty Epsilon. Being open source, though, it is possible for users to compile it for MacOS Scenario text: https://github.com/Xansta/EEScenarios... Prev Video: ( • Empty Epsilon Scenario Writing - Hide Stat... ) Next Video: ( • Empty Epsilon Scenario Writing - Custom Bu... )