Walking on water
Forum rules
This forum houses many years of development, tracing back to some of the earliest posts that exist on the board.
Its current use is for the continued development of the server and game it has always served: TMW Classic.
-
- Peon
- Posts: 19
- Joined: 13 Dec 2007, 04:43
Walking on water
So I was reading in Wiki about how they would like to see a swamp of some kind. More specifically about ow maybe it could be some kind of marshy area we could walk through. If this were designed, how could we create the effect being in the water without drowning or 'walking on water'? I thought maybe some kind of fixed map ambient effect that overlayed only half the charecter sprite. I this possible in eAthena or would it possible with TMWserv?
I'm asking because I was thinking about the same thing in a cave, some water monsters and such in a walkable water area. Just a thought.
I'm asking because I was thinking about the same thing in a cave, some water monsters and such in a walkable water area. Just a thought.
As long as the water areas only affect the graphical representation and not the gameplay in any way it is a purely client-sided thing and as such doesn't affect the server. So it could be done on eAthena.
I already thought a lot about how this could be done, but it is quite difficult from the technical point of view. Mainly because the player character is not one graphic but a collection of graphics which are all animated and drawn separately.
I already thought a lot about how this could be done, but it is quite difficult from the technical point of view. Mainly because the player character is not one graphic but a collection of graphics which are all animated and drawn separately.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
It would look strange when the sprites move vertically.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
Doesn't work for TMW because a player character consists of multiple sprites that are drawn one after another. When you would make the pants sprite transparent you would see the naked legs under them.
- former Manasource Programmer
- former TMW Pixel artist
- NOT a game master
Please do not send me any inquiries regarding player accounts on TMW.
You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
- Modanung
- Grand Knight
- Posts: 1719
- Joined: 20 May 2005, 15:51
- Location: Groningen, The Netherlands
- Contact:
A solution would be to merge all layers the player consists of into one before drawing it. That way we could edit the transparency of the sprite (certain ghost/teleport effects could use this) or partially (for walking through water or grass).
Something that may be a better idea is to add a sprite over the player with either grass blades or water ripples/splashes that animated and moves with the player. A bit like in Zelda: A Link to the Past... like so:
These could be recoloured for different water/grass types.
Something that may be a better idea is to add a sprite over the player with either grass blades or water ripples/splashes that animated and moves with the player. A bit like in Zelda: A Link to the Past... like so:
These could be recoloured for different water/grass types.
If you're looking for 3D FOSS games be sure to check out LucKey Productions on itch.io
A way to implement this in the maps would be to add a tile set with tiles 0-(number of these allowed per map) that would be placed on a map layer. I think we should use the collision layer for this because this way we don't need more layers and it doesn't make sense for a tile to not be walkable and have one of these effects. Then in the map properties, there would be a property for each number used with the name "walkingEffect#" (or something similar) and the value being the animation file to be used on those tiles.
- Modanung
- Grand Knight
- Posts: 1719
- Joined: 20 May 2005, 15:51
- Location: Groningen, The Netherlands
- Contact:
Well I think the sprite should be there to mainly hide the part of the player that is under water or hidden behind grass or snow. The particles should just make the effect better. Water splashes, a flower once in a while and bits of snow.
If you're looking for 3D FOSS games be sure to check out LucKey Productions on itch.io