InDev 3
Hello Community,
About Unity WebGL on Linux
Soooo, i noticed a serious problem with running WebGL on Linux. Both, Ubuntu 20.10 and openSuse Tumbleweed, where freezing to a halt while the game ran in the latest Firefox. So I attached the debugger to the current Version of Pong and it turned out, that the Linux Player is not able to load any Sounds at all. This doesn't apply to Windows, even the Linux standalone edition works fine with the same UnityEngine.AudioClip objects. I need another build with different AudioClips and tinker with Pulse to really narrow it down.
About the maps
Every map has to have a specific purpose, challeng and taste to it. That's why the game actually load specific skyboxes, sun colours and sun rotations. I definetly need a bunch of static 3D objects to carve out the world design. Map3 is supposed to be outside, but there's no Plant anywhere, real barren.
I had a good time with blender, adding maps and really thinking about the physics, how those colliders would interact with the ball,
and, how can I keep the ball inside the board.
The very first map is just a arrangement of Cubes and Planes, real simple stuff, with speed bumbs, so the ball wouldn't just go from left-right. The second map is a full blender export to fbx, adding floating obstacles, but the ball is leaving this map way to often. The third map really shines in the way of feeling like a natural terrain, while keeping the ball inside.
From a technical perspective, I really need a way to change the size of the board, specificly the Player starting Positions and the scoring area.
It's good practice to make a specific scene for every map. Tinkering with UnityEngine.SceneManagement is much easier in 2019. I remember 2018's Unity, throwing the OnSceneLoaded Event to early, and GO's weren't even accessable.
About Linux Standalone
There's a specific problem with building the standalone Unity Player 2019.3 for Linux. It doesn't include the actual UnityPlayer.so file. I had to manually copy it from the Editor to the Build directory, in order to get it started. This bug didn't happend in Unity 2019.2. But, once that was done,it's working like a charm and only took like 10 Minutes to change platform and build.
About the game
There's a big prolem with the game. It lacks any design purpose. The only target I set, was to check out WebGL. Which really bothers me, couse now I know, yeah it works and probably will work on fancy Android Tablets aswell. Pong needs a new name and a design purpose, or just be small gaming techdemo. That's probably why the new map has no collisions and is named "Barren Lands", as empty as the game.
Leave a comment
Log in with itch.io to leave a comment.