tech explorers, welcome!

Category: Game.D

endleZZ v0.2: anniversary update

One year ago endleZZ was conceived in a waiting room with no signal as a way to develop an offline game without any special requirements: just a browser and an .html file.

The idea is great and it’s been useful many times to kill some time, but it really deserved a minimum visual and functional update.

So here it is, version 0.2: anniversary update! 🎉

Web version

You can access the web version that I host in this server:

https://theroamingworkshop.cloud/endlezz

Local version

Or play it local (and offline) downloading its source code, or using the .html file from github:

https://github.com/TheRoam/endleZZ

Changelog

New features:

  • options menu
  • time controls: pause, restore y exit
  • new map elements (trees and rocks) that spawn randomly in each game
  • initial weather system trials: added random cloud generation

Bug fixes:

  • bullets now reach the end of the map, despite where you click
  • adjusted time calculation for pause/replay
  • overall performance and interaction improvements

Installing UnityHub in Ubuntu 22

If you recently updated to Ubuntu 22 and tried to install UnityHub following the steps in their website:

https://docs.unity3d.com/hub/manual/InstallHub.html#install-hub-linux

Everything looks fine until you run the program and this happens:

>> unityhub
This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
ConnectionLost: Timeout! Cannot connect to Licensing Client within 60000ms
    at Function.fromType (/opt/unityhub/resources/app.asar/node_modules/@licensing/licensing-sdk/lib/core/ipc/licensingIpc.js:51:16)
    ...

Luckily, surfing the web you usually find the solution, and this one was in the same Unity forum:

https://forum.unity.com/threads/installing-unity-hub-on-ubuntu-22-04.1271816/#post-8136473

Let’s check the installation step by step:

Installing UnityHub on Linux

Following the official steps from their site (first link in the post):

  1. Add the Unity repository to your sources list:
    sudo sh -c 'echo "deb https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'
  2. Add the public key to make it trustful:
    wget -qO - https://hub.unity3d.com/linux/keys/public | sudo apt-key add -
  3. Update your repositories:
    sudo apt update
  4. Install UnityHub:
    sudo apt-get install unityhub

It should all go fine, despite an error with some “chrome-sandbox” folder. But that’s not the error. Running unityhub from the terminal we have the above error.

Installing libssl1.1

The problem is that Ubuntu 22 uses a more recent version of libssl package, but we can still download the version used by Ubuntu 20.

  1. Access Ubuntu 20 packages site, where you find libssl1.1
    https://packages.ubuntu.com/focal/amd64/libssl1.1/download
  2. Right-click -> save as… over the link to the file starting with security.ubuntu.com/ubuntu… (or just click the link below; you’ll download a .deb instaler file)
    http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
  3. Double-click the downloaded file and install the package.
  4. Now run unityhub in the terminal and done!

🐦 @RoamingWorkshop

endleZZ: a javascript infinite & random zombie suvival minigame

endleZZ is an infinite zombie survival minigame developed in javascript, making it available for any device with an internet browser.

Despite of this, the game can be played offline, running the .html file locally which you can download from github.

https://github.com/TheRoam/endleZZ

Version v0.1 is an initial proof-of-concept release with all the main features enabled for testing.

Otherwise, you can play the online release version which I host in my server:

https://theroamingworkshop.cloud/endlezz

TIP! Always download files from the official source published bh me, the author. DONT execute files shared by third parties. Javascript code can de easily manipulated to run malicious activities.

Description

You are a survivor with unlimited ammo surrounded by zombies, how long can you survive?

Randomness will make every game unique: zombie enemies are randomly generated in random border locations with random attributes (speed and level).

There are 4 zombie levels, making them bigger and harder to kill (1×1, 2×2, 3×3, 4×4).

The game is infinite as long as you can keep up killing zombies.

Wasting ammo reduces your score though, so make accurate shots!

Game instructions

  1. Click or touch a point in the map to shoot to that place.
  2. Every bullet used deduces 1 point (-1).
  3. Shooting body parts (light green) adds 1 point (+1).
  4. Shooting in the head (dark green) adds 10 points (+10).
  5. Survival time will also add score points in the future.

Current features

  • Multi-platform
  • Portable (single .html executable)
  • Lightweight: 20 KB
  • Offline: download and play locally.
  • Infinite survival game
  • Random enemy spawn time
  • Random enemy spawn location
  • Random enemy features
    • Speed
    • Level
  • Modular enemies (multi-part)
    • Body (light green)
    • Head (dark green)
  • Complex scoring system
    • (Hit) Body hit +1
    • (Kill) Head shot +10
    • (Bullet) Used bullet -1
    • (Time) Survival time [Not implemented]
  • Animations

Feature brainstorming

  • options menu
  • final score summary page
  • more complex graphics
  • day-night cycle
  • weather system: clouds, fog, rain, lightning…
  • map objects: trees, walls..
  • complex enemies
  • enemy loot: bullets, points.
  • powers: slow-down, kill-all, one-shot-kill…

Development

You can visit the development page in github:

https://github.com/TheRoam/endleZZ

If you have ideas, questions or comments, you can drop them on 🐦 Twitter!

🐦 @RoamingWorkshop