Out and about
Moderator: Gamemasters
- Ezor Edwickton
- Posts: 679
- Joined: Mon Jul 28, 2003 5:23 am
- Location: Canada
Out and about
First i'd like to congradulate the whole team on a well made game and all the hard work they have put into it. Now for my complaint...er...ah... i mean suggestion. The movement in the game is somewhat...well...it doesnn't quite flow well. I think if it at all be possible the walking should be made more smother in the game.
-
Armil Darken
- Posts: 346
- Joined: Sat Nov 23, 2002 1:20 am
The walking is bad coding. Instead of sending to the server, this:
Move South ((From Client))
Then Server Does This
Display Frame elfs1 ((Coords))
Wait .2
Display Frame elfs2 ((Coords))
Wait .2
Player Location ((111111)) x,y,z
Display Frame elfs3 ((Cords))
Wait .2
Display Frame elfs4 ((Coords)
Wait .2
Display Frame elfs0 ((Coodinates)) ((Standing))
They could make it like this and have it like this
Client:
Move South
Server:
Determened: Encumbered 1
Play "Elf Walk South"
Speed 3/4
Also another signal would go out when the characters coordinated actually change.
Player 22234 Change Coordinates to x,y,z
And There is a much more refined code. Would require more client based code, but nor much and could be implemented in the same way for everything, so as to decrease lag.
Move South ((From Client))
Then Server Does This
Display Frame elfs1 ((Coords))
Wait .2
Display Frame elfs2 ((Coords))
Wait .2
Player Location ((111111)) x,y,z
Display Frame elfs3 ((Cords))
Wait .2
Display Frame elfs4 ((Coords)
Wait .2
Display Frame elfs0 ((Coodinates)) ((Standing))
They could make it like this and have it like this
Client:
Move South
Server:
Determened: Encumbered 1
Play "Elf Walk South"
Speed 3/4
Also another signal would go out when the characters coordinated actually change.
Player 22234 Change Coordinates to x,y,z
And There is a much more refined code. Would require more client based code, but nor much and could be implemented in the same way for everything, so as to decrease lag.
- Ezor Edwickton
- Posts: 679
- Joined: Mon Jul 28, 2003 5:23 am
- Location: Canada
When you move, the current server tells your char to move from square to square in steps, instead of giving it a destination.
For example, say there are 5 squares; A, B, C, D, and E.
You want to move from A to E
Currently the server creates the animation to move from A to B, then only once you reach square B does it give you the movement animation to move to square C and so on each square till it gets to E.
I think Armil's suggestion was that you would be given the destination E and the char would move the fastest route to that place, at a given speed, and load the entire movement animation at once, instead of bit by bit.
For example, say there are 5 squares; A, B, C, D, and E.
You want to move from A to E
Currently the server creates the animation to move from A to B, then only once you reach square B does it give you the movement animation to move to square C and so on each square till it gets to E.
I think Armil's suggestion was that you would be given the destination E and the char would move the fastest route to that place, at a given speed, and load the entire movement animation at once, instead of bit by bit.
-
Setherioth
- Posts: 694
- Joined: Mon Dec 17, 2001 2:08 am
- Location: Canada
It doesn't really work that way because you can only create a destination with double clicking, if you're just using the arrow keys, it doesnt know your destination is (using hermie's example) E, it just knows that you want to move from A to b, so it shows that, then when you reach b and the key is still depressed it knows to go from b to c, ect.
If you complaint of not very smooth might be due to the fact there is only about 5? graphic images for the walking motion, giving it a jerky appearience, this is just due to the fact that you need four or five pictures of the person walking for each direction, making about 20 different graphics required for each race. It would be a lot of extra work to make it smoother.
If you complaint of not very smooth might be due to the fact there is only about 5? graphic images for the walking motion, giving it a jerky appearience, this is just due to the fact that you need four or five pictures of the person walking for each direction, making about 20 different graphics required for each race. It would be a lot of extra work to make it smoother.
-
Armil Darken
- Posts: 346
- Joined: Sat Nov 23, 2002 1:20 am
- Ezor Edwickton
- Posts: 679
- Joined: Mon Jul 28, 2003 5:23 am
- Location: Canada