Sentinel Posted November 30, 2017 Share Posted November 30, 2017 This is strictly for educational purposes only Since Flash is pretty much being deprecated in most browsers so is Habbo. Since there's retro versions, most of Habbo's assets are available on the internet. I've been using Pixi for now to create a 2D loading screen, which I did successfully. Then it occurred to me that Pixi is mostly just a renderer, and doesn't support 3D the same way as Three or Babylon does. Problem is that, I found coding of 2D UI elements in both Three and Babylon really difficult compared to Pixi. In Habbo it's really minimal what is going to be 2.5D / 3D as only the rooms, avatars and furni are, the rest is basically 2D GUI. So this is how I've done it for now https://gist.github.com/marcus-sa/7993baa14e6301c762747142e55cb5cf Some questions: Is Habbo; 2D with projecting, 2.5D or 3D, and would it be enough to use Pixi only? If no: Would it be possible to extend Pixi with Three or Babylon when there's going to be rendered 2.5D /3D objects? If it's truly 2D with projecting, should I just use Phaser instead? What would be best to do? ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 1, 2017 Share Posted December 1, 2017 What exactly do you need? > Then it occurred to me that Pixi is mostly just a renderer, and doesn't support 3D the same way as Three or Babylon does. One of pixi 2.5d forks: https://gameofbombs.github.io/pixi-bin/index.html?s=flip&f=cards.js&title=Cards Also GoodBoyDigital have 3d plugin for pixi, to bepublished after v5. "BBC worst witch game" (google, play if you are in GB) shows 3d in pixi. Also, http://www.doctorwho.tv/games/land-the-tardis/ , i dont know why does it not load for me https://github.com/pixijs/pixi-projection - this thing has no 3d yet, only 2d projections. But it has required architecture, you can hack it and not wait for me to implement 3d there As for Babylon, it had something for 2d , please search the forums. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 1, 2017 Share Posted December 1, 2017 PIXI + Threejs: https://github.com/pixijs/pixi.js/issues/4320 I know a project in production that uses this approach, just not released yet. There's nothing bad in using two renderers if you know how they both work Quote Link to comment Share on other sites More sharing options...
Théo Sabattié Posted December 1, 2017 Share Posted December 1, 2017 Quote If it's truly 2D with projecting, should I just use Phaser instead? Phaser is a game engine using pixijs. You should use pixijs. Quote Link to comment Share on other sites More sharing options...
samid737 Posted December 1, 2017 Share Posted December 1, 2017 Phaser does have A ready made isometric plugin, which is pretty similar to what habbo looks like and it includes physics (not sure if you need physics though). For the UI you can even consider using only DOM elements if it does not require too much animation. This game reminds me of the habbo UI in some way :http://www.dynetisgames.com/2017/03/18/phaser-quest/. You can also strip down features you don't need in A custom Phaser build. It could be done using Phaser, but if its the best way, i'm not sure...... ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
tricksival Posted August 19, 2019 Share Posted August 19, 2019 We're building a open-source habbo client. Check out the repo: https://github.com/open-hotel/open-hotel-client/tree/master Quote Link to comment Share on other sites More sharing options...
Solid44 Posted November 7, 2020 Share Posted November 7, 2020 can anyone help me with this? 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.