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

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

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

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

Dave Mennenoh

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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











Chapter 12. Handling the Keyboard


What You Will Learn

In this lesson you will

Learn how to handle keyboard input in Director

Learn about primary event handlers and how to use them

Create and use a film loop to animate the player's ship

Enable the player's ship to be navigated using the cursor keys

Learn how to handle multiple key presses

Create a sprite magazine to simulate a continuous stream of bullets


Approximate Time

This lesson should take you about 2 hours to complete.

Lesson Files

Media Files:

primary_event.dir

bullet.png

Starting Files:

2d_game_start.dir

key_helper_start.dir

Completed Files:

key_helper.dir

2d_game.dir

This is the second lesson in the third project, an old-style 2D Space Shooter. In this lesson you will add the player's ship to the game and create the Lingo necessary to control it using the keyboard's cursor keys.

A look at the completed game


/ 165