Jump to content

Questions for game c8ess


c8ess
 Share

Recommended Posts

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

 

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

@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.

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...