Professional Web Applications Themes

Specifying Grid Locations - Macromedia Director Lingo

Hi, I have this problem which I need the solution to ASAP. I have started developing a program which requires snapping of sprites to nearest grid space. I tried the "snap to grid" property and behaviour but it only snaps my sprite to anywhere along the grid (i.e. grid line, grid space). I need to know the lingo script to snap the sprites to the nearest grid space itself and not on the lines or anywhere within the grid as it so likes by specifying the grid location so that the sprite can fall into its intended position better. How ...

  1. #1

    Default Specifying Grid Locations

    Hi,

    I have this problem which I need the solution to ASAP.

    I have started developing a program which requires snapping of sprites to nearest grid space. I tried the "snap to grid" property and behaviour but it only snaps my sprite to anywhere along the grid (i.e. grid line, grid space).

    I need to know the lingo script to snap the sprites to the nearest grid space itself and not on the lines or anywhere within the grid as it so likes by specifying the grid location so that the sprite can fall into its intended position better.

    How do I go about specifying the grid location?

    Please help!!!

    Thanks.


    starrize webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Specifying Grid Locations

    Move the grid by half a grid division and the sprites will snap to what was the
    centre of each grid location.

    Andrew Morton

    Andrew Morton Guest

Similar Threads

  1. Replies: 3
    Last Post: June 6th, 10:56 AM
  2. Web Locations
    By ICTSM in forum Macromedia Shockwave
    Replies: 0
    Last Post: April 21st, 10:20 PM
  3. How to edit records in a grid that's within a grid
    By Iams in forum ASP.NET Data Grid Control
    Replies: 0
    Last Post: March 17th, 06:41 PM
  4. Appending at various locations.
    By MJS in forum PERL Miscellaneous
    Replies: 3
    Last Post: September 8th, 12:41 PM
  5. Appending at various locations
    By MJS in forum PERL Beginners
    Replies: 0
    Last Post: September 7th, 05:15 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139