Interactive map
Posted: Fri Oct 28, 2016 4:22 pm
HI @all
I'm planning to start working on an interesting modification that can help to make teeworlds maps more interactive. Especially it will be interesting for Gores-type of maps.
Here is the core of the idea:
As you might know, the teeworlds map is very static. The only objects that can move are hearts, shields and few more.
I'd like to make it possible to create maps where tiles can move. Imagine gores map that changes all the time and it will have moving platforms, moving grass and moving freeze tiles.
So, I'd like to apply the moving effect only to collision tiles, unhook and freeze/unfreeze.
As far as I see there are 2 options to make it possible:
1. Very hard way: Make server recognize the Quads layers. Depending on the current position of every object in Quads layer, change the current game block to collision/unhook/freeze/unfreeze (depending on the name of Quads layer).
2. Easier and better way: Add new type of layer to the server and client side. I can explain it in more details if anyone is interested. The direction to move the tiles of the layer can be SPEEDER(64) and SPEEDER(65) tiles. The same ones that are using to move hearts and shields on the map.
The second option looks easier for me, but it requires a client modification to see the moving objects. The idea of creating a separate KoG Game Client sounds not effective at all. About 90% of KoG players are using DDNet client. So I thought it would be great if we could work together on this modification. I think it can be also useful on DDNet ddrace servers.
The modification is huge and it may take a lot of time to implement it, but I like the idea of interactive map.
Please, tell me your opinion about this idea in general and maybe you have some more options how to make it possible.
Q
I'm planning to start working on an interesting modification that can help to make teeworlds maps more interactive. Especially it will be interesting for Gores-type of maps.
Here is the core of the idea:
As you might know, the teeworlds map is very static. The only objects that can move are hearts, shields and few more.
I'd like to make it possible to create maps where tiles can move. Imagine gores map that changes all the time and it will have moving platforms, moving grass and moving freeze tiles.
So, I'd like to apply the moving effect only to collision tiles, unhook and freeze/unfreeze.
As far as I see there are 2 options to make it possible:
1. Very hard way: Make server recognize the Quads layers. Depending on the current position of every object in Quads layer, change the current game block to collision/unhook/freeze/unfreeze (depending on the name of Quads layer).
2. Easier and better way: Add new type of layer to the server and client side. I can explain it in more details if anyone is interested. The direction to move the tiles of the layer can be SPEEDER(64) and SPEEDER(65) tiles. The same ones that are using to move hearts and shields on the map.
The second option looks easier for me, but it requires a client modification to see the moving objects. The idea of creating a separate KoG Game Client sounds not effective at all. About 90% of KoG players are using DDNet client. So I thought it would be great if we could work together on this modification. I think it can be also useful on DDNet ddrace servers.
The modification is huge and it may take a lot of time to implement it, but I like the idea of interactive map.
Please, tell me your opinion about this idea in general and maybe you have some more options how to make it possible.
Q