eddieone

Members
  • Content Count

    108
  • Joined

  • Last visited

Everything posted by eddieone

  1. Sorry, I'm late by 6 years. If you have any issues with games, we will work with you to resolve it. I check the Y8 forum often, it's a good place to reach the Y8 team. If it is a simple request like modification to a game listing, the support team can also handle it from the help page.
  2. Yo guys, I put together some interesting code to get people started super fast at making multiplayer io games. All with open source, so posted it on the Y8 github. https://github.com/Y8Games/Y8-Instant-io-Game Check out Y8 Games also.
  3. We need to make the examples google-able 🤖
  4. sendToBack instead of SendToBack ✌️
  5. Yeah, here the trick. Update to Phaser 3.16.2+ probably in package.json or the index.html Update the Phaser config. config = { parent: 'phaser', type: Phaser.AUTO, autoCenter: 1, scaleMode: 3 }; game = new Phaser.Game(config); Restart server if you need to (remove any scaling plugins). and then magic scaling thanks to Rich.
  6. I think the scaleManager is not ready yet 😅
  7. Hi, What's the best way to handle different button states in Phaser 3? I have an image and want to show a different image on mouse hover.
  8. Here's the scenario, 1 to 5 animals attack the boss, then the boss attacks each animal. This is the code using async/wait await this.attackBoss(this.seat1); if (this.seats.length >= 2) { await this.attackBoss(this.seat2); } if (this.seats.length >= 3) { await this.attackBoss(this.seat3); } if (this.seats.length >= 4) { await this.attackBoss(this.seat4); } if (this.seats.length >= 5) { await this.attackBoss(this.seat5); } await this.bossAttack(this.seat1); if (this.seats.length >= 2) { await this.bossAttack(this.seat2); } if (this.seats.length >= 3) { await this.bossAttack(this.seat3); } if (this.seats.length >= 4) { await this.bossAttack(this.seat4); } if (this.seats.length >= 5) { await this.bossAttack(this.seat5); } The above code takes a few seconds for all the animations to complete. Using promises to end the await part once the animations finish. attackBoss(seat) { return new Promise(resolve => { this.tweens.add({ targets: seat, x: this.bossSeat.x, ease: 'Sine', duration: 500, yoyo: true, onYoyo: () => { this.bouncBoss(); }, onComplete: () => { resolve('resolved'); } }); }); } I might make a goldilocks es6 boilerplate for phaser 3. Mostly just adding async to generator babel plugin to already existing boilerplates. babel-plugin-transform-async-to-generator
  9. What does performance look like with screenshots off??
  10. If you use es6, you can use for of. Or for loop with es5 searchContainer(container, name) { for (var child of container.list) { if (child.name == name) { return child; } } }
  11. Ah, I'm too early. have to wait for phaser 3.16 probably 😛
  12. Hi, I'm looking around for how to handle full page scaling in phaser 3, anyone know of a tutorial or code example? I know with css, the canvas can go 100% However, I haven't found a way to scale in-game objects and have them centered. Thanks
  13. Thanks. 😯, looking forward to using the engine
  14. There are a lot of cool new features. I was reading the dev logs and it sounds like there were some optimizations. I wonder, how does the overall performance compare to phaser 2.3.0? Maybe there is a performance demo?
  15. Would you be willing to make a standalone version for Y8? I mean without the node requirement.
  16. Iframe uploads are working on Chrome again. 😅 Again, thanks leonylyner
  17. Thanks for reporting, will check on this for you. Hey, don't hijack my thread.
  18. eddieone

    HTMLCOIN

    I never expected to see an alt coin announcement on this forum. I wouldn't put much trust in it, seems like a scam.
  19. For 10 years Y8 has been a big player in Flash games. Now that Flash is dying, we are looking to host more games using open standards. Everyone is welcome to submit games on the Y8 upload page. We are working on an adsense revenue split for game developers. So if you want to earn money, you will need to be at least 18 and it helps to have an Adsense account already. Though, in many cases we can help there too. So if you want to share your games, do these things: Upload here http://static.y8.com/upload If you want rev split email us here idnet@webgroup-limited.com Let us know if you have adsenses or not, list of games helps too.
  20. @mattstyles Thanks for viewing the code. Please create a pull request. I took this from a project I worked on and decided to share it for free. At the vary least, you could create an issue for each problem and hope someone will be able to do it. This is the open source way. Posting on a forum that doesn't have good notifications is not a good process for open source.
  21. Thanks you saved my bacon. I had done this before, but I was like WTF not working now.