Comments for Dynetis games https://www.dynetisgames.com Tue, 13 Feb 2018 13:38:00 +0000 hourly 1 https://wordpress.org/?v=5.8.10 Comment on How to make a multiplayer online game with Phaser, Socket.io and Node.js by whiteadi https://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/#comment-84 Tue, 13 Feb 2018 13:38:00 +0000 http://35.156.160.236/?p=52#comment-84 Nice base!

]]>
Comment on Westward dev log #10: Inventory and Equipment by Jérôme Rx https://www.dynetisgames.com/2017/12/18/westward-dev-log-10-inventory-equipment/#comment-83 Thu, 21 Dec 2017 13:17:00 +0000 http://www.dynetisgames.com/?p=642#comment-83 In reply to Kyrios Severus.

Feel free to let me know on what specific topics you’d like to see tutorials, I should normally start to write some again in the coming weeks/months!

]]>
Comment on Westward dev log #10: Inventory and Equipment by Kyrios Severus https://www.dynetisgames.com/2017/12/18/westward-dev-log-10-inventory-equipment/#comment-82 Thu, 21 Dec 2017 09:53:00 +0000 http://www.dynetisgames.com/?p=642#comment-82 I would be interested in a tutorial on some of these topics. Really love the articles that you have written. I am currently learning to make a browser based game like phaserquest and these tutorials will also help me to get more understanding since I am a beginner.

]]>
Comment on How to make a multiplayer online game with Phaser, Socket.io and Node.js by Geoffrey Mégardon https://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/#comment-81 Thu, 14 Dec 2017 11:59:00 +0000 http://35.156.160.236/?p=52#comment-81 In reply to Jérôme Rx.

Ok, I see now 🙂
I also found this useful video here:

if that can help someone else 🙂

I am now wondering if, for small coop games, there is a way to use one of the client as the server.

Good luck with your game 🙂 !

]]>
Comment on How to make a multiplayer online game with Phaser, Socket.io and Node.js by Jérôme Rx https://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/#comment-80 Thu, 14 Dec 2017 11:50:00 +0000 http://35.156.160.236/?p=52#comment-80 In reply to Geoffrey Mégardon.

Nope I didn’t modify anything, but indeed I had to run server.js on Heroku for the networking aspect. On Itch.io, you can indeed host an HTML5 game, but it’ll simply load in your browser the files for the client, making your browser the “client desktop app” I was referring to earlier. It’s fine for solo games, but if you want multiplayer you need a central server to handle it, and I see no indication that Itch.io handles it itself. So on in the case of Itch.io, you would need to upload the client to Itch and the server to something else (Amazon, Heroku…).
I’m quite busy with my own game at the moment but a tutorial on this would be quite a good idea so I’ll try to find time for that!

]]>
Comment on How to make a multiplayer online game with Phaser, Socket.io and Node.js by Geoffrey Mégardon https://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/#comment-79 Thu, 14 Dec 2017 11:19:00 +0000 http://35.156.160.236/?p=52#comment-79 In reply to Jérôme Rx.

Thanks for your answer!

So, in fact, it seems that Itch can host HTML5 games that you can play in the browser:
https://itch.io/docs/creators/html5
So my question was more about how to make the game in this tutorial works when hosted online?

For instance, when I clicked on your link: https://basic-mmo-phaser.herokuapp.com, your game works. Did you add/modify anything to the code in this tutorial to make it work?
I think, this is something to do with running ‘server.js’ before to run the game. I guess ‘server.js’ could be run either on a remote server or on one of the client machines.

So indeed, a tutorial on how to host a Node.js game on Heroku would definitely help 😀

]]>
Comment on How to make a multiplayer online game with Phaser, Socket.io and Node.js by Jérôme Rx https://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/#comment-78 Wed, 13 Dec 2017 22:19:00 +0000 http://35.156.160.236/?p=52#comment-78 In reply to Geoffrey Mégardon.

I don’t have experience yet with Itch, but my understanding is that they distribute their games as desktop apps. In the case of online games, these desktop apps would correspond to the client apps, who then have to connect to the server. It seems very likely to me that Itch has nothing to do with the server-side, and that the game dev has to maintain it by himself (I expect it to be the same with Steam). If that’s indeed the case, then any solution could work, including using a Heroku server like I do. I could make a tutorial about how to host a Node.js game on Heroku, that would probably be useful! But then you still need to provide a desktop client app to Itch/Steam. About that, I invite you to read this post I wrote: https://www.dynetisgames.com/2017/08/21/westward-dev-log-3-making-desktop-app/ . This may help you see better how to package a Phaser game as a desktop app. Maybe I should make a tutorial about that as well in the future!
Let me know if this doesn’t answer your question, or if you think I got it wrong about how multiplayer games are handled by Itch! 😉

]]>
Comment on How to make a multiplayer online game with Phaser, Socket.io and Node.js by Geoffrey Mégardon https://www.dynetisgames.com/2017/03/06/how-to-make-a-multiplayer-online-game-with-phaser-socket-io-and-node-js/#comment-77 Wed, 13 Dec 2017 20:18:00 +0000 http://35.156.160.236/?p=52#comment-77 Hi,
Really good tutorial, I learnt a lot!

I tried to upload the result on itch.io to see if it could run while being hosted online, but it does not work: the game and the map are loaded, but no players are created. My guess is that, when the game is on an online server (on itch.io in this case), the server.js script is not started (nobody is there to run ‘node server.js’ in the terminal of the online server). Plus, I guess that if the game is hosted online, I also need to change the port at which server.js is listening?

In short, I think it could be a nice addition to this tutorial if you could explain how to make the game run when hosted on an actual web server (maybe itch.io is not a good one?).

Thank you again for the tutorial 🙂

]]>
Comment on Westward dev log #8: Super basic demo by Jérôme Rx https://www.dynetisgames.com/2017/11/13/westward-dev-log-8-super-basic-demo/#comment-76 Wed, 15 Nov 2017 09:48:00 +0000 http://www.dynetisgames.com/?p=619#comment-76 In reply to rocket.

Thanks!

]]>
Comment on Westward dev log #8: Super basic demo by rocket https://www.dynetisgames.com/2017/11/13/westward-dev-log-8-super-basic-demo/#comment-75 Wed, 15 Nov 2017 09:07:00 +0000 http://www.dynetisgames.com/?p=619#comment-75 Keep up the good work. As I mentioned before I somehow make something similiar. But currently I have very little spare time to work on my game but reading your progress really motivates me. The demo is great and I am looking forward to seemore of Westward. 😀

]]>