w84death / Tanks-of-Freedom

Indie Turn Based Strategy in Isometric Pixel Art
http://tof.p1x.in
Other
1.12k stars 152 forks source link

Playability on eink devices #132

Closed farooqkz closed 1 year ago

farooqkz commented 1 year ago

I have tested ToF from F-Droid on my Boox Leaf device which uses an Eink display without color support. I wanted to share my experience:

IMG_0016

czlowiekimadlo commented 1 year ago

Wow, that's actually awesome! I'm afraid that the game isn't being actively developed anymore, as I have moved on to ToF II, but If I were to make it more playable on eink, I think it would be better to swap the sprites for one of the sides to a different style, as here we can't rely on colour. Maybe some kind of reduced motion mode as well.

farooqkz commented 1 year ago

Thanks for your quick reply :)

Where is the repo for ToF II? I hope it supports more than 2 parties and better multiplayer support(both in LAN and online). Regarding motions, I don't think further change is required. I will test more later and let you know though.

czlowiekimadlo commented 1 year ago

You can find it here https://github.com/P1X-in/Tanks-of-Freedom-3-D and here https://czlowiekimadlo.itch.io/tanks-of-freedom-ii although it is a 3D rather than 2D game, and it will not run on eink for sure. It does allow matches for up to 4 players (team play possible), but at this time there is only hot-seat multiplayer. It already does have online map sharing very similar to the first one (and ToF 1 map import in the editor), and multiplayer is planned later. I am thinking about LAN play, but nothing concrete so far.

farooqkz commented 1 year ago

... and it will not run on eink for sure. ...

I beg to differ :)

farooqkz commented 1 year ago

Can you provide a production APK for ToF 3D?

czlowiekimadlo commented 1 year ago

A Steam Deck can't keep it at 60fps, it barely locks 30fps on bigger maps, so I don't even bother creating an APK 😅

farooqkz commented 1 year ago

I highly suggest that you keep the game light. People shouldn't need a powerful GPU to play the game. You could add options to lower graphical details to let the FPS go higher.

Regarding my Eink tablet, it has a SD6xx processor clocked at about 1.1Ghz or 1.2Ghz and has 8 cores. I don't think it would be as bad as you think.

czlowiekimadlo commented 1 year ago

If only it was that easy. Godot Engine is not the best performance-wise, and I don't have too much time nor energy to implement elaborate settings for the new game. It is also aimed at desktop and Deck, so as long as It works fine there and does not burn battery like crazy, then it's good enough for me.

farooqkz commented 1 year ago

I'm not much into 3D stuff. But can you use existing Voxel engines perhaps plus some modifications? Minetest has great performance on even poor hardware.

Zireael07 commented 1 year ago

@farooqkz Godot's 3D performance isn't the greatest though. Voxel engines often use voxel-specific tricks to get that best perf

czlowiekimadlo commented 1 year ago

You are proposing re-writing entire project, which is just my hobby, from ground up, using a different (and unsuitable) engine just for a small chance, that it would work on mobile devices, which was never a goal of the project in the first place. It's not going to happen. ToF II does not use voxels in any way, it just has meshes generated from voxels for aesthetics. That's it. A voxel engine would probably be more of a hindrance than help in this game.

farooqkz commented 1 year ago

Please have mercy and don't kill me! I'm not into 3D stuff so I don't know what's suitable and what's not. Also I didn't know the progress had so much progress. However, Minetest performs really well even on mobile.

czlowiekimadlo commented 1 year ago

Haha, don't worry, we only bite a little bit :) But yes, ToF II progressed so much, that starting over with a different engine is completely out of the question.

farooqkz commented 1 year ago

Since ToF is still works well and is fun. May I ask you to at least change the sprites to black and white and produce an APK? Or is it something I can do myself without too much effort needed?

czlowiekimadlo commented 1 year ago

Exporting an APK is fairly easy. Tracking down and converting to grayscale all of the images might be a bit of work though.

farooqkz commented 1 year ago

Exporting an APK is fairly easy. Tracking down and converting to grayscale all of the images might be a bit of work though.

Not all them at once. I think at least Blue/Red must be Black/White instead so that the game will be fairly playable on Eink.

Additional note: Most eink displays support black, white and a number of gray levels. For example my current Eink device as well as the older one which was running Android 6 has got 16 levels of gray plus black and white.