Ask a Question related to Macromedia Director Lingo, Design and Development.
-
unfrequented webforumsuser@macromedia.com #1
object collision
hello folks,
I'm relatively new to lingo and director. Im in the process of creating a simple game where you have to push an bubble around a maze with your cursor. I need help with object collision detection.
Essentially I would like to be able to tell when the object your pushing round comes in contact with part of the maze or an obstacle within the maze (which will be just another cast member). When this collision occurs, the user loses a life (1 of three) and the level is reset.
I guess ideally I could put this script on the bubble cast member?
Also I need a seperate scipt that advances the game to the next level (loads a new director file) when the bubble comes in contact with a certain cast member.
Any help appreciated greatly.
dw
unfrequented webforumsuser@macromedia.com Guest
-
3D: Collision
Anyone know of a way to do a collision detection (Shockwave 3D) at a particular time. just once. i.e. run some command or set of commands that... -
JRE Collision
Hello all. system developer edition: CF MX7 os: win 2003 java version: 1.5.0_04 default settings for all cf installation options I'm... -
if collision then?
is there any such script? i want to go to a specific frame when my model collides with anotherm is that possible? -
object leave the collision
hi, in 3D, i can use the collision to check the object hit the zone.....(zone = 1) but, how can i detect the 3d object "leave" a collision?... -
collision
i have imported a 3D scene W3D exported from 3Dmax in the scene i have objects and groups, when i resolve collisions for objects it works fine,... -
JB #2
Re: object collision
You need to test for colision of your mover and each possible obstacle
each increment of motion eith in the script that's moving things, or if
using simple moveable sprite property have a score script test all
possible collisions each frame advance ( on prepareFrame)
from lingo menu"
if sprite sprite1 intersects sprite2 then
The ink setting effects the detected areas ( I believe) most inks detect
overlap of sprite rects, setting matte ink better detects irregular
shape boundary.
for a not outside of container test
if not sprite sprite1 within sprite2
JB Guest



Reply With Quote

