Update Tanks of Freedom 0.6.2

x1212

Member
Joined
Apr 1, 2013
Messages
132
Hmm ... I don't understand what could be causing this ... all my changes were just so the GLES2 part works with egl under x11 ... and setting a different default videomode ...
One thing that might be a little suspicious though is that it links against libfreetype.so even though the sources of freetype should already be in the engine ... but trying to build without freetype seems not to work.

I'll see if I can find out more, but I probably won't have much time for the rest of the week :(
 

Attachments

Last edited:
Joined
Mar 31, 2015
Messages
34
Location
Poznań, Poland
Website
p1x.in
Hmm ... I don't understand what could be causing this ... all my changes were just so the GLES2 part works with egl under x11 ... and setting a different default videomode ...
One thing that might be a little suspicious though is that it links against libfreetype.so even though the sources of freetype should already be in the engine ... but trying to build without freetype seems not to work.

I'll see if I can find out more, but I probably won't have much time for the rest of the week :(
That's fine. I think, that in the meantime @canseco may try running some other Godot projects and see if this same issue happens there. You can try this for starters: https://github.com/P1X-in/slavs-990

Edit:
Do you have a public repository with the code of your port? I'm looking for help at Godot developer irc, it could be of help.
 

x1212

Member
Joined
Apr 1, 2013
Messages
132
I push all my changes to my own fork of godot whenever I share any binaries, here for example the commit where I merged the port with 2.1
https://github.com/x1212/godot/commit/bfe25c9b42596b43e27b96fc8e9cebf676f4c105

Also I think the problem is in the freetype library of the pandora.
I had a look at the fonts and there seems to be some kind of problem outside of godot ...
here what they look like in the file browser on my PC:

here the same on the Pandora:
 
Joined
Mar 31, 2015
Messages
34
Location
Poznań, Poland
Website
p1x.in
Too much spacing inside the font itself would explain this. Some of them are looking ok though - maybe we could try replacing bad ones with these (or any other ttf) and see if it helps?

Edit:
and revert the theme change, as it should not be required.
 
Last edited:

canseco

Very Active Member
Joined
Jun 1, 2004
Messages
885
Location
Spain
@x1212 @czlowiekimadlo Solved!! The problem was that i didn't included any lib on PND because i thought it was a static binary...

Now it uses libfreetype from Codeblocks PND, more up to date than the one that comes with OpenPandora OS.

Will update ASAP.
 
Last edited:

canseco

Very Active Member
Joined
Jun 1, 2004
Messages
885
Location
Spain
It's fine for me, in fact i do this posts for both things, ;)
[doublepost=1471983993,1471983488][/doublepost]Changelog

0.5.1.0
- Latest beta release.
- Updated Godot engine to 2.1, thanks to x1212.
- Updated libs.
 
Joined
Mar 31, 2015
Messages
34
Location
Poznań, Poland
Website
p1x.in
Here comes another ToF update :D
We have just tagged version 0.5.2, which will be added to itch.io shortly. It brings a lot of fixes, better season themes (which now can be selected in the workshop toolbox!), and adds SSL for online communication. Full changelog can be found here:
https://github.com/w84death/Tanks-of-Freedom/blob/master/CHANGELOG.md

There are important changes in the export:
https://github.com/w84death/Tanks-of-Freedom/blob/master/buildConfig/export_android.cfg.dist#L16
this is needed for SSL certificate to be added to binary. It maybe skipped if game is distributed as source as opposed to exported package.

Please let me know if you have any issues with this version :)
 

canseco

Very Active Member
Joined
Jun 1, 2004
Messages
885
Location
Spain
All tests i did seems fine.
I did upload a map, T7E3HU9N, just for testing.

I would try to update ASAP. Thanks for your hard work.
[doublepost=1472917751,1472916537][/doublepost]Changelog

0.5.2.0
- Latest beta release. See CHANGELOG.md
- Updated previews.
 
Joined
Mar 31, 2015
Messages
34
Location
Poznań, Poland
Website
p1x.in
Tanks of Freedom 0.6.0 has arrived, and with it an online, cross-platform multiplayer and a lot of fixes!
As always, see https://github.com/w84death/Tanks-of-Freedom/blob/master/CHANGELOG.md for the detailed list of changes.

Online multiplayer works similar to online shared maps - you host a game, then give a generated, 5-character code to a friend, so they may join. Important note: multiplayer matches are limited to online maps only, so you either have to upload your map, or download some in order to be able to host a match!
Multiplayer itself is not a real-time one, so you will not be able to see your opponent's movement as they do them. Instead, when they are done, you will download history of their whole turn. While they are doing their thing, you are free to hop into a campaign mission, skirmish, or a different multiplayer match! You may also close the game and return to it later. It's a bit like corespondence chess.

As for technical things, there is new setting:
https://github.com/w84death/Tanks-of-Freedom/blob/master/buildConfig/engine_android.cfg#L81
which you might want to set to 'false' for Pandora, as (I assume) you do not use on-screen keyboard like Android tablets do. It changes the way code prompts look, so they are not covered by half-screen keyboard.


I'm also working on a map browser. For now, it will be a website, where you will be able to see maps names, previews and codes - all to make it easier to discover new content. Later on we have plans to add similar browser in-game.

I have also noticed a bug in the server, where very big maps could not be downloaded back. It is fixed now, so if any of you guys had that problem, please try again :)
 

edgex004

Advanced Member
Joined
Jan 5, 2008
Messages
1,166
Wow, can't wait to try the update. I'm a big fan of the correspondence style multiplayer. Anyone up for a match over the weekend?
 
Joined
Mar 31, 2015
Messages
34
Location
Poznań, Poland
Website
p1x.in
We will be, most likely, releasing another version tomorrow, adding automatic download of a couple of stock maps. Right now, when new player starts, they can't play multiplayer, because they don't have any maps!
 
Joined
Mar 31, 2015
Messages
34
Location
Poznań, Poland
Website
p1x.in
We are still working on the next, small update, as we have ran into small issues. In the meantime, I have prepared a small map browser, that you can access here: https://online.tof.p1x.in/browser/ - it is still not finished, and looks like crap, but at least you can see available maps with thumbnails ;) Hope that helps!

Edit:
If the page does not work for you, then please wait, DNS propagation may take some time.
 

edgex004

Advanced Member
Joined
Jan 5, 2008
Messages
1,166
I downloaded the map "Equal" (map code is LMVMJFHK) and started a new match. If anyone wants to join, the match code is FNNTD
 
Joined
Mar 31, 2015
Messages
34
Location
Poznań, Poland
Website
p1x.in
Hey, sorry for not announcing 0.6.1, I've been busy lately. Yesterday I have noticed, that map downloads did not work due to me being silly, but it's fixed now!

Glad to see you guys trying out multiplayer. I have looked at the "Equal" map and it is one of these, where the author did not understand the idea of spawning tiles for buildings - we probably have to make it more obvious in the workshop. Anyway, 0.6.1 contains a fix for buildings without spawn tile, so units will no longer be placed in water and therefore unusable, so please use that version :D

We are also going towards Steam Greenlight, with a concept page as a warmup: http://steamcommunity.com/sharedfiles/filedetails/?id=809918830
The map browser is mostly finished as well https://online.tof.p1x.in/browser/ with more features coming in future. It's optimised for PC and smartphones, but I hope it works on Pandora as well.
I'll get into some multiplayer matches myself once my tablet is back from the repair shop.
 

edgex004

Advanced Member
Joined
Jan 5, 2008
Messages
1,166
First turn went fine for me. I will watch out for those spawn tiles. I do seem to have a helicopter trapped somehow, as selecting it does not show any available movement spaces.
 
Top