Jump to content

endel

Members
  • Posts

    46
  • Joined

  • Last visited

  • Days Won

    3

endel last won the day on November 28 2020

endel had the most liked content!

1 Follower

Contact Methods

  • Website URL
    https://github.com/endel
  • Twitter
    endel

Profile Information

  • Gender
    Male
  • Location
    Brazil

Recent Profile Visitors

3,318 profile views

endel's Achievements

Newbie

Newbie (1/14)

31

Reputation

  1. Hi everyone, today I've released a small library to create a "virtual joystick" for mobile devices. At every move it returns: angle: 0-360 direction: left, top, bottom, right, top_left, top_right, bottom_left or bottom_right power: 0-1 Screenshot: Demo: https://endel.github.io/pixi-virtual-joystick/ Source-code: https://github.com/endel/pixi-virtual-joystick Feedback always welcome! Hope you enjoy it!
  2. Glad you liked it @Nagval333 Not many people only yet, as it's still on "beta" I've published the game only on Kongregate - which is still "under judgement" Once things are more stable I want to hopefully post it on all web games platforms like iogames.space, crazygames, etc
  3. Hey guys! I'm so excited to share this new game I've been making. It's a dungeon exploring & grinding with random dungeons and random items you can collect along the way! Play it now: https://mazmorra.io Screenshots:
  4. Hello there, I'm the author of Colyseus, and I'm having a high demand for multiplayer games. I'll need someone to help me out with client-side development by May. I'll be responsible for back-end development, and will support you on the client-side as well. If you're interested, please fill out this form: https://goo.gl/forms/ZUIBSYG0OietwwJX2 Cheers! Endel
  5. @b10b @mentuat thanks for the suggestions! I've updated the controls trying to make it easier to play. Do you mind checking out again? Is it better now? Cheers!
  6. Thanks for the feedback @b10b, I'm thinking on making the game controls configurable, as some players find more intuitive the way it works right now. Today I released an update, which allows you to level up your skills, and collect gold / packages during race! Check it out:
  7. I've been working on this game for a while, and I'm finally doing a "technical release" of it. Since it's still in alpha, you may loose your progress on the next update. It's a retro multiplayer racing game, inspired by Rock'n Roll Racing. I'm using colyseus in the back-end, and pixi.js in the front-end. Play it now: https://crashracing.com You'll be redirected automatically to a server on EU or US. Controls: Arrow keys for movement 1 - Missile 2 - Drop mine 3 - Turbo / Nitro Hope you enjoy playing, any feedback is very welcome! Cheers! Screenshots below:
  8. BabylonJS uses Apache License 2.0, you can do pretty much anything: https://tldrlegal.com/license/apache-license-2.0-(apache-2.0)
  9. Hi @Arcanorum, There are two 2d physics libraries I can think of. You can include both of them on Node.js, and also run in the client, if necessary: P2: https://github.com/schteppe/p2.js MatterJS: https://github.com/liabru/matter-js I believe you can simulate only the physics in the server (movements, collisions, etc), not including the whole engine (Phaser) in it. Cheers!
  10. @iiceman hey! alright. I see you're using your client's data and trying to replicate it to all clients. Depending on the kind of game you're making, this could be fine - it's very likely, though, that all clients will be seeing a completely different state of the game. Ideally, you should only send the action the clients are trying to perform to the server, validate and then process them on the server. For position update, the clients should send the command "move forward", for example. And then the server calculates it based on the data it already has, and updates the room state. When the room state is changed, the changes will be broadcasted to all clients - and only then the entity will actually move. In authoritative server implementations like this, it's important to never trust the client. Most of the game loop will be implemented on the server (movements, collisions, actions, etc), even though some of them can be present in the client as well as some sort of prediction when it's necessary. The clients are usually just a dumb representation of the data coming from the server. Hope this helps, and please let me know if you have any questions regarding the usage of Colyseus Cheers and happy holidays!
  11. @iiceman hey! this issue has been reported already, you just need to set NPM_CONFIG_PRODUCTION environment variable to false on Heroku. EDIT: If you want to try out the client v0.6.0 alpha, I've recently added a new feature that simplifies listening to changes coming from the server: https://github.com/gamestdio/colyseus.js#listening-to-room-state-change The boilerplate is using v0.5.x that doesn't have it. @Raggar about client prediction, it very much depends on the experience you want your players to have. Sometimes, simply interpolating values in the client is enough. wilds.io just interpolate player's positions, for example. Getting slightly out of sync is not really a big deal when it doesn't influence the gameplay directly. If every player is kinda delayed, nobody will ever be ahead in time. For really fast objects then it might make sense to apply some sort of client-side prediction. So I'd recommend evaluating the kind of objects you have, and which ones really makes sense to apply prediction or not. Cheers!
  12. Hey @Nicolai, I'm using Colyseus for my prototypes. It was designed to be really easy to integrate server and client. JavaScript client: https://github.com/gamestdio/colyseus.js Server: https://github.com/gamestdio/colyseus I'm currently working on a multiplayer racing game that I plan to release by mid of next year. I'd be glad to support you with yours if you have any question. The beauty is that you can code both client and server using TypeScript, which is quite handy. Cheers!
  13. Hi. Your boilerplate has inspired me to have a go at a multiplayer game. My experience so far is only with static sites.  I have forked the boilerplate repo and cloned it locally. Having made some changes to reflect the name of my game I pushed it to my github here https://github.com/dragonmaths/nine-clone-morris

    Following the instructions here https://devcenter.heroku.com/articles/getting-started-with-nodejs#introduction

    I have successfully got to the stage of creating the app but on trying to push it I got a load of error messages after this point.

    remote:        sh: 1: tsc: not found
    

    Prior to all this I had tried cloning the boilerplate and using the deploy button but the deployment never finished. I also tried the steps on the the original clone and got the same error message.

    When and if you get the time perhaps you could give me a suggestion where I'm going wrong.

    My node is 3.9.2 and npm 3.10.9.

    Should you need any further information please let me know.

    Thanks in advance

    John

    1. endel

      endel

      Hi John, that's great :)

      Brian had the same issue recently: https://github.com/endel/babylonjs-multiplayer-boilerplate/issues/1

      You can also set the "NPM_CONFIG_PRODUCTION" environment variable to "false" through Heroku's administration panel.

      Don't hesitate to open issues on GitHub if you have any issues.

      Good luck in your game! :)

      Cheers!

    2. JohnK

      JohnK

      Thanks for the information, next time I have a problem I will check the issues first. Soory not to get back to you sooner but when I set the

      "NPM_CONFIG_PRODUCTION" environment variable to "false"  I came up with a timeout problem (I am dragonmaths) and didn't want to reply and say all is well and neither did I want to mention the problem here as I had found out about using issues on github and so wanted to use that.

      Anyway all my issues so far you have resolved and I appreciate both the boilerplate you have contributed and the help you have given to me and others .

      I expect I will come across new problems as I further learn about multi-user sites and heroku.

      Once again thank you for your help

    3. endel

      endel

      You're welcome! <3 Good luck with your game! Don't hesitate if you need help regarding multiplayer. I'm currently working on some updates for Colyseus. I hope to release them by the end of December. Cheers!

  14. Hi @inteja. Oops, that was my mistake. The fix is quite simple, though. I've updated the project already. You can pull with git or update your local version manually. I couldn't test it on Windows, but it should work fine. Please feel free to open issues on GitHub if something goes wrong, I'd be happy to support you. Cheers!
  15. Hey guys, I've created a template project using BabylonJS + Colyseus, and made it available here: https://github.com/endel/babylonjs-multiplayer-boilerplate There's a button to deploy your own in the README. Here's the live demo: https://babylonjs-multiplayer.herokuapp.com/ It's basically a simple BabylonJS example from the website, connecting to a Room on Colyseus. If you open the developer tools you'll see a new log appearing for each user visiting the page. Feel free to ask if you have any question and good luck with your games
×
×
  • Create New...