MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Manuale Utente

Navigare online o scaricare Manuale Utente per no MACROMEDIA DIRECTOR MX-USING DIRECTOR MX. Director MX [en] Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 16
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 0
1
2D1640 Grafik och Interaktionsprogrammering VT 2006
Gustav Taxén
An
An
Introduction
Introduction
to
to
Director
Director
Director MX
Director MX
Used
Used
for
for
web
web
sites
sites
and CD
and CD
-
-
ROM
ROM
productions
productions
Simpler
Simpler
interactive
interactive
content
content
(2D and 3D)
(2D and 3D)
Good for
Good for
working
working
with different kinds of
with different kinds of
media (images, video clips, sounds, etc.)
media (images, video clips, sounds, etc.)
A
A
few
few
built
built
-
-
in
in
content
content
production
production
tools
tools
,
,
but
but
none
none
of
of
them
them
are
are
very
very
good
good
Scripting
Scripting
language
language
(
(
Lingo
Lingo
or JavaScript)
or JavaScript)
Extendable
Extendable
Vedere la pagina 0
1 2 3 4 5 6 ... 15 16

Sommario

Pagina 1 - Director MX

12D1640 Grafik och Interaktionsprogrammering VT 2006Gustav Taxé[email protected] An IntroductionIntroductionto to DirectorDirectorDirector MXDire

Pagina 2 - The Stage

10LingoLingoThe behavior script for the start/stop buttonsimply inverts the value of the running variable.Note that we need to use the keyword globalt

Pagina 3 - The Score

11Fetching cast membersFetching cast membersUse the global function castLib(), which returns areference to a Cast Library core object.firstMember = ca

Pagina 4

12Changing sprite propertiesChanging sprite properties••Changing the properties of Changing the properties of a sprite is an important a sprite is an

Pagina 5

13Changing sprite propertiesChanging sprite propertiesThe next step is to create a behavior script for the sprite wherewe check if it’s time to blink.

Pagina 6 - Navigation and frame scripts

14Custom sprite propertiesCustom sprite propertiesNote how the construction sprite(me.spriteNum) is used to fetchthe number of the sprite the script i

Pagina 7 - Behavior scripts

15Some sprite eventsSome sprite events••mouseEntermouseEnter, , mouseLeavemouseLeave––Called when cursor Called when cursor enters or leaves the sprit

Pagina 8 - Behavior Library

16Collision detectionCollision detectionp = point(10, 20)if inside(p, rect(20, 50, 30, 60) then...end ifif p.inside(rect(20, 50, 30, 60) then...end if

Pagina 9

2Some of the competitorsSome of the competitors••Macromedia FlashMacromedia Flash, , http://www.macromedia.com/http://www.macromedia.com/••Adobe GoLiv

Pagina 10

3The CastThe CastThe cast is the content of the movie: images, film clips, sound clips, etc.Scripts that control the action are also cast members.Each

Pagina 11 - Fetching sprites

4Creating spritesCreating spritesImport images by choosing File → Import... or right-click in cast window.To create a sprite, drag the cast member int

Pagina 12 - Changing sprite properties

5KeyframeKeyframeanimationanimationNow click a keyframe in the sprite channel and drag the spriteto an appropriate location on the stage. Note how Dir

Pagina 13 - Custom sprite properties

6ScriptsScripts••Behavior scriptBehavior script––functions associated with a functions associated with a specific sprite.specific sprite.••Frame scrip

Pagina 14 - Some useful sprite properties

7Behavior scriptsBehavior scriptsTo create a behavior script,right-click on the sprite on thestage or in the score and chooseScript...The mouseUp even

Pagina 15 - Sending messages to a sprite

8Behavior libraryBehavior libraryDirector has a number of pre-programmed behaviors. Click the Library tabin the behavior inspector to access them. Dra

Pagina 16 - Collision detection

9LingoLingoLet’s create a stopwatch that we can start, stop and reset!We assume that we have the images we need for drawing the clock face.LingoLingoW

Commenti su questo manuale

Nessun commento