Page 1 of 1
Question.
Posted:
Mon May 15, 2006 11:29 pm
by The achievement
Is there a way that i can have my actor spawn at a specific coordinate on the level?
Cause i have my actor on a FollowMouse action. and when i hit game mode, i see he follows where my mouse is, and hes all the way up top, not on the level where he is supposed to be.
Can anyone help?
Posted:
Mon May 15, 2006 11:41 pm
by Game A Gogo
well, just remove the follow mouse
or is it you want it to follow the mouse and its not at the right pos?
if so, what method are you using?
Posted:
Tue May 16, 2006 12:06 am
by The achievement
Im making a maze game right, and i use the mouse to guide the player around the maze. amd when i hit game mode the actor goes all the way up to game mode, i want him to stay at his position.
In easier terms, when i hit game mode , how do i get him to spawn where i want?
it would be stupid to create a maze game and you use the arrow keys.
Posted:
Tue May 16, 2006 12:13 am
by Game A Gogo
on mouse up, do an action of that he dosnt follow the mouse.
Posted:
Tue May 16, 2006 6:46 pm
by The achievement
ya i dont get that.
its just stupid that how i hit game mode then my actor follows the mouse way up at game mode.
i made a pretty good game to.
Posted:
Tue May 16, 2006 10:47 pm
by Game A Gogo
the only thing i dont get is, that he gos to the way up at the Game Mode??
Posted:
Tue May 16, 2006 10:48 pm
by Game A Gogo
may be if you check
here it will help you
Posted:
Tue May 16, 2006 11:22 pm
by DilloDude
I think your problem is that your actor is folowing the mouse, and your mouse position is where you clicked previously. You could have it moving to the mouse with a velocity (
- Code: Select all
if (distance(xscreen, yscreen, xmouse, ymouse) > 5)
{
moveto("Event Actor", 0, 0, 10, "Mouse Position");
}
) or you could have a start game button in the middle of the screen to click on which makes the actor follow the mouse. However, if you are using follow mouse, or even drag on mouse down, yo7 may be able to drag it through walls.