Better HN
topnewbestaskshowjobs
Log inSign up

altanis

83 karma · joined Aug 22, 2023 (3y ago) · 59 submissions

c, c++, rust, javascript, and basically every other language
Submissions

comment 2y ago · link · parent

lol someone ddosed the website, i fixed up the firewall and the game is back on

comment 2y ago · link · parent

Hey, me and my friend Aspect saw you. Thanks for checking out my game, have a good night!

comment 2y ago · link · parent

Nice, thank you for playing!

comment 2y ago · link · parent

Yeah that "desync" is because the server mspt (shown next to your latency) was likely very high. It's because of a memory leak, I'll investigate when I get a chance.

I'll look into that game, I've never heard of it. Not sure how I'd incorporate NPCs in a fast paced game like this, if you have any ideas let me know!

comment 2y ago · link · parent

Yeah, that bug is from a memory leak, I haven't had a chance to debug it since I'm traveling but I'll figure out the cause by this week.

comment 2y ago · link · parent

You ultimately will need to try to kill the player who is chasing you. Choose one tank you think will kill them, and keep trying until they die. That's basically the point of the game; choose tanks adapted to your environment and get as many points as you can.

comment 2y ago · link · parent

Hey, thanks for the suggestions! By the way, you can hold K to level up to max, this is temporary though.

Levels are determined by halving your XP then finding the correct level, just like Diep.io. I agree with you though; I'll probably make it less harsh.

Level scaling is already exponential (its harder to get levels as you progress).

I actually really like the noob flag idea; when spectating, a bunch of people were confused on what to do and kept dying to a higher level person. I will definitely add this feature in the following week.

comment 2y ago · link · parent

WebRTC is complicated; there are many more edge cases compared to websockets. Off the top of my head, I know I'd need to run a TURN server for people behind symmetrical NAT or CGNAT networks, which would be a pain. WebSockets are much more accessible for everyone. In the future I'll investigate UDP protocols, but its likely I'll always use TCP for web games.

comment 2y ago · link · parent

Not at the moment, no. I'll add a tank editor in the future which could technically be ported offline, but I don't have too big of a desire to port it to a native app.

comment 2y ago · link · parent

If you guys want, there's a Discord server you can join for the game since communication through a forum is hard: https://discord.gg/UTvaAAgku3 .

comment 2y ago · link · parent

I think a clientside fingerprint implementation I made was faulty, I'll rework it. Sorry.

comment 2y ago · link · parent

Sorry, the game server degraded overnight. I've restarted the server as a temporary fix and will investigate today.

comment 2y ago · link · parent

The base game is inspired from Diep.io with extensive features already to differentiate it, but you're right the base game is still essentially Diep.io. The game is still relatively new and I haven't implemented all my ideas yet, but when I'm done the base game mechanics will be completely different.

comment 2y ago · link · parent

I don't think it's abuse, but just server degradation from 50 players playing for hours. I restarted the server and it's better, I'll fix the degradation later today.

comment 2y ago · link · parent

Hey sorry, there was performance degradation overnight which made the game server super slow. It should be better right now.

comment 2y ago · link · parent

Hey sorry, there was performance degradation overnight which made the game server super slow. It should be better right now.

comment 2y ago · link · parent

Of course, I have a bunch of new features in mind to make it different from Diep.io when initially playing.

comment 2y ago · link · parent

Hey sorry, there was performance degradation overnight which made the game server super slow. It should be better right now.

comment 2y ago · link · parent

I used Axum for the websocket server, MySQL for the database, and the glicko2 crate for elo management. Those are the only 3 that come to mind, I didn't use any libraries/engines for the game itself.

comment 2y ago · link · parent

There should be an X button. It's probably a CSS issue; what are the dimensions of your screen?

comment 2y ago · link · parent

There are some features in-game which I don't want abused by bots (creating sandboxes for instance). There's also a 1v1 system which needs a Google account to associate your rankings with. Other than those two sections, you are able to play FFAs and join other people's sandboxes without a Google account.

comment 2y ago · link · parent

Yeah, I should've labeled it as a multi-player game instead.

comment 2y ago · link · parent

Yeah, I didn't actually expect this many people to play. I've ran benches locally of 100 bots playing together, and the game server ran at a decent 5-7 MSPT. I didn't run the benchmark for hours though, so I never got performance degradation. I'll run the bench for a few hours today and inspect why performance degrades.

comment 2y ago · link · parent

There already is. The lag you were experiencing was likely from the game server degrading; did you check what the MSPT of the server was when you were playing? (It was listed at the bottom near your ping.)

comment 2y ago · link · parent

Hey sorry, there was performance degradation overnight which made the game server super slow. It should be better right now.
12