Home games Node.js and Socket.io part 4 Building a HTML5 game part 9

Node.js and Socket.io part 4 Building a HTML5 game part 9

by admin



Part 9 in our HTML5 series but part 4 of the node and socket series. Can be watched on its own. Watch this and the next video before downloading source. You can grab all this straight from the source if you want.

source

Related Videos

4 comments

@yixia9495 August 11, 2024 - 1:35 am

any source code in github?

@JeziorAlex August 11, 2024 - 1:35 am

Watching through all of these Security has been my concern. I have been waiting for him to add the php in with the JavaScript, and start calling MySQL's to start saving and checking data.

Would this require to change all the files from .js to .php while separating the "script" from the "php"?

@SebastianFoth August 11, 2024 - 1:35 am

especially when you talk about possible security concerns.

@SebastianFoth August 11, 2024 - 1:35 am

All in all it looks quite good, I just ask myself how you perform the collission detection on the serverside e.g. for the mobs.

In the end you'll need to load the world on the serverside and let the collision detection run on it, otherwise the players could cheat and get access to for example restricted areas.
I think some ideas to this topic would be great. Of course your videos are just some kind of tips to get the "programmer" into the right direction, but I think it's needed,

Comments are closed.