Ask a Question related to Macromedia Director Basics, Design and Development.
-
djmasala.com #1
Lingo needs commenting
Hi,
I making a game whereby the player inputs numbers into 4 text boxes (up,
down, left, right), then clicks the appropriate button in order to move an
egg around a maze. I have a script on the egg...could someone tell me what
it means? i.e., comment it?
This is for the egg: -
----------------------------------------------------------------------------
-------------
Global gStartLoc, gEndLoc, ImTheEgg
on beginSprite me
ImTheEgg = sprite(me.spritenum)
gStartLoc = ImTheEgg.loc
gEndLoc = ImTheEgg.loc
end
on enterframe
if gEndLoc[1] > ImTheEgg.loc[1] then ImTheEgg.loch = ImTheEgg.loch + 1
if gEndLoc[1] < ImTheEgg.loc[1] then ImTheEgg.loch = ImTheEgg.loch - 1
if gEndLoc[2] > ImTheEgg.loc[2] then ImTheEgg.locv = ImTheEgg.locv + 1
if gEndLoc[2] < ImTheEgg.loc[2] then ImTheEgg.locv = ImTheEgg.locv - 1
end
on SetMyStartPos me
gStartLoc = ImTheEgg.loc
end
on RelocateMe me
alert "Maze Wall Crossed!"
go "2"
ImTheEgg.loc = gStartLoc
gEndLoc = gStartLoc
end
----------------------------------------------------------------------------
-------------
Thanks....much appreciated!
--
[url]www.djmasala.com[/url]
[url]http://game-i2.djmasala.com[/url]
djmasala.com Guest
-
Photo commenting not saving
Ok, here is what I have. I created a web photo gallery through Photoshop CS2 and so all the code was produced for me (im not code dumb just not... -
Online Commenting
We are interested in setting up and using the browser commenting features found in Acrobat 7. I have figured out how to set up a WebDAV based server... -
PDF Layers and Commenting
Does anyone know if it is possible to make a comment on a specific layer within a PDF so that when the layer is turned off the comment also turns... -
Using SDK to enable pdf for commenting
I am trying to use the SDK to enable commenting in reader, as it is possible in the menu-point in acrobat 7.0. Is there a way to do this... -
Commenting
How do I enable Commenting on a file that is currently set as Not Allowed?



Reply With Quote

