• Content Count

  • Joined

  • Last visited

About Langerz82

  • Rank
    Advanced Member

Recent Profile Visitors

861 profile views
  1. Langerz82

    Is there a benefit of running multiple canvas

    Yes there are especially if your background is scrollable and you have a limited amount of sprites and you box delete them rather than clearing the whole canvas. Checkout the source of you will see I have about 6 used canvases. (the atmosphere ones are not used). edit: Also exclude the unscaled canvases they were an over-optimization gone wrong.
  2. Langerz82

    What do you use for network protocol?

    Dont expect to run FPS's with websockets, but otherwise it handles fine for real-time click movement. My engine has sometimes heavy packet loads entering a new map for instance so what I do is pack the messages send them at an interval, and use the client to break up the messages and process a limited amount at a time with a very short delay. It also can compress the very large packets but I think its a bit overkill.
  3. Theres Tynker, its a good introduction to programming and logical structures. But I would recommend you go into the Phaser sandbox and slightly modify the examples to make a simple game that's playable. Once you are confident then you can make pretty powerful games with decent physics.
  4. Hello, I have decided I would like to sell the source code of the Node based Client/Server Engine of Retro RPG Online Trying to gather how much people would be interested in leasing the source for an annual fee. Upon Subscription users can use the source to make there own Online RPG. The Subscribers would also get a say in what gets developed in newer versions. The base code is from Browserquest ( - MPL 2.0) and more code was added to it by Asky ( - MPL 2.0), finally most modifications were done by me. Play it and see for yourself if it is an Engine you would like to have. Any constructive feedback is welcome, thanks. Kind regards, Langerz
  5. Bump. A reminder that the Competition starts in 2 days. It has been changed to the first person to lvl 70 from 1st August UTC at which point we will taking the server offline and performing a complete wipe so Users can have an equal chance at winning.
  6. Langerz82

    Need help with rotation

    function clickCupcake(){ cupcake.angle += -10;} sorry - forgot the "+=" See:
  7. Langerz82

    Latency issues with Node JS game and VPS

    The call to updateSessions is 0 so it's trying to run as fast as it possibly can. Try around 50ms or so. Also just a note about the client, I had allot of packets getting received by the client and I solved it by not sending move packets that are not necessary for example out of the screen. I also implemented on the client a packet pump which basically is an array that pushes packets into it, then setting an interval of how long it approximately takes to process a few packets (24ms or so) by staggering the packet processing the FPS was much higher as it is given an opportunity to render the frame in-between. Hope this helps. btw I'm the sole programmer of MaEarth. =D I'm not sure why you call this so often since it's only timing out session after a day. A better option may be setting a time stamp then comparing it with (1000 * 60 * 24) + I say may because I'm not making any assumptions as to what the purpose of elapsing the time is. An elegant alternative is here:
  8. Langerz82

    My First Game

    Think I got to about Level 4-5. Is there moving platforms in it? And perhaps moving monsters. Both would add some variety to the game. Otherwise good stuff for a first game.
  9. We have just had a major update. THE LAG - FIXED For one we think we have fixed the lag finally. It was due to all monsters walking around, we adjusted it so only elites and bosses walk around the rest have random spawns within there designated area. PVP - FIXED Now you can enter the PvP Area via the main house to the right of the starting spawn. In the map you will be able to attack players that spawn from the other side and there house. The house upon destruction will give +20% xp for half an hour and will re-spawn every half hour. PETS Allot of people have been asking how do I tame the Monsters. There is an automatic chance a monster will become your pet upon its death. This also takes into account the player level so you cant tame high level Monsters. In future this may change to increase the chances of taming a high level Monster. ARMOR AND WEAPONS Both the Armors and Weapons Level increments have been adjusted to multiples of 4 instead of 2. This was adjusted primarily because we had a shortage of sprites for the archer and because Elites (+) and Bosses (king) drop from +1 to +8 gear. You can always use the Enchant NPC to improve your gear beyond that if you like the look of the gear. REMINDER We will be doing a complete wipe of the User data on August 1st UTC Midnight, and the competition to reach Level 80 first will take effect. The current XP Levels will not be adjusted and will remain the same. 1st Prize $100usd, 2nd and 3rd $50usd each. So what are you waiting for? get practicing. Maearth supports chrome, firefox and Edge at You can also download it on Android Tabs and Phones at the Google Play Store. Maearth - Google Play Store. It's also available on Kongregate.
  10. GAME COMPETITION On 1st August at exactly midnight UTC we will be doing a complete wipe of all users for a new update. The for the Users who reach to level 80 first we will be awarding them a cash prize via PayPal. Entrance is absolutely free. 1st. $100 USD 2nd and 3rd: $50 USD You may play on a shared account however we will not be held responsible if items go missing etc. Cheating in-game will not be tolerated for this competition and fair play rules will be in-place. You may ask why we are running this competition. Well there is a couple reasons, for one we want to stress test the server under a higher load than just a few players. We also want people who have never played the game to get a feel for it and hopefully become long-term players. If your not familiar with the game start playing now to get a feel for the mechanics, however the update may change a few things at our discretion. Happy gaming everyone!!
  11. @TheBoneJarmer Hello again, We have released a new version that has Firefox compatibility: Play MaEarth . No guarantee in future compatibility might break if it does we will eventually get round to keeping up with Firefox.
  12. @TheBoneJarmer Hello, you are right that we should support a major browser like Firefox, however our focus has been getting the code stable before compatibility. We are in the position to get it working with Firefox so we will put it in priority.
  13. We have released a few updates since last post. Mainly the latency issues have been addressed and its a much more stable version. Give it a go it's currently free and in Beta. @Jammy: The graphics are from the original BrowserQuest (BQ) and Airasky's version. The graphics are only meant to be temporary until we can source some funds to re-do all the assets. We are in desperate need of talented pixel artists so we can expand on this game.
  14. Hello, Try using the latest Chrome Browser. Firefox is not currently supported if that is what you used.