| 03-02-2005, 08:51 PM | #1 | |
Okay, now im making Pacman, in a 2d view (Image attached,) and I want to use the arrow keys to make Pacman move in a straight line in the direction choosen untill he hits a wall. My problem is if I make Pacman 'move-to' the 'Position of Pacman Offset by 100,0' Then pacman will try and go around the walls on his own. So I change the value to 30,0. Now he wont go around the walls, but he stuters as he moves, due the to 'Wait 0.00.' The way to solve this is lowering the movement speed, but then Pacman moves like an ant. This also will not do. Any better ideas for how to trigger the 2D movement? Quote:
|
| 03-03-2005, 07:06 AM | #2 | |
Quote:
NO idea how youll make it but it will look fun:) |
| 03-04-2005, 04:29 AM | #3 |
multiple options first off, the whole lowering the distance to move will work, just don't use waits and recurrsion, instead use a periodic trigger which will call much faster than a wait or make the pacman flying or with no collision so it won't try to move around walls, which might not be good since it will rise up cliffs if it gets too close, collision would have to be checked via triggers or do a check via triggers to see if theres the positions chosen is on a wall or if there is a wall between the position and pacman interesting graphics though, are they models? or a overlay? or the new image things? |
| 03-04-2005, 10:02 AM | #4 |
Those are all models. Although some lack the animations at this momment, I do hope to have a full animating sequence for each model done soon. On the movement note, Ill take a look this evening. I hope I can get it all to work. Thank you. |
| 03-04-2005, 08:28 PM | #5 |
Lovely, works much better now even though it uses a few more triggers than intended. Thanks loads for the idea. |
