Interactive map
Re: Interactive map
Well, I have a vision on most of the points that you mentioned, but I'd like to do it all step-by-step.HMH wrote:I could extend this list even further, so I guess you get why i consider this as a complex task. But if you think you can get this done @QshaR i am open for your pullrequest
At first I'll try with moving freeze and STOPA tiles, because it should be easier. I already made a small POC and it really works.
I'm a bit stuck at synchronization of the Envelopes with the server time.
I thought that CMapItemEnvelope->m_Synchronized does it, but looks like I'm wrong. Am I?
When it is true everything works fine until the player cross the start line.
When CMapItemEnvelope->m_Synchronized is false then the time doesn't sync to Server at all.
Is there an option not to reset time for Envelopes when you cross the start line?
- timakro
- Posts: 414
- Joined: Mon May 05, 2014 6:05 pm
- Location: Germany
- Player profile: http://ddnet.tw/players/timakro/
- Mapper profile: http://ddnet.tw/mappers/timakro/
- Clan: unique
Re: Interactive map
Seems like the client code uses the synchronized game time (the time displayed on the top of the screen, in ddrace used for the race time) if the synchronized option is on and otherwise uses the local time, which is not synchronized with the server.
https://github.com/teeworlds/teeworlds/ ... #L103-L112
Using envelopes would probably be a pain anyways.
https://github.com/teeworlds/teeworlds/ ... #L103-L112
Using envelopes would probably be a pain anyways.
Last edited by timakro on Sun Nov 06, 2016 2:16 pm, edited 1 time in total.
Re: Interactive map
Ok, I put here the PoC (Proof Of Concept) .demo file. It shows how it works.
TILE_FREEZE / TILE_UNFREEZE objects are the easiest to implement - they can be done quickly. As for TILE_STOPA /TILE_HOOK/TILE_UNHOOK - it will take much more time.
For developers to see the real picture: look at the second demo. It shows the blue dots on the place where the oblects are located. ChillerDragon also kindly agreed to put this demo to his youtube channel. So you don't need to download it, just watch it on youtube:
https://www.youtube.com/watch?v=dMoYsr92II8
The modification is huge and it may take a lot of time to implement it.
Because of this, I need some feedback from the players. I don't want to spend much time on something that will not be used at all.
Please, share your opinion about Interactive map.
The modification is very far from releasing. There are much things to do and it will take much time, but on the .demo you can see the that it is possible and it really works. It was hard work, but I like the result.TILE_FREEZE / TILE_UNFREEZE objects are the easiest to implement - they can be done quickly. As for TILE_STOPA /TILE_HOOK/TILE_UNHOOK - it will take much more time.
For developers to see the real picture: look at the second demo. It shows the blue dots on the place where the oblects are located. ChillerDragon also kindly agreed to put this demo to his youtube channel. So you don't need to download it, just watch it on youtube:
https://www.youtube.com/watch?v=dMoYsr92II8
The modification is huge and it may take a lot of time to implement it.
Because of this, I need some feedback from the players. I don't want to spend much time on something that will not be used at all.
Please, share your opinion about Interactive map.
-
- Posts: 855
- Joined: Wed May 13, 2015 5:59 pm
- Player profile: https://ddnet.tw/players/fokkonaut
Re: Interactive map
Really nice! If you can do the moving blocks more block like, it would be cool! Because you moving on them like on stoppers
-
- Posts: 430
- Joined: Sun Nov 22, 2015 8:44 pm
- Player profile: http://ddnet.tw/players/pixel
- Mapper profile: https://ddnet.tw/mappers/pixel/
- Clan: Bitfighter
Re: Interactive map
I wpuld do it like, on the block you are, on that you stay ... ._. so not likr stoppers ... not that sliding
- mokuz
- Posts: 755
- Joined: Sat Apr 30, 2016 5:34 pm
- Location: Finland
- Player profile: https://ddnet.tw/players/Mokuz/
- Mapper profile: https://ddnet.tw/mappers/Mokuz/
- Clan: Legendary
Re: Interactive map
Cool! But you should move whit the tile?
SpoilerShow
Nothing to see here uwu
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
-
- Posts: 430
- Joined: Sun Nov 22, 2015 8:44 pm
- Player profile: http://ddnet.tw/players/pixel
- Mapper profile: https://ddnet.tw/mappers/pixel/
- Clan: Bitfighter
Re: Interactive map
That's what i mean!mokuz wrote:Cool! But you should move whit the tile?
Re: Interactive map
fokkonaut wrote:Really nice! If you can do the moving blocks more block like, it would be cool! Because you moving on them like on stoppers
These are stopa tiles. So far I was working only on stopa, freeze and unfreeze. Applying TILE_SOLID and TILE_UNHOOK will take much more time.QshaR wrote:At first I'll try with moving freeze and STOPA tiles
And I'd like to repeat that this is only PoC (Proof of Concept), nothing else. There are lots of things to do to make it work without bugs.
-
- Posts: 855
- Joined: Wed May 13, 2015 5:59 pm
- Player profile: https://ddnet.tw/players/fokkonaut
Re: Interactive map
What is Stopa please?
- mokuz
- Posts: 755
- Joined: Sat Apr 30, 2016 5:34 pm
- Location: Finland
- Player profile: https://ddnet.tw/players/Mokuz/
- Mapper profile: https://ddnet.tw/mappers/Mokuz/
- Clan: Legendary
Re: Interactive map
Oh jeaa..pixel wrote:That's what i mean!mokuz wrote:Cool! But you should move whit the tile?
SpoilerShow
Nothing to see here uwu
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
mods banned my previous sig :( this is censorship freedom of speech is dead xoxox
Who is online
Users browsing this forum: No registered users and 9 guests