c8ess Posted April 23, 2016 Share Posted April 23, 2016 Hi there, I'm beggining a project with Pixi.js (captain obvious) and I have somes questions. - I wanna use 'input text' but there is no native such of things in Pixi, so what's the best solution ? use a plugin (which one ?) or a mix DOM/Canvas ? (same question for scrollbars and long text or rich text) - For a multiplayer game (very basic), is socket.io a good choice ? - Any general tip ? I have a lot of others questions, so I will up this topic when needed Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 23, 2016 Share Posted April 23, 2016 1. https://github.com/Ezelia/EZGUI 2. https://github.com/Ezelia/eureca.io 3. clone github repo, look at the source if something goes wrong. Quote Link to comment Share on other sites More sharing options...
c8ess Posted April 23, 2016 Author Share Posted April 23, 2016 Thank you Quote Link to comment Share on other sites More sharing options...
mattstyles Posted April 23, 2016 Share Posted April 23, 2016 1. Mixture of DOM/Canvas is fine, the right choice in many situations. If your game is very very text heavy then mostly DOM could be preferable, with your more complex graphical elements done using canvas. 2. Socket.io is grand, just bare in mind there is no such thing as a simple multiplayer game. 3. Given your first question, you shouldnt be asking question 2, completely skip multiplayer games and get a few solo, client-only games under your belt first. Quote Link to comment Share on other sites More sharing options...
c8ess Posted April 23, 2016 Author Share Posted April 23, 2016 @mattstyles Thanks a lot for your response 1. I was asking that because im already on a mix DOM/Canvas and i just wanted to be sure that it's a good solution. 2. ok 3. Unfortunately my game can't be played solo. Or i will need to implement on A.I and i don't want to. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted April 23, 2016 Share Posted April 23, 2016 3 hours ago, c8ess said: @mattstyles Thanks a lot for your response 1. I was asking that because im already on a mix DOM/Canvas and i just wanted to be sure that it's a good solution. 2. ok 3. Unfortunately my game can't be played solo. Or i will need to implement on A.I and i don't want to. 3. You will need it anyway. Dont make the same mistakes as me Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.