macromedia DIRECTOR MX 1002004 training from the source [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

macromedia DIRECTOR MX 1002004 training from the source [Electronic resources] - نسخه متنی

Dave Mennenoh

نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
افزودن یادداشت
افزودن یادداشت جدید

Chapter 13. Detecting Collisions

What You Will Learn

In this lesson you will

Learn about collision detection and how to implement it

Use the sprite.intersects command to test for collisions

Create and use a film loop to make ships explode

Use the getPixel method to test for collisions

Add the final bonus level to the game

Approximate Time

This lesson should take you about 2 hours to complete.

Lesson Files

Media Files:

blowUp1.png

blowUp2.png

blowUp3.png

boom.aif

fire.aif

gameOver.png

tunnel.png

Starting Files:

snake!.dir

2d_game_start.dir

Completed Files:

2d_game.dir

This is the third lesson in the third project, an old-style 2D Space Shooter. In this lesson you'll really bring the game to life by implementing collision detection for your bullets and ship, as well as adding a fourth, bonus level where the ship must be navigated through a narrow passage.

Navigating through the passage

/ 165