Skip to content
Sign UpLog In
Profile icon

Kaldis Berzins

HackerContent Creator
@kaldisberzins
Heck
  • Canvas Meme

    Cover page
    Made with HTML, CSS, JS
    Recent comments (1)
    LuisAFK
    LuisAFK
    7 months ago

    error

  • Multiplayer Game Example

    Cover page
    Made with Express
    Recent comments (4)
    YashGandhi12
    YashGandhi12
    6 days ago

    Mind Blowing

    ItalianPizza
    ItalianPizza
    9 months ago

    Ain't working fu

    JamesMayanja
    JamesMayanja
    9 months ago

    fw

    MisterToenails
    MisterToenails
    1 year ago

    On line 10 of client.js a for index in would be more efficient

  • LuftWaffle

    Cover page
    Made with HTML, CSS, JS
    Recent comments (0)
  • Space Effect Designer

    Cover page
    Made with HTML, CSS, JS
    Recent comments (0)
  • Multiplayer Game

    Cover page
    Made with Express
    Recent comments (1)
    ThomasW18
    ThomasW18
    4 months ago

    like it

Repls
Community
kaldisberzins
kaldisberzins
shared a Post
3 years ago
Kickstart your Colyseus project with this template!
Beginner Template This is a template for people who already know colyseus and want to start up a quick project. It doesn't work, but can be turned in
Colyseus  Kickstart Template
Node.js
kaldisberzins
kaldisberzins
shared a Post
3 years ago
This is a template for people who want to start making multiplayer games with colyseus, an authoritative multiplayer server for node.js. The template
Colyseus  Beginner Template
Node.js
kaldisberzins
kaldisberzins
shared a Post
3 years ago
TP Exchange logo Try it: Link Description TP Exchange is a web app built to help people in places with supermarkets that are empty of necessary item
covid-19 survival kit
Node.js
AlephZero
AlephZero
Fantastic idea!3 years ago
Highwayman
Highwayman
Wow. That. Wow.3 years ago
kaldisberzins
kaldisberzins
shared a Post
3 years ago
A pure js simulation of a pond of fish. Watch them swim. If you are interested in how this works here is a video of someone building something similar
koi pond
HTML, CSS, JS
kaldisberzins
kaldisberzins
shared a Post
3 years ago
DOTON Events in JS are a big pain in my opinion. You have two options - either use element.onclick = (e) => which you can use only once and is not su
DotOn
HTML, CSS, JS
Vandesm14
Vandesm14
I really want to build something with this. Great job!3 years ago
MatthewDoan1
MatthewDoan1
Can't you just use jquery's .on?3 years ago
slip1244
slip1244
NICE3 years ago
kaldisberzins
kaldisberzins
shared a Post
3 years ago
In the official node documentation it gives a way to fire an event when the server is shutting down. Something along the lines of process.on('exit', (
Geocube101
Geocube101
You may be able to manually close the server using io.server.close(). Once done, you can manually destroy all connections with socket.destroy() where socket is the socket of the connected client3 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
In the "what should I make" thread @amasad expressed his wish for another multiplayer game. He wanted it to be more community focused than some of t
Lolanator365
Lolanator365
@kaldisberzins i think it would be cool if you could make online agario and have a single player option where u go against bots4 years ago
katyadee
katyadee
I love what's going on in this thread!4 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
image Check out the demo here. A very simple to use background tool that you can place into your website without any knowledge of javascript. Featur
Space effect demo
HTML, CSS, JS
EchoCoding
EchoCoding
This is awesome! I'm going to make a website and integrate this as soon as I can. And I'll credit you, not to worry :)4 years ago
timmy_i_chen
timmy_i_chen
So cool!4 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
POLYCARBINE headphone symbol Created by @kaldisberzins: Code Music (Self Written) Character sprite and @KarlisOslejs: Game art Created 100% within Ga
KadenGarner
KadenGarner
It doesnt work 2 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
A nice little algorithm that will sort your dots into groups. Click inside the square and make little groups of red dots. Then input the amount of gro
Grouping Algorithm
HTML, CSS, JS
kaldisberzins
kaldisberzins
shared a Post
4 years ago
If you don't know, Hop Fighter is a platformer multiplayer game where the objective is to shoot your enemies and have fun. Ever since it got featured
Hop-Fighter
express
MorkyMonkey
MorkyMonkey
@kaldisberins How would I be able to create a system where in guns.js it has an option to also have number of bullets a gun shoots and the type of bullet a gun has2 years ago
Silverdawn2520
Silverdawn2520
I can't play it, some IP address was not found.2 years ago
Lolanator365
Lolanator365
@kaldisberzins the game wont load up image4 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
Making a Phaser Game with HTML5 and JavaScript Hi guys! Everybody likes to make games, right? And everybody has their own way of doing it. In this tu
Phaser Tutorial
HTML, CSS, JS
MorkyMonkey
MorkyMonkey
@kaldisberzins how do i make a gun shoot more than one bullet?2 years ago
MorkyMonkey
MorkyMonkey
@kaldisberzins can i add images without making a spritesheet? can i just use images and put the code into sprites.json?2 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
An improved version of my first path finding algorithm. This time it notes down each intersection and makes a choice there. If it later runs into a
pathfinder II
HTML, CSS, JS
tommydagun4
tommydagun4
this sucks it kept my attention and left me deeply unsatisfied4 years ago
shadowelite7
shadowelite7
this is so cool, I would like to have something similar to this for my own screensaver4 years ago
Reader8765
Reader8765
This is awesome! The biggest problem is that the Pathfinder is going back into areas it has already surrounded. It needs to learn to take more types of turns.4 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
A super simple concept made complicated by an unreadable language. Takes 5 letters as an input and outputs them in reverse order. BrainF can only take
Text reverser
BrainF
hoop4life
hoop4life
nice, I can't code in this language3 years ago
subneo101
subneo101
interesting approach !4 years ago
vityavv
vityavv
you can just do >,>,>,>,>,[.<] lol4 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
My first path-finding algorithm. Completely random as you can see. Solves a maze. If you want you can replace the Maze.png file with another 16x16 pi
pathfinder I
HTML, CSS, JS
redmonke
redmonke
That's actually pretty cool. Nice job!4 years ago
slip1244
slip1244
what about the "follow right wall" thing4 years ago
Reader8765
Reader8765
The shape should try to go to not red areas using red paths.4 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
I am delighted to announce that Hop-Fighter v0.4 is out! If you don't know already, Hop-Fighter is a platformer multiplayer shooter game. The objectiv
amasad
amasad
oh wow! Super cool4 years ago
Mosrod
Mosrod
Wow! Love the music and the new maps!4 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
I know I am a bit late to the party but here it is: http://hop-fighter--kaldisberzins.repl.co/. It is an online multiplayer platformer shooter. Play i
Hop-Fighter
express
NigelIsCoding
NigelIsCoding
This is so good2 years ago
MatthewDoan1
MatthewDoan1
I was gonna give up on Phaser because of lack of documentation and a foreign environment (repl.it), but this project allowed me to make a turnaround! Thanks4 years ago
kaldisberzins
kaldisberzins
shared a Post
4 years ago
Code: https://repl.it/@kaldisberzins/Perceptron Try it out: https://perceptron--kaldisberzins.repl.co It essentially has to figure out which positions
spybrave
spybrave
Nice!4 years ago
CoolqB
CoolqB
Very nice! I hope to see more machine learning projects from you in the future ;)4 years ago
kaldisberzins
kaldisberzins
shared a Post
5 years ago
A simple, yet fun game where you are a zeppelin and you have to bomb ships and avoid their artillery fire. Use the W, A, S and D keys to move your zep
leolo
leolo
5 years ago
SirWooFakFak
SirWooFakFak
Gold hunt5 years ago
asazeren
asazeren
I think health needs to be a lot lower. With 20 hits capable of being taken,the player is not afraid enough of getting hit.5 years ago
kaldisberzins
kaldisberzins
shared a Post
5 years ago
http://kaldisberzins.repl.co/Canvas-Meme Meme generator The top input is where you put the image address. When you right click on an image that you
replitfaris
replitfaris
Haha looks good5 years ago
Carson08
Carson08
how can i see the code 5 years ago
kaldisberzins
kaldisberzins
I should probably explain this: The top input is where you put the image address. When you right click on an image that you want to use click copy image address. Then paste that into the top input box. The other two boxes are where the top and bottom texts for your meme go. I also fixed the font so that it is now the regular meme font.5 years ago