May 15, 2018
HTML5 version of HaxBall is now default HaxBall and drops the alpha tag.
Flash version is now in http://www.haxball.com/flash/, it will probably remain up until chrome no longer supports flash.
May 15, 2018
HTML5 version of HaxBall is now default HaxBall and drops the alpha tag.
Flash version is now in http://www.haxball.com/flash/, it will probably remain up until chrome no longer supports flash.
May 12, 2018
The html5 version of haxball does a lot of things that are unnecesary when trying to host on a VPS (rendering, audio, GUI / menus).
To improve this situation I’ve implemented a “headless” version which does no rendering audio or GUI and is controllable through a javascript API.
Read the documentation here.
Also, starting today creating a room will require passing a recaptcha test.
Enjoy!
Dec 29, 2017
Because these new replay files are incompatible with the ones created with the flash version the extension has changed to “.hbr2”.
There’s currently no way to link directly to a replay file, I’ll implement that feature soon. For now the only way to load a replay is from the room list “Replays” button.
I wish you all a happy new year!
Nov 24, 2017
Nov 15, 2017
Nov 2, 2017
Oct 27, 2017
More updates to come soon.
Oct 25, 2017
Give it a try html5.haxball.com
Found something wrong with it? Dont panic! This is an alpha version, it’s bound to have bugs and lack features. My top priority is reaching feature parity with the flash version and new features may come after that. If you find a bug please report it here.
The flash version and html5 versions will coexist until feature parity is reached.
One notable difference with flash version of haxball is the bigger use of the screen. This is something I always wanted to do, but since flash was not hardware accelerated it wasn’t possible to do it at a reasonable framerate.
However, a bigger viewport can make the game look really tiny (specially if your screen is 1080p or above). For this reason I’ve added camera-zoom feature. You can change between 3 different zoom levels using number keys 1 to 3.
Some people have expressed to me that they would rather have the restricted viewport size that the flash version had, this is something I’m considering as an option. If this matters to you too let me know.
The netplay works very similarly to the flash version but uses WebRTC instead of RTMFP.
If you have issues connecting to room hosts but were able to do it in the flash version you should report it here.
You will notice ping will be a bit lower than usual, this is mainly because in flash network events were handled 60 frames per second while in html5 the events are handled immediately and independent of the screen refresh rate. This meant that flash could add about 32msec of latency depending on how close to the frame updates the network packets would arrive.
Another nice improvement is that the game will no longer lag if the host changes tabs. (flash would lower it’s frame rate and thus handle network events even less frequently)
Oct 15, 2017
Ive been working on it for a long time and it’s very close to being ready.
I’ve been silent in this blog about it since I wasn’t particularily sure I’d be able to finish it and I wouldn’t like to announce vaporware. However, I’m now pretty confident it’s gonna be released so here is the official teaser/announcement.
You can expect it to be released this year. (Hopefully november, but no hard promises)
Among other things will feature:
Sadly only Firefox, Chrome and Chromium-based browsers fully support the technology needed (WebRTC). So HTML5 HaxBall will not work in Safari or Edge for now.
Feb 23, 2017
Changes: Improved player banning and implemented automatic banning of spammy users. These changes address the room DoS attacks that have been happening.