Posted By
Message
Don Luciano Heavy combat pancakeRegistered 25/10/2006
Points 380
4th April, 2007 at 10:08:21 -
OK.
I have a player and a crosshair.
I want to make another object who will be in the same line with crosshair and player but will always be at the edge of the window.
Code me a sausage!
Don Luciano Heavy combat pancakeRegistered 25/10/2006
Points 380
4th April, 2007 at 10:10:10 -
Code me a sausage!
Tim I'm on here way too muchRegistered 25/08/2006
Points 132
4th April, 2007 at 10:18:15 -
Make an event, something like:
*Always
-Set Xpos("the thing") = Xpos("crosshair")
-Set Ypos("the thing") = Frame Height (or Top of frame or whatever)
That should do it. Providing I know what you want to do exactly!?
So basically your telling the thing to always be at the top of the frame (its Y position), and telling it X position to always be the same, as the crosshair's X position. Hope that helps.
http://www.SilverNova.co.uk
Paul_James
Registered 02/07/2002
Points 1320
4th April, 2007 at 10:39:16 -
are we talking about all the edges of the frame?
if so does the crosshair have a limited movement?
Its not enough,I need more
Not enough to satisify
I said I dont want it, I just need it.
To believe, to feel, to know I'm alive.
Knuckle deep beneath the borderlines.
This may hurt a little but its something you'll get used to.
Relax. Slip Away...
axel Crazy?
Registered 05/02/2005
Points 4766
4th April, 2007 at 10:42:42 -
You're doing it wrong Tim.
You have to use a 360 degree movement and a fastloop. I can make you an example file. MMF 1.5 or MMF2?
n/a
Matt Boothman The Nissan Micra of forum membersRegistered 20/09/2002
Points 109
4th April, 2007 at 10:44:40 -
Yeah Tim's one would make "the thing" be not in a straight line with the player and the crosshair.
http://soundcloud.com/normbo - Listen to my music.
Don Luciano Heavy combat pancakeRegistered 25/10/2006
Points 380
4th April, 2007 at 10:55:08 -
The crosshair can be in all possible directions, so the thing should be to. So wherever the crosshair is pointed, the thing should follow it, but always on the edge
MMF2 Edited by the Author.
Code me a sausage!
Don Luciano Heavy combat pancakeRegistered 25/10/2006
Points 380
5th April, 2007 at 12:57:33 -
Is anyone willing to help me with this? please i really want to know if this is possible to do or not?.
Code me a sausage!
WillWill Give me stuffRegistered 24/07/2006
Points 552
5th April, 2007 at 13:02:57 -
I could only be bothered if I can use MMF2 so I won't have to calculate the angles with the Tan functions and whatnot. Advanced Direction Calculator ftw.
http://www.morphboy.newgrounds.com/
^ Free tunes, as long as you contact me.
Don Luciano Heavy combat pancakeRegistered 25/10/2006
Points 380
5th April, 2007 at 13:17:40 -
I use mmf2
Code me a sausage!