Restart animation

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
Nigel
Posts: 76
Joined: Sat May 10, 2014 7:48 pm
Player profile: http://ddnet.tw/players/Nigel/
Mapper profile: http://ddnet.tw/mappers/Nigel/

Restart animation

Post by Nigel »

How to restart an animation when the player is near of it ? that's what i was wondering last time. (so if someone know how to do it :3)
If there is not solution for it, maybe it could be usefull to have something like a Switch layer but for animation. I mean a tile that can activate one or several animation(s) and maybe a tile to desactivate.
User avatar
imp
Posts: 788
Joined: Mon May 05, 2014 5:56 pm
Player profile: http://ddnet.tw/players/imp/
Mapper profile: http://ddnet.tw/mappers/imp/

Re: Restart animation

Post by imp »

As far as i know everything is automatically and can't be used properly
Nigel
Posts: 76
Joined: Sat May 10, 2014 7:48 pm
Player profile: http://ddnet.tw/players/Nigel/
Mapper profile: http://ddnet.tw/mappers/Nigel/

Re: Restart animation

Post by Nigel »

I don't understand what you mean
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Restart animation

Post by deen »

The server does not know about graphical stuff like animations. The client does the animations on its own, based on your game time. Changing this would make us incompatible with default Teeworlds client, and therefore is not going to happen.
Nigel
Posts: 76
Joined: Sat May 10, 2014 7:48 pm
Player profile: http://ddnet.tw/players/Nigel/
Mapper profile: http://ddnet.tw/mappers/Nigel/

Re: Restart animation

Post by Nigel »

Okay I understand. But could it be possible to restart the game time during the animation (in the animation's zone) and when out of animation's zone resume it ? It means to keep the game time of the player in memory during the animation.
User avatar
deen
TECHNICAL Team
Posts: 3576
Joined: Mon May 05, 2014 2:30 pm
Player profile: https://ddnet.org/players/deen/
Discord: deen#5910

Re: Restart animation

Post by deen »

That would destroy all other time based animations at the same time. I think it's a bad hack.
Nigel
Posts: 76
Joined: Sat May 10, 2014 7:48 pm
Player profile: http://ddnet.tw/players/Nigel/
Mapper profile: http://ddnet.tw/mappers/Nigel/

Re: Restart animation

Post by Nigel »

Yes but the maper need to use it properly. But I understand that it's complicated :)
Post Reply

Who is online

Users browsing this forum: Majestic-12 [Bot] and 53 guests