Jim,

Thanks!  I'll have another look/try.

To put this into context, My original need grew out of an attempt to demo
(unsuccessfully, as it turned out) using Rev to create a game of moving
objects on a map/background.

The map would need to scroll as the moving character image hit the edges
of the window.  Check.  Got that.  Got the critter moving.  Check. Got
that.

But where I had problems (there were two) was in

(1) doing collision detection.  This was because the students wanted to
use an orthoscopic map.  Imagine using X,Y coords but they're skewed by 45
degrees.  This meant having to use irregularly-shaped targets.  Hence my
first problem.

(2) It wasn't enough to do collision detection; I needed a coorection
factor for where the critter had to _go around_ an obstacle (that is:
detect collision and reset position to just before collision to alert the
player that the critter need to go around the obstacle).

It was especially the second that prompted somebody to tell me to go read
an algorithm book.  Like I said, I just gave up there.

Maybe I'll pester you if I run into obstacles myself ;-)

Thanks,

Judy

On Fri, 24 Jun 2005, Jim Hurley wrote:

> >
> >Message: 12
> >Date: Fri, 24 Jun 2005 10:49:17 -0700 (PDT)
> >From: Judy Perry <[EMAIL PROTECTED]>
> >Subject: Re: is within ... polygon shape?
> >To: How to use Revolution <[email protected]>
> >Message-ID:
> >     <[EMAIL PROTECTED]>
> >Content-Type: TEXT/PLAIN; charset=US-ASCII
> >
> >bummer...
> >
> >I was hoping that you'd found a solution to my need for the sort of
> >irregularly-shaped buttons that an old HC external provided.
> >
> >Drats!
> >
> >Judy
>
>
>
> Judy,
>
> Take a look at:
>
> go stack url "http://home.infostations.net/jhurley/CollidingPolygons.rev";
>
> Hope you all make it home all right. I stayed over another day so
> that I could take in the aquarium.
>
> Jim
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to