123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|209|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Mobile Coding -> Touch Device test voxel game.

Sat, 26 Nov 2022, 00:05
Pakz

Touch Device test voxel game.


I'm experimenting a bit with a voxel project.

I tested it on various old and new devices. A ipad from 2017 seems to have bad fps. My iphone se2020 seems to do well.

Does anyone want to test it out on a old or new device? Android is untested as of yet. I wonder if it runs and does well on android. Just if it works and seems snappy. There is no fps counter.

The game is run as a webpage html 5 with webgl. Touch!

Controls are: touch center = forward. Touch left bottom = backwards. Tap bottom is jump. Tap and hold and then release is break block. Touch and move is rotate camera.



https://cromdesi.home.xs4all.nl/html5/voxelthing/Book31.html

Edit: I tested it on my old cheap Samsung from 2017. It works, but very bad framerate. I think it needs at least a lower mid range from 2020 or so at this point.
Sat, 26 Nov 2022, 09:41
rockford
Erratic is as best as I can describe it. The controls were very clunky; sometimes they worked sometimes not. I can't tell if it was the engine stuttering or just the controls. When it worked it seemed fluid and fast at times (jumping showed how fast the engine was), other times it was just stuttering or no response at all. Without a FPS I can't tell you if it was fluid or not - my guess is that it is and it was the iffy controls letting it down.

Tested on a fairly high powered Android phone.
Sat, 26 Nov 2022, 10:12
Pakz
The camera rotation is a bit getting used too. You touch. Then hold and move slightly around that touch point. It keeps rotating then. I want to change it later to be more like in Minecraft. This has no limit to the distance moved from the initial touch point.

I was able to test the game on a more recent android mid range phone. This seems to be playable.

I did some research today. It seems the new android qualcomm snapdragon gen 2 chips wil have the best gaming performance for any mobile device. Beating the newest apple Iphones by a good margin. The current Snapdragons are pretty capable too. A lot more affordable too.

I think I do not need to worry about Android not being able to keep up with Apple as they wil get an advantage starting next month when the first phones get released.

I also spent today working on learning how to get a regular user interface using canvasses. I was under the impression that I had to use 3d models for the user interface. Luckely I solved that.
Tue, 29 Nov 2022, 00:08
Pakz
I discovered I can now use web workers(multiple cores) on my iPad with javascript. Somehow I must have now done it right or the os has been improved.

If I can figure out how to use them correctly it wil greatly improve world generation and building. The first tests have been showing I might get it working.

A lot of devices have 6 or more cores. So it is going to make a difference.