Open SwiTool opened 7 years ago
WebGl would be great, take a look at pixi.js I built a similar game with that.
Indeed it seems nice, I already heard about pixi.js, gonna look into this.
@z3t0 Check my fork here it's a non multiplayer for now, but I'm using PIXI.js and it shoes the basics (move, shoot, delimited area)
it's deisgned to have as many tanks as we want, each tank has different stats and bullet stats.
Please check it 😄
thanks i will @SwiTool
Also if you plan on adding multiplayer take a look here It uses pixi.js for rendering and another library for networking.
I use socket.io for networking. It is already multiplayer but it doesnt sync for now. I will make updates in a few days
Still worth checking out the networking library I'm using in that project as it does a lot heavy lifting including interpolation and prediction.
What is the name of it? I only see socket io
@SwiTool lance-gg
It seems hard to use. But if i encounter lags problems i'll bend over it. Thank you for the tip
Hey,
I noticed a lack of performance here. Okay it is not the main purpose of the tutorial but we can't do html updates in a graphical game. What if you replace all of this by a canvas? I'm making my own tanks game, maybe you could inspirate from what i've done, later.