1

Topic: how edit the source to play teeworlds offline?

I wonder if it is simple to add the function to be able to test a map directly in the editor by displaying a tee and move normally without connecting to server

2

Re: how edit the source to play teeworlds offline?

Based on my experimentations with the source, it would be pretty hard. Sorry :c

Clan: Riot (I'm one of three leaders: Mile, Deku, pie)
Host teeworlds maps on a fng/ctf/dm/ddrace server for testing:http://riotproductions.tk/teewo/ broken-need reinstall nginx http://riotproductions.tk/bounce?whatEven, Teeworlds NA Discord chat

3

Re: how edit the source to play teeworlds offline?

CarmineZ wrote:

I wonder if it is simple to add the function to be able to test a map directly in the editor by displaying a tee and move normally without connecting to server

The easiest way for this would probably be to spawn a server within the client and connect locally.

4

Re: how edit the source to play teeworlds offline?

I wonder why spawning a local server isn't present in the client. Seems simple enough to me, I'll try to add that feature to Android client.

5

Re: how edit the source to play teeworlds offline?

The big problem its that de raw data in the editor isn't the same data that the client uses for render the map.... you need rewrite this for "in-game editor" (without external server). It isn't easy to do well to avoid redundant code and dirty ... without rewrite all the game XD